4 hour browse watch, cert performance and multi app test - youtube

Recently observing that 4 hour browse to watch, multi app performance and cert performance tests are only navigating and not playing any content. This was working on same code till last week. We tried few things and find out that if brand name is not passed then most of the time test behaves as expected. Has anything changed on YouTube backend?

For the questions about YouTube, please reach out to your Technical Account Manager at YouTube.

Related

Website page load time issues in iOS - Safari browsers

We have a website in Wordpress, using a home-made theme. Some weeks ago, we noticed some page load time issues of our website, reported in Google Analytics. If we check the website using speed tests as Pingdom, Webpagetest and GTMetrix, we don’t see any performance issues. We checked the Analytics data, the main issues (average load time) are in iOS – Safari browsers (iPhone, iPad, in-app). If we check the specific data we find that, for example, one page could have 30 seconds page load time, but is not always and it happens for a single user using Safari 9 browser in Apple mobile device.
One more thing, we tested using those devices, but nothing weird happened.
Any idea what could be happening.
It's not just about the mobile device but the carrier also.
Apparently your carrier is better than the other(s).
The second biggest issue with mobile carriers is the number of simultaneous requests allowed. A desktop will download about 6 page resources simultaneously. Mobile, one, maybe two.
The biggest issue is the tower will often drop the radio signal between the phone and the tower between request.
so with mobile it is very important to minimize the number of requests per page.

How Android YouTube App Is playing videos in Pakistan?

YouTube is blocked in Pakistan almost 2 years ago, but it still displaying videos... But YouTube is not accessible through any Brower without any proxy or vpn software...
please tell me how Android youtube app works, ???
I guess it depends on how the block is made.
If, say, they just restricted the access to "http://www.youtube.com", then the app may dedicated endpoints which go around their filtering.
Or again, if the block is made at IP level, the servers that hosts the APIs will have a totally different set of IPs than the website ones.
I'm just assuming, so don't take any of this for a fact.

want to build an iOS app that can send text messages to groups

I'm learning Swift and newbie all together. I want to build an app I need. I play a lot of tennis and have a network of men and women of around 50 or so at various skill levels. I want to create an app that lets my network know I'm looking for a specific player, skill, day, time and I also want to see who is free or not. At the moment everything is done through texts, either sending a blast or text to each individual player. Players range from 18-60+ so not everyone uses facebook, etc, but I think having a tennis specific app could work.
Can I build an app that, when signed up, you'll be able to see who is available, and also send out alerts to the app OR as a text, when someone is looking for a player(s), or someone has made themselves available at a certain day or time slot. Also, if a text is received for those that do not have the app installed, the text response will notify the app and update their status.
Probably the quickest/easiest way to get started with this is using Parse (parse.com) with push notifications. However, you should consider a simpler project for starting out, because this would still be a very complicated project.

How to detect data being per app basis on iOS

I recently came across an app in the app store called Dataman Pro. It has a feature that lets you see the data usage per app basis (see the attached screenshot). I have been wondering what is it doing to get this sort of information.
See this post about getting the list of installed apps, and this git project.
Then about usage tracking:
If you wondered about any public APIs that give you network statistics out of the box - there's nothing there.
DataMan it self is an app that used to work in the background all the time, and bind to the network interfaces to track network usage. Which is one of the reasons that its data is never 100% accurate as it is not guaranteed to always work in the background. This is also the reason Apple kicked it from the AppStore after a few versions...
Now that app has returned, if I understand correctly, after making a few changes: Mainly avoiding "hacks" to stay in background, and using Location Services to get back online when the user moves around. I guess this is another hack but one that Apple did not oppose to, yet.
Edit:
After looking around the web for a bit, it seems that Apple found that trick also, and removed many apps from the AppStore due to staying in the background by using location. I guess right now it's not working more than 10 minutes in the background, so you open it when you want to measure current Activity, and it stops measuring after 10 minutes.
About the tracking code itself, its mainly C code, using CFNetwork framework, and you can find some answers on stackoverflow on this subject.
More, in response to comment:
Well, the part about seeing the installed apps list, and foreground app, is not exactly private APIs, but private plist, as you mentioned.
Apps which access private files do get through from time to time. When Apple finds that some "private" files are accessed and need to be kept safer - they change it in an iOS update, like they did with the call history file, which is sensitive. Old apps tended to use (around iOS <= 3.3) the call history db to do some stats, and on iOS4 they were obsolete by the file moving to a secure location.
Reading "private" files which are unprotected is pretty easy to do without getting caught by automatic analyzers.
When you know which is the foreground app, and you can count current network usage, you can associate it with the app... And get an estimation. So this is how they do it, most likely.
However, The techniques change from time to time, due to Apple re-reviewing apps and their own policies, and due to API changes, and if you track the history of such apps and even this specific app - you will see that from time to time they get kicked off of the AppStore and return with a twist. They adjust... So no technique is reliable and this is a major headache to maintain, which is probably why the developer charges 9.99$ for it. I would.

Caching streamed movie on iPhone

In a few days I'm supposed to start working on a new app and one of the requirements seems a bit odd to me. User will be able to watch streamed videos that my client also has on his site. Problem is, app has to save it and later, when user is offline, he should have the option to watch it again. Any ideas how am I supposed to save that (streamed) movie to memory?
Edit: The movie can even be 1 hour long.

Resources