Stream Video from Mobile

﹥>﹥吖頭↗ 提交于 2019-12-11 09:23:56

问题


I'm looking the best solution for video streaming from Mobile devices.

As far as I understand, The most efficient way is using RTMP \ RTSP \ UDP protocol, or TCP \ websockets.

So far I've found few options:

  • HTTP Live Streaming (IOS) - but it's only for IOS
  • HTML5 LIVE VIDEO STREAMING VIA WEBSOCKETS - which works on node.js, but with no audio!
  • BinaryJS - bidrectional realtime binary data with binary websockets (also websockets on Node.js)
  • WebRTC - for client side

The thing is - I don't really know how to work it out on different kinds of mobile devices, or what protocols are best to used (and the least work to do... :)

Any suggestions \ ideas \ comments ?

Thanks!


回答1:


It's depend upon your platform,Any way my suggestions

Desktop(win/mac/linux)-WebRTC is best,Because its peer to peer communication means browser to browser hd video chat not only video.And also Audio,file,etc main feature is without plugin no need to install any plugin(Note:its support chrome,opera,firefox only)

Android:WebRTC IOS:BinaryJS is good option




回答2:


There is an iOS library I can recommend. It can stream through RTMP from mobile devices and you can use HLS for downlink playback. It's called the ANGL library, and it can be used for streaming live content to a media server like Wowza, which then can broadcast the stream in a multitude of formats.



来源:https://stackoverflow.com/questions/21728560/stream-video-from-mobile

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