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

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

Issue 1740133002: Simplify registration of RTP-header extensions. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: header Created 4 years, 9 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/vie_channel.cc ('k') | webrtc/video/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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 57
58 uint32_t GetRemoteSsrc() const; 58 uint32_t GetRemoteSsrc() const;
59 int GetCsrcs(uint32_t* csrcs) const; 59 int GetCsrcs(uint32_t* csrcs) const;
60 60
61 void SetRtpRtcpModule(RtpRtcp* module); 61 void SetRtpRtcpModule(RtpRtcp* module);
62 62
63 RtpReceiver* GetRtpReceiver() const; 63 RtpReceiver* GetRtpReceiver() const;
64 64
65 void RegisterRtpRtcpModules(const std::vector<RtpRtcp*>& rtp_modules); 65 void RegisterRtpRtcpModules(const std::vector<RtpRtcp*>& rtp_modules);
66 66
67 bool EnableReceiveTimestampOffset(int id); 67 void EnableReceiveRtpHeaderExtension(const std::string& extension, int id);
68 bool EnableReceiveAbsoluteSendTime(int id);
69 bool EnableReceiveVideoRotation(int id);
70 bool EnableReceiveTransportSequenceNumber(int id);
71 68
72 void StartReceive(); 69 void StartReceive();
73 void StopReceive(); 70 void StopReceive();
74 71
75 bool DeliverRtp(const uint8_t* rtp_packet, 72 bool DeliverRtp(const uint8_t* rtp_packet,
76 size_t rtp_packet_length, 73 size_t rtp_packet_length,
77 const PacketTime& packet_time); 74 const PacketTime& packet_time);
78 bool DeliverRtcp(const uint8_t* rtcp_packet, size_t rtcp_packet_length); 75 bool DeliverRtcp(const uint8_t* rtcp_packet, size_t rtcp_packet_length);
79 76
80 // Implements RtpData. 77 // Implements RtpData.
(...skipping 29 matching lines...) Expand all
110 RtpRtcp* rtp_rtcp_; 107 RtpRtcp* rtp_rtcp_;
111 std::vector<RtpRtcp*> rtp_rtcp_simulcast_; 108 std::vector<RtpRtcp*> rtp_rtcp_simulcast_;
112 VideoCodingModule* vcm_; 109 VideoCodingModule* vcm_;
113 RemoteBitrateEstimator* remote_bitrate_estimator_; 110 RemoteBitrateEstimator* remote_bitrate_estimator_;
114 111
115 rtc::scoped_ptr<RemoteNtpTimeEstimator> ntp_estimator_; 112 rtc::scoped_ptr<RemoteNtpTimeEstimator> ntp_estimator_;
116 113
117 bool receiving_; 114 bool receiving_;
118 uint8_t restored_packet_[IP_PACKET_SIZE]; 115 uint8_t restored_packet_[IP_PACKET_SIZE];
119 bool restored_packet_in_use_; 116 bool restored_packet_in_use_;
120 bool receiving_ast_enabled_;
121 bool receiving_cvo_enabled_;
122 bool receiving_tsn_enabled_;
123 int64_t last_packet_log_ms_; 117 int64_t last_packet_log_ms_;
124 }; 118 };
125 119
126 } // namespace webrtc 120 } // namespace webrtc
127 121
128 #endif // WEBRTC_VIDEO_VIE_RECEIVER_H_ 122 #endif // WEBRTC_VIDEO_VIE_RECEIVER_H_
OLDNEW
« no previous file with comments | « webrtc/video/vie_channel.cc ('k') | webrtc/video/vie_receiver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698