Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / media / cast / net / rtcp / rtcp_defines.cc
blobf0ceef307890f1ab20aeec0c20401819d77a9b14
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/rtcp/rtcp_defines.h"
7 #include "media/cast/logging/logging_defines.h"
9 namespace media {
10 namespace cast {
12 RtcpCastMessage::RtcpCastMessage(uint32 ssrc)
13 : media_ssrc(ssrc), ack_frame_id(0u), target_delay_ms(0) {}
14 RtcpCastMessage::RtcpCastMessage()
15 : media_ssrc(0), ack_frame_id(0u), target_delay_ms(0) {}
16 RtcpCastMessage::~RtcpCastMessage() {}
18 RtcpReceiverEventLogMessage::RtcpReceiverEventLogMessage()
19 : type(UNKNOWN), packet_id(0u) {}
20 RtcpReceiverEventLogMessage::~RtcpReceiverEventLogMessage() {}
22 RtcpReceiverFrameLogMessage::RtcpReceiverFrameLogMessage(uint32 timestamp)
23 : rtp_timestamp_(timestamp) {}
24 RtcpReceiverFrameLogMessage::~RtcpReceiverFrameLogMessage() {}
26 RtcpNackMessage::RtcpNackMessage() : remote_ssrc(0u) {}
27 RtcpNackMessage::~RtcpNackMessage() {}
29 RtcpReceiverReferenceTimeReport::RtcpReceiverReferenceTimeReport()
30 : remote_ssrc(0u), ntp_seconds(0u), ntp_fraction(0u) {}
31 RtcpReceiverReferenceTimeReport::~RtcpReceiverReferenceTimeReport() {}
33 RtcpEvent::RtcpEvent() : type(UNKNOWN), packet_id(0u) {}
34 RtcpEvent::~RtcpEvent() {}
36 RtpReceiverStatistics::RtpReceiverStatistics() :
37 fraction_lost(0),
38 cumulative_lost(0),
39 extended_high_sequence_number(0),
40 jitter(0) {}
42 SendRtcpFromRtpReceiver_Params::SendRtcpFromRtpReceiver_Params()
43 : ssrc(0),
44 sender_ssrc(0) {}
46 SendRtcpFromRtpReceiver_Params::~SendRtcpFromRtpReceiver_Params() {}
48 } // namespace cast
49 } // namespace media