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 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 bool protected_by_flexfec = false; | 177 bool protected_by_flexfec = false; |
178 | 178 |
179 // Map from rtx payload type -> media payload type. | 179 // Map from rtx payload type -> media payload type. |
180 // For RTX to be enabled, both an SSRC and this mapping are needed. | 180 // For RTX to be enabled, both an SSRC and this mapping are needed. |
181 std::map<int, int> rtx_associated_payload_types; | 181 std::map<int, int> rtx_associated_payload_types; |
182 // TODO(nisse): This is a temporary accessor function to enable | 182 // TODO(nisse): This is a temporary accessor function to enable |
183 // reversing and renaming of the rtx_payload_types mapping. | 183 // reversing and renaming of the rtx_payload_types mapping. |
184 void AddRtxBinding(int rtx_payload_type, int media_payload_type) { | 184 void AddRtxBinding(int rtx_payload_type, int media_payload_type) { |
185 rtx_associated_payload_types[rtx_payload_type] = media_payload_type; | 185 rtx_associated_payload_types[rtx_payload_type] = media_payload_type; |
186 } | 186 } |
187 | |
188 // RTP header extensions used for the received stream. | |
189 std::vector<RtpExtension> extensions; | |
190 } rtp; | 187 } rtp; |
191 | 188 |
192 // Transport for outgoing packets (RTCP). | 189 // Transport for outgoing packets (RTCP). |
193 Transport* rtcp_send_transport = nullptr; | 190 Transport* rtcp_send_transport = nullptr; |
194 | 191 |
195 // Must not be 'nullptr' when the stream is started. | 192 // Must not be 'nullptr' when the stream is started. |
196 rtc::VideoSinkInterface<VideoFrame>* renderer = nullptr; | 193 rtc::VideoSinkInterface<VideoFrame>* renderer = nullptr; |
197 | 194 |
198 // Expected delay needed by the renderer, i.e. the frame will be delivered | 195 // Expected delay needed by the renderer, i.e. the frame will be delivered |
199 // this many milliseconds, if possible, earlier than the ideal render time. | 196 // this many milliseconds, if possible, earlier than the ideal render time. |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
247 virtual void AddSecondarySink(RtpPacketSinkInterface* sink) = 0; | 244 virtual void AddSecondarySink(RtpPacketSinkInterface* sink) = 0; |
248 virtual void RemoveSecondarySink(const RtpPacketSinkInterface* sink) = 0; | 245 virtual void RemoveSecondarySink(const RtpPacketSinkInterface* sink) = 0; |
249 | 246 |
250 protected: | 247 protected: |
251 virtual ~VideoReceiveStream() {} | 248 virtual ~VideoReceiveStream() {} |
252 }; | 249 }; |
253 | 250 |
254 } // namespace webrtc | 251 } // namespace webrtc |
255 | 252 |
256 #endif // CALL_VIDEO_RECEIVE_STREAM_H_ | 253 #endif // CALL_VIDEO_RECEIVE_STREAM_H_ |
OLD | NEW |