Using 32 bit return codes and not 8bit
This commit is contained in:
parent
93db485d78
commit
f240402113
@ -386,7 +386,9 @@ BroadcastStartResult Server::start_broadcast(uint32_t client_id, uint8_t btype,
|
||||
case 0x02: return BroadcastStartResult::ClientHasNoChannel;
|
||||
case 0x03: return BroadcastStartResult::InvalidBroadcastType;
|
||||
case 0x04: return BroadcastStartResult::InvalidStreamId;
|
||||
default: return BroadcastStartResult::UnknownError;
|
||||
default:
|
||||
logCritical(LOG_GENERAL, "Video broadcast start returned unknown error code: {}", result);
|
||||
return BroadcastStartResult::UnknownError;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user