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/rtcp/rtcp_defines.h" 6 7 #include "media/cast/logging/logging_defines.h" 8 9 namespace media { 10 namespace cast { 11 RtcpCastMessage(uint32 media_ssrc)12RtcpCastMessage::RtcpCastMessage(uint32 media_ssrc) 13 : media_ssrc_(media_ssrc), ack_frame_id_(0u), target_delay_ms_(0) {} ~RtcpCastMessage()14RtcpCastMessage::~RtcpCastMessage() {} 15 Copy(const RtcpCastMessage & cast_message)16void RtcpCastMessage::Copy(const RtcpCastMessage& cast_message) { 17 media_ssrc_ = cast_message.media_ssrc_; 18 ack_frame_id_ = cast_message.ack_frame_id_; 19 target_delay_ms_ = cast_message.target_delay_ms_; 20 missing_frames_and_packets_ = cast_message.missing_frames_and_packets_; 21 } 22 RtcpReceiverEventLogMessage()23RtcpReceiverEventLogMessage::RtcpReceiverEventLogMessage() 24 : type(UNKNOWN), packet_id(0u) {} ~RtcpReceiverEventLogMessage()25RtcpReceiverEventLogMessage::~RtcpReceiverEventLogMessage() {} 26 RtcpReceiverFrameLogMessage(uint32 timestamp)27RtcpReceiverFrameLogMessage::RtcpReceiverFrameLogMessage(uint32 timestamp) 28 : rtp_timestamp_(timestamp) {} ~RtcpReceiverFrameLogMessage()29RtcpReceiverFrameLogMessage::~RtcpReceiverFrameLogMessage() {} 30 RtcpRpsiMessage()31RtcpRpsiMessage::RtcpRpsiMessage() 32 : remote_ssrc(0u), payload_type(0u), picture_id(0u) {} ~RtcpRpsiMessage()33RtcpRpsiMessage::~RtcpRpsiMessage() {} 34 RtcpNackMessage()35RtcpNackMessage::RtcpNackMessage() : remote_ssrc(0u) {} ~RtcpNackMessage()36RtcpNackMessage::~RtcpNackMessage() {} 37 RtcpRembMessage()38RtcpRembMessage::RtcpRembMessage() : remb_bitrate(0u) {} ~RtcpRembMessage()39RtcpRembMessage::~RtcpRembMessage() {} 40 RtcpReceiverReferenceTimeReport()41RtcpReceiverReferenceTimeReport::RtcpReceiverReferenceTimeReport() 42 : remote_ssrc(0u), ntp_seconds(0u), ntp_fraction(0u) {} ~RtcpReceiverReferenceTimeReport()43RtcpReceiverReferenceTimeReport::~RtcpReceiverReferenceTimeReport() {} 44 RtcpEvent()45RtcpEvent::RtcpEvent() : type(UNKNOWN), packet_id(0u) {} ~RtcpEvent()46RtcpEvent::~RtcpEvent() {} 47 48 } // namespace cast 49 } // namespace media 50