Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(158)

Side by Side Diff: webrtc/video_engine/vie_receiver.h

Issue 1394573004: Fix RTPPayloadRegistry to correctly restore RTX, if a valid mapping exists. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: CR comments and git cl format Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/video_engine/vie_channel.cc ('k') | webrtc/video_engine/vie_receiver.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « webrtc/video_engine/vie_channel.cc ('k') | webrtc/video_engine/vie_receiver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698