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

Side by Side Diff: webrtc/media/engine/webrtcvideoengine.cc

Issue 2941023002: Use the same QP max for tests as in production (Closed)
Patch Set: cleanup Created 3 years, 6 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
« no previous file with comments | « webrtc/media/engine/webrtcvideoengine.h ('k') | webrtc/video/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 // TODO(pbos): Move these to a separate constants.cc file. 355 // TODO(pbos): Move these to a separate constants.cc file.
356 const int kMinVideoBitrateKbps = 30; 356 const int kMinVideoBitrateKbps = 30;
357 357
358 const int kVideoMtu = 1200; 358 const int kVideoMtu = 1200;
359 const int kVideoRtpBufferSize = 65536; 359 const int kVideoRtpBufferSize = 65536;
360 360
361 // This constant is really an on/off, lower-level configurable NACK history 361 // This constant is really an on/off, lower-level configurable NACK history
362 // duration hasn't been implemented. 362 // duration hasn't been implemented.
363 static const int kNackHistoryMs = 1000; 363 static const int kNackHistoryMs = 1000;
364 364
365 static const int kDefaultQpMax = 56;
366
367 static const int kDefaultRtcpReceiverReportSsrc = 1; 365 static const int kDefaultRtcpReceiverReportSsrc = 1;
368 366
369 // Minimum time interval for logging stats. 367 // Minimum time interval for logging stats.
370 static const int64_t kStatsLogIntervalMs = 10000; 368 static const int64_t kStatsLogIntervalMs = 10000;
371 369
372 static std::vector<VideoCodec> GetSupportedCodecs( 370 static std::vector<VideoCodec> GetSupportedCodecs(
373 const WebRtcVideoEncoderFactory* external_encoder_factory); 371 const WebRtcVideoEncoderFactory* external_encoder_factory);
374 372
375 rtc::scoped_refptr<webrtc::VideoEncoderConfig::EncoderSpecificSettings> 373 rtc::scoped_refptr<webrtc::VideoEncoderConfig::EncoderSpecificSettings>
376 WebRtcVideoChannel::WebRtcVideoSendStream::ConfigureVideoEncoderSettings( 374 WebRtcVideoChannel::WebRtcVideoSendStream::ConfigureVideoEncoderSettings(
(...skipping 2295 matching lines...) Expand 10 before | Expand all | Expand 10 after
2672 rtx_mapping[video_codecs[i].codec.id] != 2670 rtx_mapping[video_codecs[i].codec.id] !=
2673 ulpfec_config.red_payload_type) { 2671 ulpfec_config.red_payload_type) {
2674 video_codecs[i].rtx_payload_type = rtx_mapping[video_codecs[i].codec.id]; 2672 video_codecs[i].rtx_payload_type = rtx_mapping[video_codecs[i].codec.id];
2675 } 2673 }
2676 } 2674 }
2677 2675
2678 return video_codecs; 2676 return video_codecs;
2679 } 2677 }
2680 2678
2681 } // namespace cricket 2679 } // namespace cricket
OLDNEW
« no previous file with comments | « webrtc/media/engine/webrtcvideoengine.h ('k') | webrtc/video/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698