mirror of
https://github.com/Palakis/obs-websocket.git
synced 2024-08-30 18:12:16 +00:00
Update WSRequestHandler_Streaming.cpp
This commit is contained in:
parent
b3b2ae267a
commit
30db1a8a63
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user