| 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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 uint32_t ssrc = 0; | 126 uint32_t ssrc = 0; |
| 127 | 127 |
| 128 // Payload type to use for the RTX stream. | 128 // Payload type to use for the RTX stream. |
| 129 int payload_type = 0; | 129 int payload_type = 0; |
| 130 }; | 130 }; |
| 131 | 131 |
| 132 // Map from video RTP payload type -> RTX config. | 132 // Map from video RTP payload type -> RTX config. |
| 133 typedef std::map<int, Rtx> RtxMap; | 133 typedef std::map<int, Rtx> RtxMap; |
| 134 RtxMap rtx; | 134 RtxMap rtx; |
| 135 | 135 |
| 136 // If set to true, the RTX payload type mapping supplied in |rtx| will be |
| 137 // used when restoring RTX packets. Without it, RTX packets will always be |
| 138 // restored to the last non-RTX packet payload type received. |
| 139 bool use_rtx_payload_mapping_on_restore = false; |
| 140 |
| 136 // RTP header extensions used for the received stream. | 141 // RTP header extensions used for the received stream. |
| 137 std::vector<RtpExtension> extensions; | 142 std::vector<RtpExtension> extensions; |
| 138 } rtp; | 143 } rtp; |
| 139 | 144 |
| 140 // Transport for outgoing packets (RTCP). | 145 // Transport for outgoing packets (RTCP). |
| 141 Transport* rtcp_send_transport = nullptr; | 146 Transport* rtcp_send_transport = nullptr; |
| 142 | 147 |
| 143 // VideoRenderer will be called for each decoded frame. 'nullptr' disables | 148 // VideoRenderer will be called for each decoded frame. 'nullptr' disables |
| 144 // rendering of this stream. | 149 // rendering of this stream. |
| 145 VideoRenderer* renderer = nullptr; | 150 VideoRenderer* renderer = nullptr; |
| (...skipping 23 matching lines...) Expand all Loading... |
| 169 int target_delay_ms = 0; | 174 int target_delay_ms = 0; |
| 170 }; | 175 }; |
| 171 | 176 |
| 172 // TODO(pbos): Add info on currently-received codec to Stats. | 177 // TODO(pbos): Add info on currently-received codec to Stats. |
| 173 virtual Stats GetStats() const = 0; | 178 virtual Stats GetStats() const = 0; |
| 174 }; | 179 }; |
| 175 | 180 |
| 176 } // namespace webrtc | 181 } // namespace webrtc |
| 177 | 182 |
| 178 #endif // WEBRTC_VIDEO_RECEIVE_STREAM_H_ | 183 #endif // WEBRTC_VIDEO_RECEIVE_STREAM_H_ |
| OLD | NEW |