OLD | NEW |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2015 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
64 PacketRouter* packet_router); | 64 PacketRouter* packet_router); |
65 virtual void ResetCongestionControlObjects(); | 65 virtual void ResetCongestionControlObjects(); |
66 virtual CallStatistics GetRTCPStatistics() const; | 66 virtual CallStatistics GetRTCPStatistics() const; |
67 virtual std::vector<ReportBlock> GetRemoteRTCPReportBlocks() const; | 67 virtual std::vector<ReportBlock> GetRemoteRTCPReportBlocks() const; |
68 virtual NetworkStatistics GetNetworkStatistics() const; | 68 virtual NetworkStatistics GetNetworkStatistics() const; |
69 virtual AudioDecodingCallStats GetDecodingCallStatistics() const; | 69 virtual AudioDecodingCallStats GetDecodingCallStatistics() const; |
70 virtual int32_t GetSpeechOutputLevelFullRange() const; | 70 virtual int32_t GetSpeechOutputLevelFullRange() const; |
71 virtual uint32_t GetDelayEstimate() const; | 71 virtual uint32_t GetDelayEstimate() const; |
72 virtual bool SetSendTelephoneEventPayloadType(int payload_type); | 72 virtual bool SetSendTelephoneEventPayloadType(int payload_type); |
73 virtual bool SendTelephoneEventOutband(int event, int duration_ms); | 73 virtual bool SendTelephoneEventOutband(int event, int duration_ms); |
74 virtual void SetBitrate(int bitrate_bps); | 74 virtual void SetBitrate(int bitrate_bps, |
75 rtc::Optional<int64_t> probing_interval_ms); | |
michaelt
2016/11/24 13:47:18
I pass here rtc::Optional<int64_t>, since we shoul
stefan-webrtc
2016/11/24 13:52:40
Hm, why don't we pass optional all the way from th
michaelt
2016/11/24 13:59:37
When the start BWE is lower than the actual BW, we
stefan-webrtc
2016/11/24 14:07:11
Ok, I guess my question is, why does it even have
michaelt
2016/11/24 15:13:46
I made it Optional because of VoECodec::SetBitRate
stefan-webrtc
2016/11/24 15:19:02
I would remove that method too. Maybe that should
| |
75 virtual void SetSink(std::unique_ptr<AudioSinkInterface> sink); | 76 virtual void SetSink(std::unique_ptr<AudioSinkInterface> sink); |
76 virtual void SetInputMute(bool muted); | 77 virtual void SetInputMute(bool muted); |
77 virtual void RegisterExternalTransport(Transport* transport); | 78 virtual void RegisterExternalTransport(Transport* transport); |
78 virtual void DeRegisterExternalTransport(); | 79 virtual void DeRegisterExternalTransport(); |
79 virtual bool ReceivedRTPPacket(const uint8_t* packet, | 80 virtual bool ReceivedRTPPacket(const uint8_t* packet, |
80 size_t length, | 81 size_t length, |
81 const PacketTime& packet_time); | 82 const PacketTime& packet_time); |
82 virtual bool ReceivedRTCPPacket(const uint8_t* packet, size_t length); | 83 virtual bool ReceivedRTCPPacket(const uint8_t* packet, size_t length); |
83 virtual const rtc::scoped_refptr<AudioDecoderFactory>& | 84 virtual const rtc::scoped_refptr<AudioDecoderFactory>& |
84 GetAudioDecoderFactory() const; | 85 GetAudioDecoderFactory() const; |
(...skipping 17 matching lines...) Expand all Loading... | |
102 rtc::ThreadChecker thread_checker_; | 103 rtc::ThreadChecker thread_checker_; |
103 rtc::RaceChecker race_checker_; | 104 rtc::RaceChecker race_checker_; |
104 ChannelOwner channel_owner_; | 105 ChannelOwner channel_owner_; |
105 | 106 |
106 RTC_DISALLOW_COPY_AND_ASSIGN(ChannelProxy); | 107 RTC_DISALLOW_COPY_AND_ASSIGN(ChannelProxy); |
107 }; | 108 }; |
108 } // namespace voe | 109 } // namespace voe |
109 } // namespace webrtc | 110 } // namespace webrtc |
110 | 111 |
111 #endif // WEBRTC_VOICE_ENGINE_CHANNEL_PROXY_H_ | 112 #endif // WEBRTC_VOICE_ENGINE_CHANNEL_PROXY_H_ |
OLD | NEW |