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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 SetRTCPMode(const RtcpMode rtcp_mode); | 87 void SetRTCPMode(const RtcpMode rtcp_mode); |
88 void SetProtectionMode(bool enable_nack, | 88 void SetProtectionMode(bool enable_nack, |
89 bool enable_fec, | 89 bool enable_fec, |
90 int payload_type_red, | 90 int payload_type_red, |
91 int payload_type_fec); | 91 int payload_type_fec); |
92 bool IsSendingFecEnabled(); | 92 bool IsSendingFecEnabled(); |
93 int SetSenderBufferingMode(int target_delay_ms); | |
94 int SetSendTimestampOffsetStatus(bool enable, int id); | 93 int SetSendTimestampOffsetStatus(bool enable, int id); |
95 int SetSendAbsoluteSendTimeStatus(bool enable, int id); | 94 int SetSendAbsoluteSendTimeStatus(bool enable, int id); |
96 int SetSendVideoRotationStatus(bool enable, int id); | 95 int SetSendVideoRotationStatus(bool enable, int id); |
97 int SetSendTransportSequenceNumber(bool enable, int id); | 96 int SetSendTransportSequenceNumber(bool enable, int id); |
98 | 97 |
99 // Sets SSRC for outgoing stream. | 98 // Sets SSRC for outgoing stream. |
100 int32_t SetSSRC(const uint32_t SSRC, | 99 int32_t SetSSRC(const uint32_t SSRC, |
101 const StreamType usage, | 100 const StreamType usage, |
102 const unsigned char simulcast_idx); | 101 const unsigned char simulcast_idx); |
103 | 102 |
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
369 int64_t last_rtt_ms_ GUARDED_BY(crit_); | 368 int64_t last_rtt_ms_ GUARDED_BY(crit_); |
370 | 369 |
371 // RtpRtcp modules, declared last as they use other members on construction. | 370 // RtpRtcp modules, declared last as they use other members on construction. |
372 const std::vector<RtpRtcp*> rtp_rtcp_modules_; | 371 const std::vector<RtpRtcp*> rtp_rtcp_modules_; |
373 size_t num_active_rtp_rtcp_modules_ GUARDED_BY(crit_); | 372 size_t num_active_rtp_rtcp_modules_ GUARDED_BY(crit_); |
374 }; | 373 }; |
375 | 374 |
376 } // namespace webrtc | 375 } // namespace webrtc |
377 | 376 |
378 #endif // WEBRTC_VIDEO_VIE_CHANNEL_H_ | 377 #endif // WEBRTC_VIDEO_VIE_CHANNEL_H_ |
OLD | NEW |