How to install SRS on Windows 10
SRS (Simple Real-Time Streaming Protocol Server) is an open-source live streaming server developed by ossrs.net. It supports various streaming protocols such as HLS, RTMP, RTSP, and SRT. In this tutorial, we will go through the steps of installing SRS on Windows 10.
Prerequisites
- Windows 10 operating system
- Downloaded SRS package from https://github.com/ossrs/srs/releases
Step 1: Extract the SRS package
- Open the downloaded SRS package.
- Extract the contents of the package to a folder of your choice.
Step 2: Configure SRS
- Navigate to the folder where SRS was extracted.
- Open the folder named
conf. - Edit the
srs.conffile using a text editor of your choice. - Find the line that starts with
listenand change the port number to your desired port number. By default, the port number is set to1935. - Save and close the file.
Step 3: Start the SRS server
- Open the Command Prompt as an administrator.
- Navigate to the SRS folder using the
cdcommand. - Enter the following command to start the SRS server:
srs -c conf/srs.conf
- Press Enter to start the server.
Step 4: Verify the server is running
- Open your web browser and navigate to
http://localhost:8080/api/v1/versions. - If the server is installed and running correctly, you should see a page with version information.
Congratulations! You have successfully installed SRS on Windows 10. You can now start using SRS to stream video content using various streaming protocols.