mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-10-17 20:22:48 +03:00
keep the probe failure detail in the not-configured console message
This commit is contained in:
@@ -85,7 +85,9 @@ function describeGlobalReason(
|
||||
case "browser":
|
||||
return "This browser does not expose RTCPeerConnection.";
|
||||
case "not-configured":
|
||||
return "No candidates or ice_servers are set under go2rtc.webrtc.";
|
||||
return probeDetail
|
||||
? `No candidates or ice_servers are set under go2rtc.webrtc, and the probe with go2rtc's defaults failed against ${probeDetail}.`
|
||||
: "No candidates or ice_servers are set under go2rtc.webrtc.";
|
||||
case "unreachable":
|
||||
return `The connectivity probe failed against ${probeDetail ?? "an unknown stream"}.`;
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user