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