Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(230)

Side by Side Diff: webrtc/voice_engine/channel_proxy.cc

Issue 1608563005: Enable transport seq num extension on receive channel to suppress log warning. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Add test. Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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
OLDNEW
« webrtc/test/mock_voe_channel_proxy.h ('K') | « webrtc/voice_engine/channel_proxy.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698