Added a critical error
This commit is contained in:
parent
4e8f7c7669
commit
93db485d78
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user