Skip to content

Commit 5ddc06f

Browse files
authored
rename signal into activate/deactivate (#691)
* fix issue in OBS backend where it displays a modal dialog because it thinks the mac-virtualcam has "started". I changed the signal into activate/deactivate
1 parent 4e46301 commit 5ddc06f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

plugins/mac-virtualcam/src/obs-plugin/plugin-main.mm

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,8 @@
1515

1616
NSString *const OBSDalDestination = @"/Library/CoreMediaIO/Plug-Ins/DAL";
1717

18-
// Can't use start because it will bug out OBS frontend thinking vcam is already activated.
19-
static const char *VIRTUAL_CAM_CONNECTED = "start";
20-
static const char *VIRTUAL_CAM_FAILED = "stop";
18+
static const char *VIRTUAL_CAM_CONNECTED = "activate"; // Indicates this plugin is now active.
19+
static const char *VIRTUAL_CAM_FAILED = "deactivate";
2120

2221
static bool cmio_extension_supported()
2322
{

0 commit comments

Comments
 (0)