| 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 RTC_DCHECK(thread_checker_.CalledOnValidThread()); | 55 RTC_DCHECK(thread_checker_.CalledOnValidThread()); |
| 56 int error = channel()->SetSendAudioLevelIndicationStatus(enable, id); | 56 int error = channel()->SetSendAudioLevelIndicationStatus(enable, id); |
| 57 RTC_DCHECK_EQ(0, error); | 57 RTC_DCHECK_EQ(0, error); |
| 58 } | 58 } |
| 59 | 59 |
| 60 void ChannelProxy::EnableSendTransportSequenceNumber(int id) { | 60 void ChannelProxy::EnableSendTransportSequenceNumber(int id) { |
| 61 RTC_DCHECK(thread_checker_.CalledOnValidThread()); | 61 RTC_DCHECK(thread_checker_.CalledOnValidThread()); |
| 62 channel()->EnableSendTransportSequenceNumber(id); | 62 channel()->EnableSendTransportSequenceNumber(id); |
| 63 } | 63 } |
| 64 | 64 |
| 65 void ChannelProxy::EnableReceiveTransportSequenceNumber(int id) { |
| 66 RTC_DCHECK(thread_checker_.CalledOnValidThread()); |
| 67 channel()->EnableReceiveTransportSequenceNumber(id); |
| 68 } |
| 69 |
| 65 void ChannelProxy::SetReceiveAbsoluteSenderTimeStatus(bool enable, int id) { | 70 void ChannelProxy::SetReceiveAbsoluteSenderTimeStatus(bool enable, int id) { |
| 66 RTC_DCHECK(thread_checker_.CalledOnValidThread()); | 71 RTC_DCHECK(thread_checker_.CalledOnValidThread()); |
| 67 int error = channel()->SetReceiveAbsoluteSenderTimeStatus(enable, id); | 72 int error = channel()->SetReceiveAbsoluteSenderTimeStatus(enable, id); |
| 68 RTC_DCHECK_EQ(0, error); | 73 RTC_DCHECK_EQ(0, error); |
| 69 } | 74 } |
| 70 | 75 |
| 71 void ChannelProxy::SetReceiveAudioLevelIndicationStatus(bool enable, int id) { | 76 void ChannelProxy::SetReceiveAudioLevelIndicationStatus(bool enable, int id) { |
| 72 RTC_DCHECK(thread_checker_.CalledOnValidThread()); | 77 RTC_DCHECK(thread_checker_.CalledOnValidThread()); |
| 73 int error = channel()->SetReceiveAudioLevelIndicationStatus(enable, id); | 78 int error = channel()->SetReceiveAudioLevelIndicationStatus(enable, id); |
| 74 RTC_DCHECK_EQ(0, error); | 79 RTC_DCHECK_EQ(0, error); |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 144 channel()->SetSink(std::move(sink)); | 149 channel()->SetSink(std::move(sink)); |
| 145 } | 150 } |
| 146 | 151 |
| 147 Channel* ChannelProxy::channel() const { | 152 Channel* ChannelProxy::channel() const { |
| 148 RTC_DCHECK(channel_owner_.channel()); | 153 RTC_DCHECK(channel_owner_.channel()); |
| 149 return channel_owner_.channel(); | 154 return channel_owner_.channel(); |
| 150 } | 155 } |
| 151 | 156 |
| 152 } // namespace voe | 157 } // namespace voe |
| 153 } // namespace webrtc | 158 } // namespace webrtc |
| OLD | NEW |