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

Unified Diff: chrome/test/data/extensions/api_test/cast_streaming/rtp_stream_error.js

Issue 906403006: [Cast] Size-Adaptable platform video encoders. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed hubbe's comments. Created 5 years, 10 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 | « chrome/renderer/media/cast_rtp_stream.cc ('k') | media/cast/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/extensions/api_test/cast_streaming/rtp_stream_error.js
diff --git a/chrome/test/data/extensions/api_test/cast_streaming/rtp_stream_error.js b/chrome/test/data/extensions/api_test/cast_streaming/rtp_stream_error.js
index 5cdba8aee878c3f5fd8f3969b437388fc463fdd9..9db19495e35a60d1e95f38e2323bbdfa755fcdd7 100644
--- a/chrome/test/data/extensions/api_test/cast_streaming/rtp_stream_error.js
+++ b/chrome/test/data/extensions/api_test/cast_streaming/rtp_stream_error.js
@@ -39,9 +39,8 @@ chrome.test.runTests([
udpTransport.destroy(udpId);
console.log(msg);
}.bind(null, audioId, videoId)));
- // Invalid width and height.
- videoParams.payload.width = 100;
- videoParams.payload.height = 100;
+ // Specify invalid value to trigger error.
+ videoParams.payload.codecName = "Animated WebP";
udpTransport.setDestination(udpId,
{address: "127.0.0.1", port: 2344});
rtpStream.start(videoId, videoParams);
« no previous file with comments | « chrome/renderer/media/cast_rtp_stream.cc ('k') | media/cast/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698