Add OnLossNotification() to VideoEncoder and Vp8FrameBufferController
Bug: webrtc:10501 Change-Id: I33e8bfcf16cf24aadcfdf214d7d9bcd495bf9348 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/131021 Commit-Queue: Elad Alon <eladalon@webrtc.org> Reviewed-by: Erik Språng <sprang@webrtc.org> Cr-Commit-Position: refs/heads/master@{#27449}
This commit is contained in:
@ -330,6 +330,13 @@ void LibvpxVp8Encoder::OnRttUpdate(int64_t rtt_ms) {
|
||||
}
|
||||
}
|
||||
|
||||
void LibvpxVp8Encoder::OnLossNotification(
|
||||
const LossNotification& loss_notification) {
|
||||
if (frame_buffer_controller_) {
|
||||
frame_buffer_controller_->OnLossNotification(loss_notification);
|
||||
}
|
||||
}
|
||||
|
||||
void LibvpxVp8Encoder::SetStreamState(bool send_stream, int stream_idx) {
|
||||
if (send_stream && !send_stream_[stream_idx]) {
|
||||
// Need a key frame if we have not sent this stream before.
|
||||
|
||||
Reference in New Issue
Block a user