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

Side by Side Diff: webrtc/common_types.h

Issue 1272343003: Separating voice activity flag from audio level in RtpHeaderExtension. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: removing redundant comments Created 5 years, 4 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
« no previous file with comments | « no previous file | webrtc/common_types.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 786 matching lines...) Expand 10 before | Expand all | Expand 10 after
797 bool hasTransmissionTimeOffset; 797 bool hasTransmissionTimeOffset;
798 int32_t transmissionTimeOffset; 798 int32_t transmissionTimeOffset;
799 bool hasAbsoluteSendTime; 799 bool hasAbsoluteSendTime;
800 uint32_t absoluteSendTime; 800 uint32_t absoluteSendTime;
801 bool hasTransportSequenceNumber; 801 bool hasTransportSequenceNumber;
802 uint16_t transportSequenceNumber; 802 uint16_t transportSequenceNumber;
803 803
804 // Audio Level includes both level in dBov and voiced/unvoiced bit. See: 804 // Audio Level includes both level in dBov and voiced/unvoiced bit. See:
805 // https://datatracker.ietf.org/doc/draft-lennox-avt-rtp-audio-level-exthdr/ 805 // https://datatracker.ietf.org/doc/draft-lennox-avt-rtp-audio-level-exthdr/
806 bool hasAudioLevel; 806 bool hasAudioLevel;
807 bool voiceActivity;
807 uint8_t audioLevel; 808 uint8_t audioLevel;
808 809
809 // For Coordination of Video Orientation. See 810 // For Coordination of Video Orientation. See
810 // http://www.etsi.org/deliver/etsi_ts/126100_126199/126114/12.07.00_60/ 811 // http://www.etsi.org/deliver/etsi_ts/126100_126199/126114/12.07.00_60/
811 // ts_126114v120700p.pdf 812 // ts_126114v120700p.pdf
812 bool hasVideoRotation; 813 bool hasVideoRotation;
813 uint8_t videoRotation; 814 uint8_t videoRotation;
814 }; 815 };
815 816
816 struct RTPHeader { 817 struct RTPHeader {
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
899 class StreamDataCountersCallback { 900 class StreamDataCountersCallback {
900 public: 901 public:
901 virtual ~StreamDataCountersCallback() {} 902 virtual ~StreamDataCountersCallback() {}
902 903
903 virtual void DataCountersUpdated(const StreamDataCounters& counters, 904 virtual void DataCountersUpdated(const StreamDataCounters& counters,
904 uint32_t ssrc) = 0; 905 uint32_t ssrc) = 0;
905 }; 906 };
906 } // namespace webrtc 907 } // namespace webrtc
907 908
908 #endif // WEBRTC_COMMON_TYPES_H_ 909 #endif // WEBRTC_COMMON_TYPES_H_
OLDNEW
« no previous file with comments | « no previous file | webrtc/common_types.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698