| <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
| <html> |
| <head> |
| <canvas id="canvas0" width=320px height=240px></canvas> |
| <canvas id="canvas1" width=100px height=100px></canvas> |
| <video id="video" autoplay width=320px height=240px></video> |
| <canvas id="canvas2" width=320px height=240px></canvas> |
| <script src="../resources/testharness.js"></script> |
| <script src="../resources/testharnessreport.js"></script> |
| <script src="routines.js"></script> |
| <script src="captureCanvas-webrtc-software-h264.js"></script> |
| <script> |
| if (window.internals) { |
| internals.setH264HardwareEncoderAllowed(false); |
| internals.settings.setWebRTCPlatformCodecsInGPUProcessEnabled(false); |
| } |
| |
| promise_test((test) => { |
| return doTest(test, (sdp) => setH264BaselineCodec(sdp)); |
| }, "captureStream with webrtc - h264 baseline"); |
| </script> |
| </head> |
| </html> |