Files
mediamtx/internal/protocols
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-01-31 14:44:58 +01:00
2026-04-04 14:46:43 +02:00
2026-02-22 13:34:05 +01:00