Update WSRequestHandler_Streaming.cpp

This commit is contained in:
tt2468
2020-02-15 08:50:09 -08:00
committed by GitHub
parent b3b2ae267a
commit 30db1a8a63

View File

@ -137,13 +137,13 @@ RpcResponse WSRequestHandler::StartStreaming(const RpcRequest& request) {
obs_data_apply(updatedSettings, newSettings); //then apply the settings from the request should they exist
newService = obs_service_create(
newType.toUtf8(), STREAM_SERVICE_ID,
STREAM_SERVICE_ID, newType.toUtf8(),
updatedSettings, csHotkeys);
}
else {
// Service type changed: override service settings
newService = obs_service_create(
newType.toUtf8(), STREAM_SERVICE_ID,
STREAM_SERVICE_ID, newType.toUtf8(),
newSettings, csHotkeys);
}