Intel® Collaboration Suite for WebRTC
Community support and discussions on the Intel® Collaboration Suite for WebRTC (Intel® CS for WebRTC).

video encoder customizer doesn't work

tony2020
Beginner
341 Views

I have one class inherit  from VideoEncoderInterface, the code is as below

GlobalConfiguration::SetEncodedVideoFrameEnabled(true);

owt::base::VideoEncoderInterface* external_encoder = pVideoManager;
owt::base::Resolution resolution(width, height);
shared_ptr<LocalCustomizedStreamParameters> lcsp(new LocalCustomizedStreamParameters(true, true));
lcsp->Resolution(640, 480);
lcsp->Fps(30);
lcsp->Bitrate(1000);
local_stream_ = LocalStream::Create(lcsp, external_encoder);

but it doesn't work,  no function of VideoEncoderInterface is called.

0 Kudos
0 Replies
Reply