Updating XTBs based on .GRDs from branch master
[chromium-blink-merge.git] / media / cast / net / cast_transport_config.cc
blob2543f285f79baf98dc3894f78ce999ad41585ef4
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.
5 #include "media/cast/net/cast_transport_config.h"
7 namespace media {
8 namespace cast {
10 CastTransportRtpConfig::CastTransportRtpConfig()
11 : ssrc(0), feedback_ssrc(0), rtp_payload_type(0) {}
13 CastTransportRtpConfig::~CastTransportRtpConfig() {}
15 EncodedFrame::EncodedFrame()
16 : dependency(UNKNOWN_DEPENDENCY),
17 frame_id(0),
18 referenced_frame_id(0),
19 rtp_timestamp(0),
20 new_playout_delay_ms(0) {}
22 EncodedFrame::~EncodedFrame() {}
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;
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() {}
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() {}
52 RtcpDlrrReportBlock::RtcpDlrrReportBlock()
53 : last_rr(0), delay_since_last_rr(0) {}
54 RtcpDlrrReportBlock::~RtcpDlrrReportBlock() {}
56 } // namespace cast
57 } // namespace media