ライブ ストリーミング サーバーがデータを送信しているかどうかを検出する方法はありますか。これらのプロトコルを使用してさまざまなソースからのビデオを含む Web ページがあります。
一部の動画はustreamからのものです。
<embed flashvars="autoplay=false&brand=embed&cid=7975&v3=1" width="100%" height="377" allowfullscreen="true" allowscriptaccess="always" id="utv344723" name="utv_n_193353" src="http://www.ustream.tv/flash/viewer.swf" type="application/x-shockwave-flash" />
その他は、jwplayer にロードするフラッシュ ビデオ ストリームです。
<embed
type='application/x-shockwave-flash'
id='single2'
name='single2' flashvars='file=USen_vbr_450@50104&streamer=rtmp://cp132684.live.edgefcs.net/live/&autostart=true&plugins=false'
/>
その他は、独自のプレーヤーをロードする必要があるフラッシュ ビデオ ストリームです。
<embed
type='application/x-shockwave-flash'
id='single2'
name='single2'
src='http://videosite.org/video/jwplayer/player.swf' flashvars='file=sltviphone.sdp&streamer=rtmpt://saltandlighttv.streamguys.net:80/live&skin=http://saltandlighttv.org/video/jwplayer/skins/modieus/modieus.swf&autostart=true'
/>
ストリーミング プロトコルが異なるものもあります。
<embed id="MediaPlayer2" src="mms://www.streaming.com/video_a" width="100%" height="377" autostart="true" align="top" border="0" filename="mms://www.streaming.com/video" animationatstart="true" transparentatstart="true" showcontrols="1"></embed>
プレーヤーを開かずにビデオがストリーミングされているかどうかを検出する方法はありますか? 私はjavascriptでこれを行います。