Files
mediamtx/internal
suMinandGitHub 8fcbd0a796 webrtc: skip unresolvable webrtcAdditionalHosts entries instead of aborting (#5845)
Since #4866, hostnames in webrtcAdditionalHosts are resolved server-side via
net.LookupIP, and a resolution failure aborts the entire WHEP/WHIP session.
A single entry that can't be resolved on the server (e.g. air-gapped networks
without DNS, or a name that only resolves on the client) therefore takes down
all WebRTC playback, even when the other entries are valid.

Log a warning and skip the unresolvable entry instead of returning an error,
so the remaining valid candidates are still offered.

Signed-off-by: suMin <sumin77123@gmail.com>
2026-06-22 21:14:04 +02:00
..
2026-03-17 17:22:15 +01:00
2026-03-17 17:22:15 +01:00
2026-04-26 16:33:14 +02:00
2026-06-15 19:02:39 +02:00