| OLD | NEW | 
|    1 /* |    1 /* | 
|    2  *  Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. |    2  *  Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. | 
|    3  * |    3  * | 
|    4  *  Use of this source code is governed by a BSD-style license |    4  *  Use of this source code is governed by a BSD-style license | 
|    5  *  that can be found in the LICENSE file in the root of the source |    5  *  that can be found in the LICENSE file in the root of the source | 
|    6  *  tree. An additional intellectual property rights grant can be found |    6  *  tree. An additional intellectual property rights grant can be found | 
|    7  *  in the file PATENTS.  All contributing project authors may |    7  *  in the file PATENTS.  All contributing project authors may | 
|    8  *  be found in the AUTHORS file in the root of the source tree. |    8  *  be found in the AUTHORS file in the root of the source tree. | 
|    9  */ |    9  */ | 
|   10  |   10  | 
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  155  |  155  | 
|  156       // SSRC for retransmissions. |  156       // SSRC for retransmissions. | 
|  157       uint32_t rtx_ssrc = 0; |  157       uint32_t rtx_ssrc = 0; | 
|  158  |  158  | 
|  159       // Set if the stream is protected using FlexFEC. |  159       // Set if the stream is protected using FlexFEC. | 
|  160       bool protected_by_flexfec = false; |  160       bool protected_by_flexfec = false; | 
|  161  |  161  | 
|  162       // Map from video payload type (apt) -> RTX payload type (pt). |  162       // Map from video payload type (apt) -> RTX payload type (pt). | 
|  163       // For RTX to be enabled, both an SSRC and this mapping are needed. |  163       // For RTX to be enabled, both an SSRC and this mapping are needed. | 
|  164       std::map<int, int> rtx_payload_types; |  164       std::map<int, int> rtx_payload_types; | 
|  165  |  | 
|  166       // RTP header extensions used for the received stream. |  | 
|  167       std::vector<RtpExtension> extensions; |  | 
|  168     } rtp; |  165     } rtp; | 
|  169  |  166  | 
|  170     // Transport for outgoing packets (RTCP). |  167     // Transport for outgoing packets (RTCP). | 
|  171     Transport* rtcp_send_transport = nullptr; |  168     Transport* rtcp_send_transport = nullptr; | 
|  172  |  169  | 
|  173     // Must not be 'nullptr' when the stream is started. |  170     // Must not be 'nullptr' when the stream is started. | 
|  174     rtc::VideoSinkInterface<VideoFrame>* renderer = nullptr; |  171     rtc::VideoSinkInterface<VideoFrame>* renderer = nullptr; | 
|  175  |  172  | 
|  176     // Expected delay needed by the renderer, i.e. the frame will be delivered |  173     // Expected delay needed by the renderer, i.e. the frame will be delivered | 
|  177     // this many milliseconds, if possible, earlier than the ideal render time. |  174     // this many milliseconds, if possible, earlier than the ideal render time. | 
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  218     EnableEncodedFrameRecording(rtc::kInvalidPlatformFileValue, 0); |  215     EnableEncodedFrameRecording(rtc::kInvalidPlatformFileValue, 0); | 
|  219   } |  216   } | 
|  220  |  217  | 
|  221  protected: |  218  protected: | 
|  222   virtual ~VideoReceiveStream() {} |  219   virtual ~VideoReceiveStream() {} | 
|  223 }; |  220 }; | 
|  224  |  221  | 
|  225 }  // namespace webrtc |  222 }  // namespace webrtc | 
|  226  |  223  | 
|  227 #endif  // WEBRTC_VIDEO_RECEIVE_STREAM_H_ |  224 #endif  // WEBRTC_VIDEO_RECEIVE_STREAM_H_ | 
| OLD | NEW |