RE: [squid-users] Streaming Media from ABC.com CBS.com etc...

From: Mike Marchywka <marchywka_at_hotmail.com>
Date: Tue, 29 Dec 2009 06:45:00 -0500

----------------------------------------
> From:
> To: squid-users_at_squid-cache.org
> Date: Mon, 28 Dec 2009 21:47:37 -0600
> Subject: RE: [squid-users] Streaming Media from ABC.com CBS.com etc...
>
> I used the term "Full Episodes" just as a way to explain the links that are on the various network websites.
>
> I'm not an expert obviously, but the issue seems to be something I'm not configuring correctly in squid. If I bypass squid and directly connect to the sites everything works fine. I trimmed down my squid.conf as much as I knew how to eliminate any configuration errors that I could think of. Does anyone who is using Squid as their network proxy have the ability to view any of the videos on any of the major network sites?

Well, we have  some limited media testing on a mobile app but I don't recall
"full episodes" but my point is that that doesn't mean much because the details matter.

>
> I originally thought the problem was related to how the sites require the use of their own individual players to view the videos. They do this to prevent people from using addons to download the videos directly. So I tried to stream some Netflix content since they also use a propriety video player. With netflix I didn't have any issuues. I've tried various versions of squid assuming that the problem was perhaps related to my build. But the issue seems universal.

Not all non-browsers are the same. You really need to look at the links in each case and pretend to be the various
user agents and see if the server is sending you something squid can handle. You may be able to use
netstat while another player is loading or tcpdump or something to see what it is doing. However, from what I have seen,
sometimes the pages contain rtsp links, sometimes http. Probably the shorter ones are http and longer rtsp but
you need at least look at your page source, that should be easy from any browser. It is well worth your time
to get something like cygwin and learn how to use the tools, not just hunt through menu's and icons.
All these people keep changing their sites and even if you get something up today it is unlikely to be stable forever.

>
> I've went through my squid logs (Access.log, cache.log, store.log) and no errors show. In fact with the configuration below, the access.log isn't even used because everything is a direct connection.
>
> Kevin
>
>>
>> Hello everyone,
>>
>> I'm sure this is an oversight on my part, but for the life of me I cannot get "Full Episodes" to play from any of the major network sites. I can stream media from everywhere else (Netflix, YouTube, shoutcast, etc...). In an effort to troubleshoot this I have set up a bare minimum install of Squid 3.0 Stable 18 and configured a bare bones squid.conf.
>>
>> (This is the complete squid.conf used for testing only)
>> http_port 3128
>> cache_effective_user squid
>> cache_effective_group squid
>> acl localhost src 127.0.0.1/255.255.255.255
>> acl localnet src 192.168.0.0/16
>> acl HTTP proto HTTP
>> always_direct allow HTTP
>> acl CONNECT method CONNECT
>> http_access allow localnet
>> coredump_dir /var/spool/squid
>>
>> With this configuration I can get as far as watching the "Commercial Ad" portion of any of the sites, but the actually episodes never play (On any of the network sites). Again, I'm sure this is something simple, but I've been searching for an answer for going on a couple weeks now, and am finally breaking down and asking for help.
>>
>> I'm using a Windows machine to access the Squid Box and I'm using IE. Any help would be appreciated. I'd be more than happy to read through any FAQ/Guide/etc.. that pertains to this issue, but I have had no luck finding anything pertaining to this problem.
>
> Well, it would help to get something like linux or cygwin where you stand a chance of getting useful information.
> I use cygwin's wget for stuff like this. Hit the url that works and the one that doesn't and try to phrase your
> question in terms of something that comes up at ietf- they probably don't know anything about streaming
> media on CBS or ABC. In the past, I've noted that some places react to the user agent and can response with html links
> that point to either 3gp files or an rtsp stream. Find out where your links actually point and see how server responds
> when you try to hit it directly. I gather if you are calling the media a "full episode" you may not have looked at the underlying
> links or response headers from server.
>
>
>
>
>>
>> Thanks,
>>
>> Kevin
>>
>
> _____
                                               
_________________________________________________________________
Hotmail: Trusted email with Microsoft’s powerful SPAM protection.
http://clk.atdmt.com/GBL/go/177141664/direct/01/
Received on Tue Dec 29 2009 - 11:45:09 MST

This archive was generated by hypermail 2.2.0 : Tue Dec 29 2009 - 12:00:02 MST