kwiberg@webrtc.org | c4e2cd0 | 2015-02-26 13:59:22 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. |
| 3 | * |
| 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 |
| 6 | * tree. An additional intellectual property rights grant can be found |
| 7 | * in the file PATENTS. All contributing project authors may |
| 8 | * be found in the AUTHORS file in the root of the source tree. |
| 9 | */ |
| 10 | |
| 11 | #include "webrtc/common_types.h" |
| 12 | |
| 13 | #include <string.h> |
| 14 | |
| 15 | namespace webrtc { |
| 16 | |
kwiberg@webrtc.org | c4e2cd0 | 2015-02-26 13:59:22 | [diff] [blame] | 17 | StreamDataCounters::StreamDataCounters() : first_packet_time_ms(-1) {} |
| 18 | |
sprang@webrtc.org | 25ec20f | 2015-03-17 14:33:12 | [diff] [blame] | 19 | RTPHeaderExtension::RTPHeaderExtension() |
| 20 | : hasTransmissionTimeOffset(false), |
| 21 | transmissionTimeOffset(0), |
| 22 | hasAbsoluteSendTime(false), |
| 23 | absoluteSendTime(0), |
| 24 | hasTransportSequenceNumber(false), |
| 25 | transportSequenceNumber(0), |
| 26 | hasAudioLevel(false), |
Minyue | da4c0f0 | 2015-08-10 13:08:36 | [diff] [blame] | 27 | voiceActivity(false), |
sprang@webrtc.org | 25ec20f | 2015-03-17 14:33:12 | [diff] [blame] | 28 | audioLevel(0), |
| 29 | hasVideoRotation(false), |
magjed | 78706f4 | 2016-09-08 10:24:58 | [diff] [blame] | 30 | videoRotation(kVideoRotation_0) {} |
sprang@webrtc.org | 25ec20f | 2015-03-17 14:33:12 | [diff] [blame] | 31 | |
kwiberg@webrtc.org | c4e2cd0 | 2015-02-26 13:59:22 | [diff] [blame] | 32 | RTPHeader::RTPHeader() |
| 33 | : markerBit(false), |
| 34 | payloadType(0), |
| 35 | sequenceNumber(0), |
| 36 | timestamp(0), |
| 37 | ssrc(0), |
| 38 | numCSRCs(0), |
tommi | a6d985c | 2016-06-15 17:30:14 | [diff] [blame] | 39 | arrOfCSRCs(), |
kwiberg@webrtc.org | c4e2cd0 | 2015-02-26 13:59:22 | [diff] [blame] | 40 | paddingLength(0), |
| 41 | headerLength(0), |
| 42 | payload_type_frequency(0), |
tommi | a6d985c | 2016-06-15 17:30:14 | [diff] [blame] | 43 | extension() {} |
kwiberg@webrtc.org | c4e2cd0 | 2015-02-26 13:59:22 | [diff] [blame] | 44 | |
| 45 | } // namespace webrtc |