c***@googlecode.com
2016-02-18 10:16:53 UTC
Status: Assigned
Owner: ***@chromium.org
Labels: Type-Bug Pri-2 Cr-Blink-WebRTC OS-All Cr-Blink-CaptureStream
New issue 587789 by ***@opera.com: canvas.captureStream(0) does not
always capture the first frame
https://code.google.com/p/chromium/issues/detail?id=587789
Test case:
<!DOCTYPE html>
<canvas></canvas><video></video>
<script>
var canvas = document.querySelector('canvas');
var ctx = canvas.getContext('2d');
ctx.width = ctx.height = 100;
ctx.fillStyle = 'purple';
ctx.fillRect(0, 0, 50, 50);
var ms = canvas.captureStream(0);
var video = document.querySelector('video');
video.src = URL.createObjectURL(ms);
video.play();
</script>
In Live DOM Viewer:
http://software.hixie.ch/utilities/js/live-dom-viewer/saved/3897
At the point where captureStream(0) is called, fillRect has already been
called, yet it does not show up in the video.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
Owner: ***@chromium.org
Labels: Type-Bug Pri-2 Cr-Blink-WebRTC OS-All Cr-Blink-CaptureStream
New issue 587789 by ***@opera.com: canvas.captureStream(0) does not
always capture the first frame
https://code.google.com/p/chromium/issues/detail?id=587789
Test case:
<!DOCTYPE html>
<canvas></canvas><video></video>
<script>
var canvas = document.querySelector('canvas');
var ctx = canvas.getContext('2d');
ctx.width = ctx.height = 100;
ctx.fillStyle = 'purple';
ctx.fillRect(0, 0, 50, 50);
var ms = canvas.captureStream(0);
var video = document.querySelector('video');
video.src = URL.createObjectURL(ms);
video.play();
</script>
In Live DOM Viewer:
http://software.hixie.ch/utilities/js/live-dom-viewer/saved/3897
At the point where captureStream(0) is called, fillRect has already been
called, yet it does not show up in the video.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/a/chromium.org/group/chromium-bugs
---
You received this message because you are subscribed to the Google Groups "Chromium-bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-bugs+***@chromium.org.
--
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/a/chromium.org/group/chromium-bugs
---
You received this message because you are subscribed to the Google Groups "Chromium-bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-bugs+***@chromium.org.