deepch / RTSPtoWebRTC

RTSP to WebRTC use Pion WebRTC
MIT License
1.51k stars 410 forks source link

Cannot play RTSP stream from mediamtx #227

Open minhhoai1001 opened 6 months ago

minhhoai1001 commented 6 months ago

Cannot play RTSP stream from mediamtx.

How to fix it.

osmanemek commented 4 months ago

Codec problems are usually caused by a problem accessing the RTSP source. Therefore, I recommend that you make sure that your application has access to the RTSP address and that you are typing the correct RTSP address.

Another reason could be the firewall/nat structure. Stun servers do not work for this type of structure. Therefore use a turn server.