Chromium Code Reviews| 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 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 154 | 154 |
| 155 // See UlpfecConfig for description. | 155 // See UlpfecConfig for description. |
| 156 UlpfecConfig ulpfec; | 156 UlpfecConfig ulpfec; |
| 157 | 157 |
| 158 // SSRC for retransmissions. | 158 // SSRC for retransmissions. |
| 159 uint32_t rtx_ssrc = 0; | 159 uint32_t rtx_ssrc = 0; |
| 160 | 160 |
| 161 // Set if the stream is protected using FlexFEC. | 161 // Set if the stream is protected using FlexFEC. |
| 162 bool protected_by_flexfec = false; | 162 bool protected_by_flexfec = false; |
| 163 | 163 |
| 164 // Map from video payload type (apt) -> RTX payload type (pt). | 164 // Map from rtx payload type -> media payload type. |
| 165 // For RTX to be enabled, both an SSRC and this mapping are needed. | 165 // For RTX to be enabled, both an SSRC and this mapping are needed. |
| 166 std::map<int, int> rtx_payload_types; | 166 std::map<int, int> media_pt_by_rtx_pt; |
|
danilchap
2017/08/21 14:11:26
non-common abbreviations in names are strongly dis
nisse-webrtc
2017/08/22 07:11:01
My intention was to make the name so explicit that
danilchap
2017/08/22 08:09:55
I still find 'pt' both 'Only your group knows what
| |
| 167 | 167 |
| 168 // RTP header extensions used for the received stream. | 168 // RTP header extensions used for the received stream. |
| 169 std::vector<RtpExtension> extensions; | 169 std::vector<RtpExtension> extensions; |
| 170 } rtp; | 170 } rtp; |
| 171 | 171 |
| 172 // Transport for outgoing packets (RTCP). | 172 // Transport for outgoing packets (RTCP). |
| 173 Transport* rtcp_send_transport = nullptr; | 173 Transport* rtcp_send_transport = nullptr; |
| 174 | 174 |
| 175 // Must not be 'nullptr' when the stream is started. | 175 // Must not be 'nullptr' when the stream is started. |
| 176 rtc::VideoSinkInterface<VideoFrame>* renderer = nullptr; | 176 rtc::VideoSinkInterface<VideoFrame>* renderer = nullptr; |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 229 virtual void AddSecondarySink(RtpPacketSinkInterface* sink) = 0; | 229 virtual void AddSecondarySink(RtpPacketSinkInterface* sink) = 0; |
| 230 virtual void RemoveSecondarySink(const RtpPacketSinkInterface* sink) = 0; | 230 virtual void RemoveSecondarySink(const RtpPacketSinkInterface* sink) = 0; |
| 231 | 231 |
| 232 protected: | 232 protected: |
| 233 virtual ~VideoReceiveStream() {} | 233 virtual ~VideoReceiveStream() {} |
| 234 }; | 234 }; |
| 235 | 235 |
| 236 } // namespace webrtc | 236 } // namespace webrtc |
| 237 | 237 |
| 238 #endif // WEBRTC_VIDEO_RECEIVE_STREAM_H_ | 238 #endif // WEBRTC_VIDEO_RECEIVE_STREAM_H_ |
| OLD | NEW |