Update WSRequestHandler_Streaming.cpp

This commit is contained in:
tt2468
2020-02-15 07:39:01 -08:00
committed by GitHub
parent 88176f4d2b
commit b3b2ae267a

View File

@ -212,7 +212,7 @@ RpcResponse WSRequestHandler::SetStreamSettings(const RpcRequest& request) {
if (requestedType != nullptr && requestedType != serviceType) { if (requestedType != nullptr && requestedType != serviceType) {
OBSDataAutoRelease hotkeys = obs_hotkeys_save_service(service); OBSDataAutoRelease hotkeys = obs_hotkeys_save_service(service);
service = obs_service_create( service = obs_service_create(
requestedType.toUtf8(), STREAM_SERVICE_ID, requestSettings, hotkeys); STREAM_SERVICE_ID, requestedType.toUtf8(), requestSettings, hotkeys);
} else { } else {
// If type isn't changing, we should overlay the settings we got // If type isn't changing, we should overlay the settings we got
// to the existing settings. By doing so, you can send a request that // to the existing settings. By doing so, you can send a request that