mirror of
https://github.com/Palakis/obs-websocket.git
synced 2024-08-30 18:12:16 +00:00
StartStreaming: add missing comment
This commit is contained in:
parent
7ab3e38da7
commit
db1527ab9b
@ -548,6 +548,7 @@ void WSRequestHandler::HandleStartStreaming(WSRequestHandler* req)
|
|||||||
{
|
{
|
||||||
if (obs_frontend_streaming_active() == false) {
|
if (obs_frontend_streaming_active() == false) {
|
||||||
obs_service_t* currentService = obs_frontend_get_streaming_service();
|
obs_service_t* currentService = obs_frontend_get_streaming_service();
|
||||||
|
// get_streaming_service doesn't addref, so let's do it ourselves
|
||||||
obs_service_addref(currentService);
|
obs_service_addref(currentService);
|
||||||
|
|
||||||
if (req->hasField("stream")) {
|
if (req->hasField("stream")) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user