mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-27 04:35:34 +08:00
[feat] enable congestion controller set target bitrate to video encoder
This commit is contained in:
@@ -359,6 +359,11 @@ int AomAv1Encoder::ForceIdr() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
int AomAv1Encoder::SetTargetBitrate(int bitrate) {
|
||||
target_bitrate_ = bitrate;
|
||||
return 0;
|
||||
}
|
||||
|
||||
int AomAv1Encoder::Release() {
|
||||
if (frame_for_encode_ != nullptr) {
|
||||
aom_img_free(frame_for_encode_);
|
||||
|
||||
Reference in New Issue
Block a user