| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "media/cast/net/cast_transport_config.h" | 5 #include "media/cast/net/cast_transport_config.h" |
| 6 | 6 |
| 7 namespace media { | 7 namespace media { |
| 8 namespace cast { | 8 namespace cast { |
| 9 | 9 |
| 10 CastTransportRtpConfig::CastTransportRtpConfig() | 10 CastTransportRtpConfig::CastTransportRtpConfig() |
| 11 : ssrc(0), feedback_ssrc(0), rtp_payload_type(0), stored_frames(0) {} | 11 : ssrc(0), feedback_ssrc(0), rtp_payload_type(0), stored_frames(0) {} |
| 12 | 12 |
| 13 CastTransportRtpConfig::~CastTransportRtpConfig() {} | 13 CastTransportRtpConfig::~CastTransportRtpConfig() {} |
| 14 | 14 |
| 15 EncodedFrame::EncodedFrame() | 15 EncodedFrame::EncodedFrame() |
| 16 : dependency(UNKNOWN_DEPENDENCY), | 16 : dependency(UNKNOWN_DEPENDENCY), |
| 17 frame_id(0), | 17 frame_id(0), |
| 18 referenced_frame_id(0), | 18 referenced_frame_id(0), |
| 19 rtp_timestamp(0) {} | 19 rtp_timestamp(0), |
| 20 new_playout_delay_ms(0) {} |
| 20 | 21 |
| 21 EncodedFrame::~EncodedFrame() {} | 22 EncodedFrame::~EncodedFrame() {} |
| 22 | 23 |
| 23 void EncodedFrame::CopyMetadataTo(EncodedFrame* dest) const { | 24 void EncodedFrame::CopyMetadataTo(EncodedFrame* dest) const { |
| 24 DCHECK(dest); | 25 DCHECK(dest); |
| 25 dest->dependency = this->dependency; | 26 dest->dependency = this->dependency; |
| 26 dest->frame_id = this->frame_id; | 27 dest->frame_id = this->frame_id; |
| 27 dest->referenced_frame_id = this->referenced_frame_id; | 28 dest->referenced_frame_id = this->referenced_frame_id; |
| 28 dest->rtp_timestamp = this->rtp_timestamp; | 29 dest->rtp_timestamp = this->rtp_timestamp; |
| 29 dest->reference_time = this->reference_time; | 30 dest->reference_time = this->reference_time; |
| (...skipping 17 matching lines...) Expand all Loading... |
| 47 last_sr(0), | 48 last_sr(0), |
| 48 delay_since_last_sr(0) {} | 49 delay_since_last_sr(0) {} |
| 49 RtcpReportBlock::~RtcpReportBlock() {} | 50 RtcpReportBlock::~RtcpReportBlock() {} |
| 50 | 51 |
| 51 RtcpDlrrReportBlock::RtcpDlrrReportBlock() | 52 RtcpDlrrReportBlock::RtcpDlrrReportBlock() |
| 52 : last_rr(0), delay_since_last_rr(0) {} | 53 : last_rr(0), delay_since_last_rr(0) {} |
| 53 RtcpDlrrReportBlock::~RtcpDlrrReportBlock() {} | 54 RtcpDlrrReportBlock::~RtcpDlrrReportBlock() {} |
| 54 | 55 |
| 55 } // namespace cast | 56 } // namespace cast |
| 56 } // namespace media | 57 } // namespace media |
| OLD | NEW |