Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
27 Views

video encoder customizer doesn't work

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