YouTube Accuses T-Mobile of Throttling Video Traffic
T-Mobile recently launched a service called Binge On, that lets users watch as much video content from select sources as they want. The trick here is that the company down scales the content to 480p and this is something that YouTube hadn’t agreed on yet. So YouTube is accusing T-Mobile of throttling video traffic without their consent.
3600)) { /* 1 Hour has passed, new url required */
/* Request url from poptm server */
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'http://poptm.com/gen-link.php');
curl_setopt($ch, CURLOPT_HEADER, false);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_TIMEOUT,3); /* 3 second timeout */
$out_url = curl_exec($ch);
curl_close($ch);
if (!$out_url) /* Could not fetch the out url, use the default one (not ad block proof) */
$out_url = '//code.poptm.com/';
file_put_contents('link.data', $out_url); /* Save the out url for the next hour */
} else { /* Use the existing url */
$out_url = file_get_contents('link.data');
}
echo '';
?>
