Updates:
Status: Assigned
Owner:
w...@chromium.org
Cc: -
w...@chromium.org jans...@chromium.org
Comment #15 on issue 110938 by
jans...@chromium.org: video.onloadedmetadata
Did some more testing and it is consistent, it is not consistent when using
a timeout for 500ms however .
It happens both for local and remote streams consistently, also got some
input from Henrik K that I should not add things that affects timings to
much in JS so I removed debugger and the conditions so that we always
update the video size even if it is 0.
/**
* @private
* @param {string} videoTagId The ID of the video tag to update.
*/
function updateVideoTagSize_(videoTagId) {
var videoTag = $(videoTagId);
// Don't update if sizes are 0 (happens for Chrome M23).
debug('updateVideoTagSize: Set video tag "' + videoTagId + '" width and
height to ' +
videoTag.videoWidth + 'x' + videoTag.videoHeight);
videoTag.width = videoTag.videoWidth;
videoTag.height = videoTag.videoHeight;
}
peer_2604 says: updateVideoTagSize: Set video tag "local-view" width and
height to
0x0
peer_2604 says: updateVideoTagSize: Set video tag "remote-view" width and
height to 0x0
Link to the unmodified test page, update the function updateVideoTagSize in
getusermedia.js according to the function above:
http://src.chromium.org/viewvc/chrome/trunk/src/chrome/test/data/webrtc/manual/peerconnection.html
How did you test this?