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

Unified Diff: chrome/renderer/media/cast_rtp_stream.cc

Issue 339743002: Cast: Make vp8 3-buffer mode work (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge, fix, cleanup, rince, repeat Created 6 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | media/cast/net/rtp/framer.h » ('j') | media/cast/net/rtp/framer.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/media/cast_rtp_stream.cc
diff --git a/chrome/renderer/media/cast_rtp_stream.cc b/chrome/renderer/media/cast_rtp_stream.cc
index dfcca7ac9c87def7ecdcdd4bf69b579275b43892..657b5659ec17aea928a0f80b1d9bd6fa18f58437 100644
--- a/chrome/renderer/media/cast_rtp_stream.cc
+++ b/chrome/renderer/media/cast_rtp_stream.cc
@@ -208,6 +208,7 @@ bool ToVideoSenderConfig(const CastRtpParams& params,
if (config->max_frame_rate > 120)
return false;
if (params.payload.codec_name == kCodecNameVp8) {
+ config->max_number_of_video_buffers_used = 3;
Alpha Left Google 2014/08/25 23:23:44 Two issues: 1. We do not want to turn on this mod
hubbe 2014/08/27 04:14:03 1. Done 2. Agreed, but perhaps in a separate CL.
config->use_external_encoder = IsHardwareVP8EncodingSupported();
config->codec = media::cast::CODEC_VIDEO_VP8;
} else if (params.payload.codec_name == kCodecNameH264) {
« no previous file with comments | « no previous file | media/cast/net/rtp/framer.h » ('j') | media/cast/net/rtp/framer.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698