| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 const unsigned char simulcast_idx); | 127 const unsigned char simulcast_idx); |
| 128 | 128 |
| 129 // Gets SSRC for outgoing stream number |idx|. | 129 // Gets SSRC for outgoing stream number |idx|. |
| 130 int32_t GetLocalSSRC(uint8_t idx, unsigned int* ssrc); | 130 int32_t GetLocalSSRC(uint8_t idx, unsigned int* ssrc); |
| 131 | 131 |
| 132 // Gets SSRC for the incoming stream. | 132 // Gets SSRC for the incoming stream. |
| 133 int32_t GetRemoteSSRC(uint32_t* ssrc); | 133 int32_t GetRemoteSSRC(uint32_t* ssrc); |
| 134 | 134 |
| 135 int SetRtxSendPayloadType(int payload_type, int associated_payload_type); | 135 int SetRtxSendPayloadType(int payload_type, int associated_payload_type); |
| 136 void SetRtxReceivePayloadType(int payload_type, int associated_payload_type); | 136 void SetRtxReceivePayloadType(int payload_type, int associated_payload_type); |
| 137 // If set to true, the RTX payload type mapping supplied in |
| 138 // |SetRtxReceivePayloadType| will be used when restoring RTX packets. Without |
| 139 // it, RTX packets will always be restored to the last non-RTX packet payload |
| 140 // type received. |
| 141 void SetUseRtxPayloadMappingOnRestore(bool val); |
| 137 | 142 |
| 138 void SetRtpStateForSsrc(uint32_t ssrc, const RtpState& rtp_state); | 143 void SetRtpStateForSsrc(uint32_t ssrc, const RtpState& rtp_state); |
| 139 RtpState GetRtpStateForSsrc(uint32_t ssrc); | 144 RtpState GetRtpStateForSsrc(uint32_t ssrc); |
| 140 | 145 |
| 141 // Sets the CName for the outgoing stream on the channel. | 146 // Sets the CName for the outgoing stream on the channel. |
| 142 int32_t SetRTCPCName(const char* rtcp_cname); | 147 int32_t SetRTCPCName(const char* rtcp_cname); |
| 143 | 148 |
| 144 // Gets the CName of the incoming stream. | 149 // Gets the CName of the incoming stream. |
| 145 int32_t GetRemoteRTCPCName(char rtcp_cname[]); | 150 int32_t GetRemoteRTCPCName(char rtcp_cname[]); |
| 146 | 151 |
| (...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 445 size_t num_rtts_ GUARDED_BY(crit_); | 450 size_t num_rtts_ GUARDED_BY(crit_); |
| 446 | 451 |
| 447 // RtpRtcp modules, declared last as they use other members on construction. | 452 // RtpRtcp modules, declared last as they use other members on construction. |
| 448 const std::vector<RtpRtcp*> rtp_rtcp_modules_; | 453 const std::vector<RtpRtcp*> rtp_rtcp_modules_; |
| 449 size_t num_active_rtp_rtcp_modules_ GUARDED_BY(crit_); | 454 size_t num_active_rtp_rtcp_modules_ GUARDED_BY(crit_); |
| 450 }; | 455 }; |
| 451 | 456 |
| 452 } // namespace webrtc | 457 } // namespace webrtc |
| 453 | 458 |
| 454 #endif // WEBRTC_VIDEO_ENGINE_VIE_CHANNEL_H_ | 459 #endif // WEBRTC_VIDEO_ENGINE_VIE_CHANNEL_H_ |
| OLD | NEW |