Update WSRequestHandler_Streaming.cpp

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

View File

@ -213,6 +213,7 @@ RpcResponse WSRequestHandler::SetStreamSettings(const RpcRequest& request) {
OBSDataAutoRelease hotkeys = obs_hotkeys_save_service(service);
service = obs_service_create(
STREAM_SERVICE_ID, requestedType.toUtf8(), requestSettings, hotkeys);
obs_frontend_set_streaming_service(service);
} else {
// 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