1. First go to the official website to download OBS Open Broadcaster Software | OBS
2. The next step is to download the ossrs/srs URL from GitHub: GitHub - ossrs/srs: SRS is a simple, high efficiency and realtime video server, supports RTMP, WebRTC, HLS, HTTP-FLV and SRT.
If the access is too slow, please change to the gitee address to download https://gitee.com/ossrs/srs?_from=gitee_search
Special reminder: Please download version 3.0 or above, 4.0 is still in the stage and unstable!
3. Check the document location
4. You can download the zip compressed package, or you can directly download it with git
Zip archive
Git download
5. I downloaded the zip compressed package, and sent the package to the server for decompression.
Note that you need to switch to srs/trunk
the directory to execute:
cd srs/trunk
./configure && make
Pay special attention to open two ports of the server after the installation is complete: 8080 and 1935
Start the server:
./objs/srs -c conf/srs.conf
To check whether SRS is successfully started, you can open http://localhost:8080/ , or execute the command:
#Check the status of SRS
./etc/init.d/srs status
# Or look at the log of SRS
tail -f ./objs/srs.log
6. Set up OBS
The green speed appears in the lower right corner of the figure, which means the streaming is successful
7. Obtain the push stream from the server and play it
The star mark player I used for testing and obtaining the push stream is the download link: Stellar player-visual enjoyment as you like