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 10 matching lines...) Expand all Loading... |
21 StreamDataCounters::StreamDataCounters() : first_packet_time_ms(-1) {} | 21 StreamDataCounters::StreamDataCounters() : first_packet_time_ms(-1) {} |
22 | 22 |
23 RTPHeaderExtension::RTPHeaderExtension() | 23 RTPHeaderExtension::RTPHeaderExtension() |
24 : hasTransmissionTimeOffset(false), | 24 : hasTransmissionTimeOffset(false), |
25 transmissionTimeOffset(0), | 25 transmissionTimeOffset(0), |
26 hasAbsoluteSendTime(false), | 26 hasAbsoluteSendTime(false), |
27 absoluteSendTime(0), | 27 absoluteSendTime(0), |
28 hasTransportSequenceNumber(false), | 28 hasTransportSequenceNumber(false), |
29 transportSequenceNumber(0), | 29 transportSequenceNumber(0), |
30 hasAudioLevel(false), | 30 hasAudioLevel(false), |
| 31 voiceActivity(false), |
31 audioLevel(0), | 32 audioLevel(0), |
32 hasVideoRotation(false), | 33 hasVideoRotation(false), |
33 videoRotation(0) { | 34 videoRotation(0) { |
34 } | 35 } |
35 | 36 |
36 RTPHeader::RTPHeader() | 37 RTPHeader::RTPHeader() |
37 : markerBit(false), | 38 : markerBit(false), |
38 payloadType(0), | 39 payloadType(0), |
39 sequenceNumber(0), | 40 sequenceNumber(0), |
40 timestamp(0), | 41 timestamp(0), |
41 ssrc(0), | 42 ssrc(0), |
42 numCSRCs(0), | 43 numCSRCs(0), |
43 paddingLength(0), | 44 paddingLength(0), |
44 headerLength(0), | 45 headerLength(0), |
45 payload_type_frequency(0), | 46 payload_type_frequency(0), |
46 extension() { | 47 extension() { |
47 memset(&arrOfCSRCs, 0, sizeof(arrOfCSRCs)); | 48 memset(&arrOfCSRCs, 0, sizeof(arrOfCSRCs)); |
48 } | 49 } |
49 | 50 |
50 } // namespace webrtc | 51 } // namespace webrtc |
OLD | NEW |