open-webrtc-toolkit / owt-client-native

Open WebRTC Toolkit client SDK for native Windows/Linux/iOS applications.
https://01.org/open-webrtc-toolkit
Apache License 2.0
389 stars 181 forks source link

[Question] Why configure `codecType = kVideoCodecH264` but still call `CreateVP9RateControlConfig()` ? #588

Open Meonardo opened 2 years ago

Meonardo commented 2 years ago

Hi, sorry to bother! I can see If I configure any codec for encoder

  vp9_rc_config_ = CreateVP9RateControlConfig();
  vp9_rate_ctrl_ = VP9RateControl::Create(vp9_rc_config_);

the CreateVP9RateControlConfig() code will run anyway.

Is it on purpose?