Can we stream only flash videos throught RTMP?

青春壹個敷衍的年華 提交于 2019-12-11 03:59:52

问题


I am planning to use Red5 streaming server. The documentation says it uses only RTMP - I am confused if I can stream media in formats other than flash.

Is it possible to stream MP4 / RM / AVI files through RTMP - or rather Red5 ?

Thanks !


回答1:


Please take a look at the red5 google site, from there you can learn, that Red5

  • is able to stream not only over RTMP but also RTMPT, RTMPS, and RTMPE protocols, and
  • can stream not only FLV but also F4V, MP4, 3GP, MP3, F4A, M4A and AAC media formats.

For RM and AVI you must use a converter to create the appropriate streamable formats. The best way in my opinion to do so is using ffmpeg.
If you need to convert media on the fly, you can use ffmpeg from your java classes. It's easy and offers a large list of parameters 'guaranteeing' that you'll get what you need.



来源:https://stackoverflow.com/questions/5846816/can-we-stream-only-flash-videos-throught-rtmp

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!