1

別のサーバーがビデオ http パケットを送信し、クライアントにストリーミングするだけでよいという事実を考慮して、Rails アプリケーションにビデオ ストリーミング機能を追加するにはどうすればよいですか? ガイダンスはありますか?チュートリアルは役に立ちますか?

4

1 に答える 1

1

well, I believe html5 tag should do the trick. since you do not need to convert anything and there's a server that can serve your video streaming you could simply use something like:

<video width="100" height="50" controls="controls" autobuffer="autobuffer">
    <source src="http://streaming-server.com/videos/video.ogg" type="video/ogg" />
    <source src="http://streaming-server.com/videos/video.mp4" type="video/mp4" />
</video>

there're both ogg and mp4 versions to support both chrome/safari and firefox.

于 2012-10-23T13:16:59.860 に答える