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"
10 CastTransportRtpConfig::CastTransportRtpConfig()
11 : ssrc(0), feedback_ssrc(0), rtp_payload_type(0) {}
13 CastTransportRtpConfig::~CastTransportRtpConfig() {}
15 EncodedFrame::EncodedFrame()
16 : dependency(UNKNOWN_DEPENDENCY
),
18 referenced_frame_id(0),
20 new_playout_delay_ms(0) {}
22 EncodedFrame::~EncodedFrame() {}
24 void EncodedFrame::CopyMetadataTo(EncodedFrame
* dest
) const {
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()
38 send_octet_count(0) {}
39 RtcpSenderInfo::~RtcpSenderInfo() {}
41 RtcpReportBlock::RtcpReportBlock()
46 extended_high_sequence_number(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() {}