Added a critical error

This commit is contained in:
WolverinDEV 2020-12-12 21:32:43 +01:00
parent 4e8f7c7669
commit 93db485d78

View File

@ -397,7 +397,9 @@ VideoBroadcastJoinResult Server::join_video_broadcast(RTCClientId client_id, RTC
case 0x01: return VideoBroadcastJoinResult::InvalidBroadcastType; case 0x01: return VideoBroadcastJoinResult::InvalidBroadcastType;
case 0x02: return VideoBroadcastJoinResult::InvalidClient; case 0x02: return VideoBroadcastJoinResult::InvalidClient;
case 0x03: return VideoBroadcastJoinResult::InvalidBroadcast; case 0x03: return VideoBroadcastJoinResult::InvalidBroadcast;
default: return VideoBroadcastJoinResult::UnknownError; default:
logCritical(LOG_GENERAL, "Video broadcast join returned unknown error code: {}", result);
return VideoBroadcastJoinResult::UnknownError;
} }
} }