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
12.53k stars 1.55k forks source link

Webrtc stopped working (clients receiving my public ips instead of local ip) #2418

Closed alpe12 closed 1 year ago

alpe12 commented 1 year ago

Which version are you using?

v1.1.1

Which operating system are you using?

Describe the issue

@aler9 Maybe my issue is related to this: https://github.com/bluenviron/mediamtx/pull/2064 but how? My old issue: https://github.com/bluenviron/mediamtx/issues/1817

I have this:

webrtc: yes
webrtcAddress: :8889
webrtcEncryption: no
webrtcAllowOrigin: '192.168.1.250'
webrtcTrustedProxies: [172.17.0.0/12]
webrtcICEServers: []
webrtcICEHostNAT1To1IPs: [192.168.1.250]
webrtcICEUDPMuxAddress: :8890
webrtcICETCPMuxAddress: :8890

And ever since I updated (can't remember what version I was using before) my webrtc doesn't work. Looking at the browser whep request it is receiving my ipv4 and v6 public ips, and not my local ip (192.168.1.250).

I tried: webrtcICEServers2:

And:

webrtcICEServers2:
- url:

Neither solved it.

Describe how to replicate the issue

Settings above.

Did you attach the server logs?

no

Did you attach a network dump?

no

alpe12 commented 1 year ago

Started working. Maybe it was other issue at the moment, sorry.

github-actions[bot] commented 8 months ago

This issue is being locked automatically because it has been closed for more than 6 months. Please open a new issue in case you encounter a similar problem.