Delete codec-specific frameDroppingOn settings.
Followup to https://webrtc-review.googlesource.com/c/src/+/262244 Bug: webrtc:6883 Change-Id: Iefac43709f14424c74470aa878ec512b7dacc68a Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/262258 Commit-Queue: Niels Moller <nisse@webrtc.org> Reviewed-by: Erik Språng <sprang@webrtc.org> Cr-Commit-Position: refs/heads/main@{#36949}
This commit is contained in:
committed by
WebRTC LUCI CQ
parent
2ee3e4db22
commit
be2fb41b32
@ -47,7 +47,6 @@ struct VideoCodecVP8 {
|
||||
unsigned char numberOfTemporalLayers;
|
||||
bool denoisingOn;
|
||||
bool automaticResizeOn;
|
||||
bool frameDroppingOn;
|
||||
int keyFrameInterval;
|
||||
};
|
||||
|
||||
@ -65,7 +64,6 @@ struct VideoCodecVP9 {
|
||||
}
|
||||
unsigned char numberOfTemporalLayers;
|
||||
bool denoisingOn;
|
||||
bool frameDroppingOn;
|
||||
int keyFrameInterval;
|
||||
bool adaptiveQpMode;
|
||||
bool automaticResizeOn;
|
||||
@ -80,7 +78,6 @@ struct VideoCodecH264 {
|
||||
bool operator!=(const VideoCodecH264& other) const {
|
||||
return !(*this == other);
|
||||
}
|
||||
bool frameDroppingOn;
|
||||
int keyFrameInterval;
|
||||
uint8_t numberOfTemporalLayers;
|
||||
};
|
||||
@ -181,9 +178,7 @@ class RTC_EXPORT VideoCodec {
|
||||
// 'complexity_' indicates the CPU capability of the client. It's used to
|
||||
// determine encoder CPU complexity (e.g., cpu_used for VP8, VP9. and AV1).
|
||||
VideoCodecComplexity complexity_;
|
||||
// TODO(bugs.webrtc.org/6883): When unset, GetEnableFrameDrop checks the
|
||||
// codec-specific settings.
|
||||
absl::optional<bool> frame_drop_enabled_;
|
||||
bool frame_drop_enabled_ = false;
|
||||
};
|
||||
|
||||
} // namespace webrtc
|
||||
|
||||
Reference in New Issue
Block a user