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 | |
kjellander@webrtc.org | f30d5ec | 2015-03-04 20:09:40 | [diff] [blame] | 17 | int InStream::Rewind() { return -1; } |
kwiberg@webrtc.org | c4e2cd0 | 2015-02-26 13:59:22 | [diff] [blame] | 18 | |
kjellander@webrtc.org | f30d5ec | 2015-03-04 20:09:40 | [diff] [blame] | 19 | int OutStream::Rewind() { return -1; } |
kwiberg@webrtc.org | c4e2cd0 | 2015-02-26 13:59:22 | [diff] [blame] | 20 | |
| 21 | StreamDataCounters::StreamDataCounters() : first_packet_time_ms(-1) {} |
| 22 | |
sprang@webrtc.org | 25ec20f | 2015-03-17 14:33:12 | [diff] [blame] | 23 | RTPHeaderExtension::RTPHeaderExtension() |
| 24 | : hasTransmissionTimeOffset(false), |
| 25 | transmissionTimeOffset(0), |
| 26 | hasAbsoluteSendTime(false), |
| 27 | absoluteSendTime(0), |
| 28 | hasTransportSequenceNumber(false), |
| 29 | transportSequenceNumber(0), |
| 30 | hasAudioLevel(false), |
Minyue | da4c0f0 | 2015-08-10 13:08:36 | [diff] [blame] | 31 | voiceActivity(false), |
sprang@webrtc.org | 25ec20f | 2015-03-17 14:33:12 | [diff] [blame] | 32 | audioLevel(0), |
| 33 | hasVideoRotation(false), |
| 34 | videoRotation(0) { |
| 35 | } |
| 36 | |
kwiberg@webrtc.org | c4e2cd0 | 2015-02-26 13:59:22 | [diff] [blame] | 37 | RTPHeader::RTPHeader() |
| 38 | : markerBit(false), |
| 39 | payloadType(0), |
| 40 | sequenceNumber(0), |
| 41 | timestamp(0), |
| 42 | ssrc(0), |
| 43 | numCSRCs(0), |
| 44 | paddingLength(0), |
| 45 | headerLength(0), |
| 46 | payload_type_frequency(0), |
| 47 | extension() { |
| 48 | memset(&arrOfCSRCs, 0, sizeof(arrOfCSRCs)); |
| 49 | } |
| 50 | |
| 51 | } // namespace webrtc |