root/media/cast/transport/cast_transport_config.cc

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. payload_type
  2. channels
  3. rtp_timestamp
  4. rtp_timestamp
  5. rtp_timestamp
  6. send_octet_count
  7. delay_since_last_sr
  8. delay_since_last_rr
  9. sending_ssrc

// 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/transport/cast_transport_config.h"

namespace media {
namespace cast {
namespace transport {

namespace {
const int kDefaultRtpHistoryMs = 1000;
const int kDefaultRtpMaxDelayMs = 100;
}  // namespace

RtpConfig::RtpConfig()
    : history_ms(kDefaultRtpHistoryMs),
      max_delay_ms(kDefaultRtpMaxDelayMs),
      payload_type(0) {}

CastTransportBaseConfig::CastTransportBaseConfig()
    : ssrc(0) {}

CastTransportBaseConfig::~CastTransportBaseConfig() {}

CastTransportAudioConfig::CastTransportAudioConfig()
    : codec(kOpus), frequency(0), channels(0) {}

CastTransportAudioConfig::~CastTransportAudioConfig() {}

CastTransportVideoConfig::CastTransportVideoConfig() : codec(kVp8) {}

CastTransportVideoConfig::~CastTransportVideoConfig() {}

EncodedVideoFrame::EncodedVideoFrame()
    : codec(kVp8),
      key_frame(false),
      frame_id(0),
      last_referenced_frame_id(0),
      rtp_timestamp(0) {}
EncodedVideoFrame::~EncodedVideoFrame() {}

EncodedAudioFrame::EncodedAudioFrame()
    : codec(kOpus), frame_id(0), rtp_timestamp(0) {}
EncodedAudioFrame::~EncodedAudioFrame() {}

RtcpSenderFrameLogMessage::RtcpSenderFrameLogMessage()
    : frame_status(kRtcpSenderFrameStatusUnknown), rtp_timestamp(0) {}
RtcpSenderFrameLogMessage::~RtcpSenderFrameLogMessage() {}

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 transport
}  // namespace cast
}  // namespace media

/* [<][>][^][v][top][bottom][index][help] */