| Index: webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCEncodedImage.mm
|
| diff --git a/webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCEncodedImage.mm b/webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCEncodedImage.mm
|
| index 3c39acb38effadb8800c43071859ff6cae8c5250..581098a377eebd96df7462cf2d2c3bc41afcaf4d 100644
|
| --- a/webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCEncodedImage.mm
|
| +++ b/webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCEncodedImage.mm
|
| @@ -47,7 +47,7 @@
|
| _rotation = encodedImage.rotation_;
|
| _completeFrame = encodedImage._completeFrame;
|
| _qp = encodedImage.qp_ == -1 ? nil : @(encodedImage.qp_);
|
| - _contentType = (encodedImage.content_type_ == webrtc::VideoContentType::SCREENSHARE) ?
|
| + _contentType = (encodedImage.content_type_ == webrtc::VideoContentType::Screenshare()) ?
|
| RTCVideoContentTypeScreenshare :
|
| RTCVideoContentTypeUnspecified;
|
| }
|
| @@ -72,8 +72,8 @@
|
| encodedImage._completeFrame = _completeFrame;
|
| encodedImage.qp_ = _qp ? _qp.intValue : -1;
|
| encodedImage.content_type_ = (_contentType == RTCVideoContentTypeScreenshare) ?
|
| - webrtc::VideoContentType::SCREENSHARE :
|
| - webrtc::VideoContentType::UNSPECIFIED;
|
| + webrtc::VideoContentType::Screenshare() :
|
| + webrtc::VideoContentType::Unspecified();
|
|
|
| return encodedImage;
|
| }
|
|
|