• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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)12 RtcpCastMessage::RtcpCastMessage(uint32 media_ssrc)
13     : media_ssrc_(media_ssrc), ack_frame_id_(0u), target_delay_ms_(0) {}
~RtcpCastMessage()14 RtcpCastMessage::~RtcpCastMessage() {}
15 
Copy(const RtcpCastMessage & cast_message)16 void 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()23 RtcpReceiverEventLogMessage::RtcpReceiverEventLogMessage()
24     : type(UNKNOWN), packet_id(0u) {}
~RtcpReceiverEventLogMessage()25 RtcpReceiverEventLogMessage::~RtcpReceiverEventLogMessage() {}
26 
RtcpReceiverFrameLogMessage(uint32 timestamp)27 RtcpReceiverFrameLogMessage::RtcpReceiverFrameLogMessage(uint32 timestamp)
28     : rtp_timestamp_(timestamp) {}
~RtcpReceiverFrameLogMessage()29 RtcpReceiverFrameLogMessage::~RtcpReceiverFrameLogMessage() {}
30 
RtcpRpsiMessage()31 RtcpRpsiMessage::RtcpRpsiMessage()
32     : remote_ssrc(0u), payload_type(0u), picture_id(0u) {}
~RtcpRpsiMessage()33 RtcpRpsiMessage::~RtcpRpsiMessage() {}
34 
RtcpNackMessage()35 RtcpNackMessage::RtcpNackMessage() : remote_ssrc(0u) {}
~RtcpNackMessage()36 RtcpNackMessage::~RtcpNackMessage() {}
37 
RtcpRembMessage()38 RtcpRembMessage::RtcpRembMessage() : remb_bitrate(0u) {}
~RtcpRembMessage()39 RtcpRembMessage::~RtcpRembMessage() {}
40 
RtcpReceiverReferenceTimeReport()41 RtcpReceiverReferenceTimeReport::RtcpReceiverReferenceTimeReport()
42     : remote_ssrc(0u), ntp_seconds(0u), ntp_fraction(0u) {}
~RtcpReceiverReferenceTimeReport()43 RtcpReceiverReferenceTimeReport::~RtcpReceiverReferenceTimeReport() {}
44 
RtcpEvent()45 RtcpEvent::RtcpEvent() : type(UNKNOWN), packet_id(0u) {}
~RtcpEvent()46 RtcpEvent::~RtcpEvent() {}
47 
48 }  // namespace cast
49 }  // namespace media
50