Chromium Code Reviews| 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 SetSendTimestampOffsetStatus(bool enable, int id); | 91 int SetSendTimestampOffsetStatus(int id); |
|
pbos-webrtc
2016/02/26 10:43:23
s/Set/Enable for all of these and in vie_receiver_
| |
| 92 int SetSendAbsoluteSendTimeStatus(bool enable, int id); | 92 int SetSendAbsoluteSendTimeStatus(int id); |
| 93 int SetSendVideoRotationStatus(bool enable, int id); | 93 int SetSendVideoRotationStatus(int id); |
| 94 int SetSendTransportSequenceNumber(bool enable, int id); | 94 int SetSendTransportSequenceNumber(int id); |
| 95 | 95 |
| 96 RtpState GetRtpStateForSsrc(uint32_t ssrc) const; | 96 RtpState GetRtpStateForSsrc(uint32_t ssrc) const; |
| 97 | 97 |
| 98 // Gets send statistics for the rtp and rtx stream. | 98 // Gets send statistics for the rtp and rtx stream. |
| 99 void GetSendStreamDataCounters(StreamDataCounters* rtp_counters, | 99 void GetSendStreamDataCounters(StreamDataCounters* rtp_counters, |
| 100 StreamDataCounters* rtx_counters) const; | 100 StreamDataCounters* rtx_counters) const; |
| 101 | 101 |
| 102 void RegisterSendSideDelayObserver(SendSideDelayObserver* observer); | 102 void RegisterSendSideDelayObserver(SendSideDelayObserver* observer); |
| 103 | 103 |
| 104 // Called on any new send bitrate estimate. | 104 // 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_); | 316 int64_t last_rtt_ms_ GUARDED_BY(crit_); |
| 317 | 317 |
| 318 // RtpRtcp modules, declared last as they use other members on construction. | 318 // RtpRtcp modules, declared last as they use other members on construction. |
| 319 const std::vector<RtpRtcp*> rtp_rtcp_modules_; | 319 const std::vector<RtpRtcp*> rtp_rtcp_modules_; |
| 320 size_t num_active_rtp_rtcp_modules_ GUARDED_BY(crit_); | 320 size_t num_active_rtp_rtcp_modules_ GUARDED_BY(crit_); |
| 321 }; | 321 }; |
| 322 | 322 |
| 323 } // namespace webrtc | 323 } // namespace webrtc |
| 324 | 324 |
| 325 #endif // WEBRTC_VIDEO_VIE_CHANNEL_H_ | 325 #endif // WEBRTC_VIDEO_VIE_CHANNEL_H_ |
| OLD | NEW |