Henrik Nordstrom escreveu:
Seems to work fine for me..
See a POST and a GET request for
http://wmscnnlive.stream.aol.com/live/cnn/cnn_radio logged when stopping
the stream, with the GET running for the duration of the playback.
nothing here... windows media (javascript box on IE) shows:
conecting... open... conecting... open... and finally stoped.
my cache.log:
1184334345.775 683 172.22.10.92 TCP_MISS/200 6066 GET
http://wmscnnlive.stream.aol.com/live/cnn/cnn_radio - DIRECT/64.12.61.28
application/vnd.ms.wms-hdr.asfv1
1184334347.092 1085 172.22.10.92 TCP_MISS/200 6067 GET
http://wmscnnlive.stream.aol.com/live/cnn/cnn_radio -
DIRECT/149.174.128.28 application/vnd.ms.wms-hdr.asfv1
1184334348.242 930 172.22.10.92 TCP_MISS/200 6067 GET
http://wmscnnlive.stream.aol.com/live/cnn/cnn_radio -
DIRECT/149.174.129.28 application/vnd.ms.wms-hdr.asfv1
1184334349.411 1080 172.22.10.92 TCP_MISS/200 6067 GET
http://wmscnnlive.stream.aol.com/live/cnn/cnn_radio -
DIRECT/149.174.132.28 application/vnd.ms.wms-hdr.asfv1
1184334350.096 610 172.22.10.92 TCP_MISS/200 6066 GET
http://wmscnnlive.stream.aol.com/live/cnn/cnn_radio -
DIRECT/205.188.234.28 application/vnd.ms.wms-hdr.asfv1
1184334350.961 783 172.22.10.92 TCP_MISS/200 6067 GET
http://wmscnnlive.stream.aol.com/live/cnn/cnn_radio -
DIRECT/207.200.96.92 application/vnd.ms.wms-hdr.asfv1
1184334352.026 797 172.22.10.92 TCP_MISS/200 3729 GET
http://wmscnnlive.stream.aol.com/live/cnn/cnn_radio - DIRECT/64.12.61.28
application/vnd.ms.wms-hdr.asfv1
Even with "no_cache" for all media sites, media types (mime types) and
media extensions, no success:
acl reqmedia req_mime_type -i "/etc/squid/media_types"
acl repmedia rep_mime_type -i "/etc/squid/media_types"
acl media_ext url_regex -i "/etc/squid/media_extensions"
acl no_cache_sites url_regex -i "/etc/squid/no_cache_sites"
no_cache deny reqmedia
no_cache deny repmedia
no_cache deny media_ext
no_cache deny no_cache_sites
# media_types contents:
^application/vnd.ms.wms-hdr.asfv1$
^application/vnd.ms.wms-hdr.asfv1
^video/x-ms-wmv
^application/x-mplayer2$
^application/x-mplayer2
^video/x-ms-asf$
^video/x-ms-asf
^video/mpeg$
^video/mpeg
^video/x-ms-wmv$
^video/x-ms-wmv
^video/x-ms-wvx$
^video/x-ms-wvx
^video/x-msvideo$
^video/x-msvideo
^audio/x-mpegurl$
^audio/x-mpegurl
^audio/x-ms-wma$
^audio/x-ms-wma
^audio/x-pn-realaudio-plugin$
^audio/x-pn-realaudio-plugin
^audio/x-realaudio$
^audio/x-realaudio
^audio/x-wav$
^audio/x-wav
etc...
media_extensions contents:
\.asf$
\.asf
\.mp2$
\.mp2v$
\.ram$
\.rm$
\.wav$
\.wma$
\.wmv$
\.avi$
\.mpe$
\.mpeg$
\.mpg$
etc...
no_cache_sites contents:
ccn.com
globo.com
cbn.com
audio
radio
stream
cnnlive
etc...