Update WSRequestHandler_Streaming.cpp

This commit is contained in:
tt2468 2020-02-15 11:00:24 -08:00 committed by GitHub
parent 9c11bbc7a1
commit 79a7b444a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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