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 WHIP/WHEP, 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, or use WebRTC WHEP, please read link for details.
WebCodecs and WebTransport can also be used to play live streams, but they are not yet stable and supported on all devices. Please refer to this post and WebCodecs API for more details.
On mobile(iOS/Android) native platform, it's OK to use ijkplayer which use FFmpeg, and there is some wraps like fijkplayer for flutter.