MCPcopy Create free account
hub / github.com/anyrtcIO-Community/anyRTC-RTMP-OpenSource / SetRates

Method SetRates

AnyCore/avcodec.cc:227–237  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

225}
226
227void V_H264Encoder::SetRates(int bitrate)
228{
229 video_bitrate_ = bitrate;
230 h264_.startBitrate = bitrate;
231 h264_.targetBitrate = bitrate;
232 h264_.maxBitrate = bitrate;
233 if(encoder_ != NULL)
234 {
235 encoder_->SetRates(bitrate, h264_.maxFramerate);
236 }
237}
238
239void V_H264Encoder::SetAutoAdjustBit(bool enabled)
240{

Callers 2

SetVideoParameterMethod · 0.45
SetBitrateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected