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 28 matching lines...) Expand all Loading... |
39 ViEReceiver(VideoCodingModule* module_vcm, | 39 ViEReceiver(VideoCodingModule* module_vcm, |
40 RemoteBitrateEstimator* remote_bitrate_estimator, | 40 RemoteBitrateEstimator* remote_bitrate_estimator, |
41 RtpFeedback* rtp_feedback); | 41 RtpFeedback* rtp_feedback); |
42 ~ViEReceiver(); | 42 ~ViEReceiver(); |
43 | 43 |
44 bool SetReceiveCodec(const VideoCodec& video_codec); | 44 bool SetReceiveCodec(const VideoCodec& video_codec); |
45 bool RegisterPayload(const VideoCodec& video_codec); | 45 bool RegisterPayload(const VideoCodec& video_codec); |
46 | 46 |
47 void SetNackStatus(bool enable, int max_nack_reordering_threshold); | 47 void SetNackStatus(bool enable, int max_nack_reordering_threshold); |
48 void SetRtxPayloadType(int payload_type, int associated_payload_type); | 48 void SetRtxPayloadType(int payload_type, int associated_payload_type); |
| 49 // If set to true, the RTX payload type mapping supplied in |
| 50 // |SetRtxPayloadType| will be used when restoring RTX packets. Without it, |
| 51 // RTX packets will always be restored to the last non-RTX packet payload type |
| 52 // received. |
| 53 void SetUseRtxPayloadMappingOnRestore(bool val); |
49 void SetRtxSsrc(uint32_t ssrc); | 54 void SetRtxSsrc(uint32_t ssrc); |
50 bool GetRtxSsrc(uint32_t* ssrc) const; | 55 bool GetRtxSsrc(uint32_t* ssrc) const; |
51 | 56 |
52 bool IsFecEnabled() const; | 57 bool IsFecEnabled() const; |
53 | 58 |
54 uint32_t GetRemoteSsrc() const; | 59 uint32_t GetRemoteSsrc() const; |
55 int GetCsrcs(uint32_t* csrcs) const; | 60 int GetCsrcs(uint32_t* csrcs) const; |
56 | 61 |
57 void SetRtpRtcpModule(RtpRtcp* module); | 62 void SetRtpRtcpModule(RtpRtcp* module); |
58 | 63 |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 bool restored_packet_in_use_; | 122 bool restored_packet_in_use_; |
118 bool receiving_ast_enabled_; | 123 bool receiving_ast_enabled_; |
119 bool receiving_cvo_enabled_; | 124 bool receiving_cvo_enabled_; |
120 bool receiving_tsn_enabled_; | 125 bool receiving_tsn_enabled_; |
121 int64_t last_packet_log_ms_; | 126 int64_t last_packet_log_ms_; |
122 }; | 127 }; |
123 | 128 |
124 } // namespace webrt | 129 } // namespace webrt |
125 | 130 |
126 #endif // WEBRTC_VIDEO_ENGINE_VIE_RECEIVER_H_ | 131 #endif // WEBRTC_VIDEO_ENGINE_VIE_RECEIVER_H_ |
OLD | NEW |