Using 32 bit return codes and not 8bit

This commit is contained in:
WolverinDEV 2020-12-12 21:33:55 +01:00
parent 93db485d78
commit f240402113

View File

@ -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;
}
}