1

Linux Mint14でJW Playerとffmpegを使用して、Red5 1.0.0 RC1を実行しています

ストリーミング中は、すべてがmachine/localhost.

次の手順を実行します。

  1. FFmpeg:ffmpeg -i 'http://localhost:port' rtmp://localhost/oflaDemo/live.flv

  2. Red5:TCPnoDelay真に設定されています。

  3. JW Player: Bufferlength が 0 に設定されています。2 と 3 も試しました。

:

    <script type='text/javascript'>
     jwplayer('mediaspace').setup({
    'flashplayer': 'player.swf',
    'file': 'live',
    'type': 'rtmp',
    'streamer': 'rtmp://localhost/oflaDemo',
    'controlbar': 'none',
    'autostart': 'true',
    'bufferlength': '3',
    'width': '640',
    'height': '380'
  });
</script>

遅延は 7 ~ 10 秒です。これはすべて localhost で発生しているため、帯域幅が問題になることはありません。

4

0 に答える 0