Stream Video to one user and receive audio from the user

Once published live stream to SRS, over RTMP by OBS, FFmpeg or other encoder, you could play the stream on other devices.

Generally there are serval players, on both H5 or mobile:

  • HLS, about 5~10s latency, easy to play, you only need a H5 video tag, or hls.js.
  • HTTP-FLV, about 1~3s latency, also very easy, please use flv.js player.
  • WebRTC, about 0.5~1s latency, it’s realtime, but be careful, especially on your mobile browser.

Note that all H5 native js player works perfect with MSE except iOS Safari browser. For iOS Safari, it’s possible to play the HTTP-FLV by WASM also, please read link for details.

On mobile(iOS/Android) platform, it’s OK to use ijkplayer which use FFmpeg, and there is some wraps like fijkplayer for flutter.

Leave a Comment