bluenviron / mediamtx

Ready-to-use SRT / WebRTC / RTSP / RTMP / LL-HLS media server and media proxy that allows to read, publish, proxy, record and playback video and audio streams.
MIT License
10.38k stars 1.36k forks source link

webrtc #3166

Open lonely-z opened 2 months ago

lonely-z commented 2 months ago

Which version are you using?

v1.4.2

Which operating system are you using?

Describe the issue

Description

Describe how to replicate the issue

Armv7 version usage environment: rv1126 pushes RTSP streams to mediamtx, allowing mediamtx to forward webrtc. After power is supplied, the webrtc stream keeps disconnecting and reconnecting,which lasts for several seconds, and then disconnects for about 30 seconds

  1. start the server
  2. publish with RTSP
  3. read with WEBRTC

Did you attach the server logs?

no

Did you attach a network dump?

no

einaraglen commented 1 month ago

Hi, having the same behavior on my part, publishing a test stream with RTSP, i can read it from the server with RTSP using VLC, but i if i open brower to view stream via WebRTC it keeps dropping and retrying, and all the server is spitting out is

2024/04/25 11:40:11 DEB [WebRTC] [conn MY-IP] [s->c] HTTP/1.1 204 No Content

i am streaming to /mystream, can view on this path via RTSP but not on the same with WebRTC