浏览代码

obs-webrtc: Allow non-CBR rate control with WHIP

Nothing about WHIP requires CBR (and many things that use it use VBR),
and there's no specific upstream service to care about it (WHIP is a
protocol, not a service, despite being exposed as a "service" in OBS),
so let's stop forcing it to be CBR and allow the user to choose other
rate control methods.
TDV Alinsa 2 年之前
父节点
当前提交
9ef45e5508
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      plugins/obs-webrtc/whip-service.cpp

+ 0 - 1
plugins/obs-webrtc/whip-service.cpp

@@ -33,7 +33,6 @@ void WHIPService::ApplyEncoderSettings(obs_data_t *video_settings, obs_data_t *)
 	// For now, ensure maximum compatibility with webrtc peers
 	if (video_settings) {
 		obs_data_set_int(video_settings, "bf", 0);
-		obs_data_set_string(video_settings, "rate_control", "CBR");
 		obs_data_set_bool(video_settings, "repeat_headers", true);
 	}
 }