Removed VCMTiming from RtpVideoStreamReceiver.
Bug: webrtc:8909 Change-Id: Ib42e4cc4c2252f04ea5f7d440352546d36d2899f Reviewed-on: https://webrtc-review.googlesource.com/58740 Reviewed-by: Stefan Holmer <stefan@webrtc.org> Commit-Queue: Philip Eliasson <philipel@webrtc.org> Cr-Commit-Position: refs/heads/master@{#22224}
This commit is contained in:
@ -290,6 +290,9 @@ void FrameBuffer::UpdatePlayoutDelays(const EncodedFrame& frame) {
|
||||
|
||||
if (playout_delay.max_ms >= 0)
|
||||
timing_->set_max_playout_delay(playout_delay.max_ms);
|
||||
|
||||
if (!frame.delayed_by_retransmission())
|
||||
timing_->IncomingTimestamp(frame.timestamp, frame.ReceivedTime());
|
||||
}
|
||||
|
||||
int64_t FrameBuffer::InsertFrame(std::unique_ptr<EncodedFrame> frame) {
|
||||
@ -375,6 +378,7 @@ int64_t FrameBuffer::InsertFrame(std::unique_ptr<EncodedFrame> frame) {
|
||||
if (!UpdateFrameInfoWithIncomingFrame(*frame, info))
|
||||
return last_continuous_picture_id;
|
||||
UpdatePlayoutDelays(*frame);
|
||||
|
||||
info->second.frame = std::move(frame);
|
||||
++num_frames_buffered_;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user