diff --git a/server/src/rtc/lib.cpp b/server/src/rtc/lib.cpp index e54d646..48f5895 100644 --- a/server/src/rtc/lib.cpp +++ b/server/src/rtc/lib.cpp @@ -397,7 +397,9 @@ VideoBroadcastJoinResult Server::join_video_broadcast(RTCClientId client_id, RTC case 0x01: return VideoBroadcastJoinResult::InvalidBroadcastType; case 0x02: return VideoBroadcastJoinResult::InvalidClient; case 0x03: return VideoBroadcastJoinResult::InvalidBroadcast; - default: return VideoBroadcastJoinResult::UnknownError; + default: + logCritical(LOG_GENERAL, "Video broadcast join returned unknown error code: {}", result); + return VideoBroadcastJoinResult::UnknownError; } }