aboutsummaryrefslogtreecommitdiff
path: root/webrtc/common_types.h
diff options
context:
space:
mode:
authorMinyue <minyue@webrtc.org>2015-08-10 15:08:36 +0200
committerMinyue <minyue@webrtc.org>2015-08-10 13:08:46 +0000
commit4cee419e0777dcbfbd0837e26bed202e35e696a9 (patch)
treefd1be3c19d17e9dd93dc393f3e015a2f59497b59 /webrtc/common_types.h
parentc2ee2c86f905991a8cd05ee1f35bea105b41e4e0 (diff)
downloadwebrtc-4cee419e0777dcbfbd0837e26bed202e35e696a9.tar.gz
Separating voice activity flag from audio level in RtpHeaderExtension.
VAD flag was embedded in RtpHeaderExtension.audioLevel, which is not easy to interpret. This CL tries to separate the flag with the actual audio level. BUG= R=andrew@webrtc.org, henrik.lundin@webrtc.org Review URL: https://codereview.webrtc.org/1272343003 . Cr-Commit-Position: refs/heads/master@{#9691}
Diffstat (limited to 'webrtc/common_types.h')
-rw-r--r--webrtc/common_types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/webrtc/common_types.h b/webrtc/common_types.h
index ac56eb1cf1..39ece41197 100644
--- a/webrtc/common_types.h
+++ b/webrtc/common_types.h
@@ -804,6 +804,7 @@ struct RTPHeaderExtension {
// Audio Level includes both level in dBov and voiced/unvoiced bit. See:
// https://datatracker.ietf.org/doc/draft-lennox-avt-rtp-audio-level-exthdr/
bool hasAudioLevel;
+ bool voiceActivity;
uint8_t audioLevel;
// For Coordination of Video Orientation. See