OLD | NEW |
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 Loading... |
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 Loading... |
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_ |
OLD | NEW |