mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-05-05 13:54:22 -04:00
@@ -1499,9 +1499,8 @@ bool OBSBasic::LoadService()
|
||||
if (!service)
|
||||
return false;
|
||||
|
||||
/* Enforce Opus on FTL if needed */
|
||||
if (strcmp(obs_service_get_protocol(service), "FTL") == 0 ||
|
||||
strcmp(obs_service_get_protocol(service), "WHIP") == 0) {
|
||||
/* Enforce Opus on WHIP if needed */
|
||||
if (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