Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1483)

Side by Side Diff: media/cast/transport/cast_transport_config.cc

Issue 268983002: Revert of Cast: Fix two video freezing problems (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/transport/cast_transport_config.h" 5 #include "media/cast/transport/cast_transport_config.h"
6 6
7 namespace media { 7 namespace media {
8 namespace cast { 8 namespace cast {
9 namespace transport { 9 namespace transport {
10 10
11 namespace { 11 namespace {
12 const int kDefaultRtpHistoryMs = 1000;
12 const int kDefaultRtpMaxDelayMs = 100; 13 const int kDefaultRtpMaxDelayMs = 100;
13 } // namespace 14 } // namespace
14 15
15 RtpConfig::RtpConfig() 16 RtpConfig::RtpConfig()
16 : ssrc(0), 17 : history_ms(kDefaultRtpHistoryMs),
17 max_delay_ms(kDefaultRtpMaxDelayMs), 18 max_delay_ms(kDefaultRtpMaxDelayMs),
18 payload_type(0) {} 19 payload_type(0) {}
19 20
20 RtpConfig::~RtpConfig() {} 21 CastTransportBaseConfig::CastTransportBaseConfig()
22 : ssrc(0) {}
21 23
22 CastTransportRtpConfig::CastTransportRtpConfig() 24 CastTransportBaseConfig::~CastTransportBaseConfig() {}
23 : max_outstanding_frames(-1) {}
24
25 CastTransportRtpConfig::~CastTransportRtpConfig() {}
26 25
27 CastTransportAudioConfig::CastTransportAudioConfig() 26 CastTransportAudioConfig::CastTransportAudioConfig()
28 : codec(kOpus), frequency(0), channels(0) {} 27 : codec(kOpus), frequency(0), channels(0) {}
29 28
30 CastTransportAudioConfig::~CastTransportAudioConfig() {} 29 CastTransportAudioConfig::~CastTransportAudioConfig() {}
31 30
32 CastTransportVideoConfig::CastTransportVideoConfig() : codec(kVp8) {} 31 CastTransportVideoConfig::CastTransportVideoConfig() : codec(kVp8) {}
33 32
34 CastTransportVideoConfig::~CastTransportVideoConfig() {} 33 CastTransportVideoConfig::~CastTransportVideoConfig() {}
35 34
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 : last_rr(0), delay_since_last_rr(0) {} 71 : last_rr(0), delay_since_last_rr(0) {}
73 RtcpDlrrReportBlock::~RtcpDlrrReportBlock() {} 72 RtcpDlrrReportBlock::~RtcpDlrrReportBlock() {}
74 73
75 SendRtcpFromRtpSenderData::SendRtcpFromRtpSenderData() 74 SendRtcpFromRtpSenderData::SendRtcpFromRtpSenderData()
76 : packet_type_flags(0), sending_ssrc(0) {} 75 : packet_type_flags(0), sending_ssrc(0) {}
77 SendRtcpFromRtpSenderData::~SendRtcpFromRtpSenderData() {} 76 SendRtcpFromRtpSenderData::~SendRtcpFromRtpSenderData() {}
78 77
79 } // namespace transport 78 } // namespace transport
80 } // namespace cast 79 } // namespace cast
81 } // namespace media 80 } // namespace media
OLDNEW
« no previous file with comments | « media/cast/transport/cast_transport_config.h ('k') | media/cast/transport/cast_transport_sender.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698