Removed _completeFrame since we never allow incomplete frames.
In the old jitter buffer the two VCMVideoProtection modes |kProtectionNone| and |kProtectionFEC| could be set on the jitter buffer for it to not wait for NACK and instead generate incomplete frames. This has not been possible for a long time. Bug: webrtc:9378, webrtc:7408 Change-Id: I0a2d3ec34d721126c1128306d5fad88314f8d59f Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/190680 Reviewed-by: Kári Helgason <kthelgason@webrtc.org> Reviewed-by: Sami Kalliomäki <sakal@webrtc.org> Reviewed-by: Niels Moller <nisse@webrtc.org> Commit-Queue: Philip Eliasson <philipel@webrtc.org> Cr-Commit-Position: refs/heads/master@{#32513}
This commit is contained in:
@ -92,7 +92,6 @@ class ObjCEncodedImageBuffer : public webrtc::EncodedImageBufferInterface {
|
||||
self.encodeFinishMs = encodedImage.timing_.encode_finish_ms;
|
||||
self.frameType = static_cast<RTCFrameType>(encodedImage._frameType);
|
||||
self.rotation = static_cast<RTCVideoRotation>(encodedImage.rotation_);
|
||||
self.completeFrame = encodedImage._completeFrame;
|
||||
self.qp = @(encodedImage.qp_);
|
||||
self.contentType = (encodedImage.content_type_ == webrtc::VideoContentType::SCREENSHARE) ?
|
||||
RTCVideoContentTypeScreenshare :
|
||||
@ -121,7 +120,6 @@ class ObjCEncodedImageBuffer : public webrtc::EncodedImageBufferInterface {
|
||||
encodedImage.timing_.encode_finish_ms = self.encodeFinishMs;
|
||||
encodedImage._frameType = webrtc::VideoFrameType(self.frameType);
|
||||
encodedImage.rotation_ = webrtc::VideoRotation(self.rotation);
|
||||
encodedImage._completeFrame = self.completeFrame;
|
||||
encodedImage.qp_ = self.qp ? self.qp.intValue : -1;
|
||||
encodedImage.content_type_ = (self.contentType == RTCVideoContentTypeScreenshare) ?
|
||||
webrtc::VideoContentType::SCREENSHARE :
|
||||
|
||||
Reference in New Issue
Block a user