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

Unified Diff: chrome/test/data/webrtc/jsep01_call.js

Issue 12472032: Add screen capture constraints, video tag resize and removed auto video resize (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@testingscreen
Patch Set: removed line break Created 7 years, 9 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
Index: chrome/test/data/webrtc/jsep01_call.js
diff --git a/chrome/test/data/webrtc/jsep01_call.js b/chrome/test/data/webrtc/jsep01_call.js
index e70ba3c588eac1aab47336e371082ac095b58d4c..1d5a0093adf537a0fdd3a24238e7a2dd6e51a9cc 100644
--- a/chrome/test/data/webrtc/jsep01_call.js
+++ b/chrome/test/data/webrtc/jsep01_call.js
@@ -222,7 +222,9 @@ function addStreamCallback_(event) {
// Due to crbug.com/110938 the size is 0 when onloadedmetadata fires.
// videoTag.onloadedmetadata = updateVideoTagSize_('remote-view');
// Use setTimeout as a workaround for now.
- setTimeout(function() {updateVideoTagSize_('remote-view')}, 500);
+ // setTimeout(function() {updateVideoTagSize_('remote-view')}, 500);
kjellander_chromium 2013/03/25 13:33:58 Remove the unused code and update the code to be p
jansson 2013/04/05 10:29:42 Done.
+ // Displays the remote video size for both the video element and the stream.
+ setTimeout(function() {displayVideoSize(videoTag);}, 500);
}
/** @private */

Powered by Google App Engine
This is Rietveld 408576698