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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 int32_t Init(); | 81 int32_t Init(); |
82 | 82 |
83 // Sets the encoder to use for the channel. |new_stream| indicates the encoder | 83 // Sets the encoder to use for the channel. |new_stream| indicates the encoder |
84 // type has changed and we should start a new RTP stream. | 84 // type has changed and we should start a new RTP stream. |
85 int32_t SetSendCodec(const VideoCodec& video_codec, bool new_stream = true); | 85 int32_t SetSendCodec(const VideoCodec& video_codec, bool new_stream = true); |
86 | 86 |
87 void SetProtectionMode(bool enable_nack, | 87 void SetProtectionMode(bool enable_nack, |
88 bool enable_fec, | 88 bool enable_fec, |
89 int payload_type_red, | 89 int payload_type_red, |
90 int payload_type_fec); | 90 int payload_type_fec); |
91 int EnableSendTimestampOffset(int id); | |
92 int EnableSendAbsoluteSendTime(int id); | |
93 int EnableSendVideoRotation(int id); | |
94 int EnableSendTransportSequenceNumber(int id); | |
95 | 91 |
96 RtpState GetRtpStateForSsrc(uint32_t ssrc) const; | 92 RtpState GetRtpStateForSsrc(uint32_t ssrc) const; |
97 | 93 |
98 // Gets send statistics for the rtp and rtx stream. | 94 // Gets send statistics for the rtp and rtx stream. |
99 void GetSendStreamDataCounters(StreamDataCounters* rtp_counters, | 95 void GetSendStreamDataCounters(StreamDataCounters* rtp_counters, |
100 StreamDataCounters* rtx_counters) const; | 96 StreamDataCounters* rtx_counters) const; |
101 | 97 |
102 void RegisterSendSideDelayObserver(SendSideDelayObserver* observer); | 98 void RegisterSendSideDelayObserver(SendSideDelayObserver* observer); |
103 | 99 |
104 // Called on any new send bitrate estimate. | 100 // Called on any new send bitrate estimate. |
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
316 int64_t last_rtt_ms_ GUARDED_BY(crit_); | 312 int64_t last_rtt_ms_ GUARDED_BY(crit_); |
317 | 313 |
318 // RtpRtcp modules, declared last as they use other members on construction. | 314 // RtpRtcp modules, declared last as they use other members on construction. |
319 const std::vector<RtpRtcp*> rtp_rtcp_modules_; | 315 const std::vector<RtpRtcp*> rtp_rtcp_modules_; |
320 size_t num_active_rtp_rtcp_modules_ GUARDED_BY(crit_); | 316 size_t num_active_rtp_rtcp_modules_ GUARDED_BY(crit_); |
321 }; | 317 }; |
322 | 318 |
323 } // namespace webrtc | 319 } // namespace webrtc |
324 | 320 |
325 #endif // WEBRTC_VIDEO_VIE_CHANNEL_H_ | 321 #endif // WEBRTC_VIDEO_VIE_CHANNEL_H_ |
OLD | NEW |