Edward-Wu / srt-live-server

srt live server for low latency
Other
644 stars 192 forks source link

OBS stream and recieve problem #82

Open emreanilterzioglu opened 3 years ago

emreanilterzioglu commented 3 years ago

Hi, I just tried the docker version of this project but it didnt work. What did i do: 1- sudo docker run -d -p 1935:1935/udp ravenium/srt-live-server 2- On obs under stream>custom used this address with empty key srt://127.0.0.1:1935?streamid=input/live/test 3- I tried to watch on OBS again with this address with leaving media format empty srt://127.0.0.1:1935?streamid=output/live/test On obs i tried also using mpegts on media format.

Could you please help me?

Edward-Wu commented 3 years ago

first, please check whether the stream is published normally with slc or ffplay tools. if the stream is published ok, then check the obs 's setting parameter.

Vanson-kid commented 3 months ago

Hi, I just tried the docker version of this project but it didnt work. What did i do: 1- sudo docker run -d -p 1935:1935/udp ravenium/srt-live-server 2- On obs under stream>custom used this address with empty key srt://127.0.0.1:1935?streamid=input/live/test 3- I tried to watch on OBS again with this address with leaving media format empty srt://127.0.0.1:1935?streamid=output/live/test On obs i tried also using mpegts on media format.

Could you please help me?

Docker does not support the SRT protocol, so it is necessary to use the '--network=host' mode to start the container and share it with the host's network, so that the container can communicate with the host using the SRT protocol.