| OLD | NEW |
| (Empty) |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "media/cast/transport/cast_transport_config.h" | |
| 6 | |
| 7 namespace media { | |
| 8 namespace cast { | |
| 9 namespace transport { | |
| 10 | |
| 11 CastTransportRtpConfig::CastTransportRtpConfig() | |
| 12 : ssrc(0), rtp_payload_type(0), stored_frames(0) {} | |
| 13 | |
| 14 CastTransportRtpConfig::~CastTransportRtpConfig() {} | |
| 15 | |
| 16 EncodedFrame::EncodedFrame() | |
| 17 : dependency(UNKNOWN_DEPENDENCY), | |
| 18 frame_id(0), | |
| 19 referenced_frame_id(0), | |
| 20 rtp_timestamp(0) {} | |
| 21 | |
| 22 EncodedFrame::~EncodedFrame() {} | |
| 23 | |
| 24 void EncodedFrame::CopyMetadataTo(EncodedFrame* dest) const { | |
| 25 DCHECK(dest); | |
| 26 dest->dependency = this->dependency; | |
| 27 dest->frame_id = this->frame_id; | |
| 28 dest->referenced_frame_id = this->referenced_frame_id; | |
| 29 dest->rtp_timestamp = this->rtp_timestamp; | |
| 30 dest->reference_time = this->reference_time; | |
| 31 } | |
| 32 | |
| 33 RtcpSenderInfo::RtcpSenderInfo() | |
| 34 : ntp_seconds(0), | |
| 35 ntp_fraction(0), | |
| 36 rtp_timestamp(0), | |
| 37 send_packet_count(0), | |
| 38 send_octet_count(0) {} | |
| 39 RtcpSenderInfo::~RtcpSenderInfo() {} | |
| 40 | |
| 41 RtcpReportBlock::RtcpReportBlock() | |
| 42 : remote_ssrc(0), | |
| 43 media_ssrc(0), | |
| 44 fraction_lost(0), | |
| 45 cumulative_lost(0), | |
| 46 extended_high_sequence_number(0), | |
| 47 jitter(0), | |
| 48 last_sr(0), | |
| 49 delay_since_last_sr(0) {} | |
| 50 RtcpReportBlock::~RtcpReportBlock() {} | |
| 51 | |
| 52 RtcpDlrrReportBlock::RtcpDlrrReportBlock() | |
| 53 : last_rr(0), delay_since_last_rr(0) {} | |
| 54 RtcpDlrrReportBlock::~RtcpDlrrReportBlock() {} | |
| 55 | |
| 56 SendRtcpFromRtpSenderData::SendRtcpFromRtpSenderData() | |
| 57 : packet_type_flags(0), sending_ssrc(0) {} | |
| 58 SendRtcpFromRtpSenderData::~SendRtcpFromRtpSenderData() {} | |
| 59 | |
| 60 } // namespace transport | |
| 61 } // namespace cast | |
| 62 } // namespace media | |
| OLD | NEW |