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:
@ -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
|
obs_data_apply(updatedSettings, newSettings); //then apply the settings from the request should they exist
|
||||||
|
|
||||||
newService = obs_service_create(
|
newService = obs_service_create(
|
||||||
newType.toUtf8(), STREAM_SERVICE_ID,
|
STREAM_SERVICE_ID, newType.toUtf8(),
|
||||||
updatedSettings, csHotkeys);
|
updatedSettings, csHotkeys);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
// Service type changed: override service settings
|
// Service type changed: override service settings
|
||||||
newService = obs_service_create(
|
newService = obs_service_create(
|
||||||
newType.toUtf8(), STREAM_SERVICE_ID,
|
STREAM_SERVICE_ID, newType.toUtf8(),
|
||||||
newSettings, csHotkeys);
|
newSettings, csHotkeys);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user