ossrs / srs

SRS is a simple, high-efficiency, real-time video server supporting RTMP, WebRTC, HLS, HTTP-FLV, SRT, MPEG-DASH, and GB28181.
https://ossrs.io
MIT License
24.72k stars 5.28k forks source link

How to live stream from your phone and publish it via WebRTC. #4018

Closed chienvuvan99 closed 2 months ago

chienvuvan99 commented 2 months ago

I am using React Native. I have successfully set up SRS, and I have also tried streaming using OBS or FFMPEG. However, what I want to do is to live stream using a mobile phone and connect to SRS. I have used react-native-webrtc, but I do not know how to connect to the SRS server and publish the video. I hope you can help me.