mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-04-16 04:28:53 -04:00
UI: Enable WHIP service in UI
This provides the UI glue to enable the WHIP service introduced in the obs-webrtc plugin. Co-authored-by: John Bradley <jocbrad@twitch.tv> Signed-off-by: pkv <pkv@obsproject.com>
This commit is contained in:
committed by
Colin Edwards
parent
851a8c216e
commit
dd392188b8
@@ -1369,7 +1369,8 @@ bool OBSBasic::LoadService()
|
||||
return false;
|
||||
|
||||
/* Enforce Opus on FTL if needed */
|
||||
if (strcmp(obs_service_get_protocol(service), "FTL") == 0) {
|
||||
if (strcmp(obs_service_get_protocol(service), "FTL") == 0 ||
|
||||
strcmp(obs_service_get_protocol(service), "WHIP") == 0) {
|
||||
const char *option = config_get_string(
|
||||
basicConfig, "SimpleOutput", "StreamAudioEncoder");
|
||||
if (strcmp(option, "opus") != 0)
|
||||
|
||||
Reference in New Issue
Block a user