mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-21 07:47:32 +09:00
[WebRTC] updated to upstream branch 49 and related.
this patch is based on 38d7a7883...226f2f0bd
This commit is contained in:
parent
e79847e7b9
commit
a3239eaa4d
2838 changed files with 151221 additions and 159688 deletions
|
|
@ -52,7 +52,7 @@ runNetworkTest(() => {
|
|||
|
||||
if (!program) {
|
||||
ok(false, "Program should link");
|
||||
return Promise.reject();
|
||||
return Promise.reject("Program should link");
|
||||
}
|
||||
gl.useProgram(program);
|
||||
|
||||
|
|
@ -100,6 +100,16 @@ runNetworkTest(() => {
|
|||
},
|
||||
function DRAW_LOCAL_RED() {
|
||||
h.drawColor(canvas, h.red);
|
||||
return setInterval(function() {
|
||||
try {
|
||||
info("draw");
|
||||
h.drawColor(canvas, h.red);
|
||||
test.pcLocal.canvasStream.requestFrame();
|
||||
} catch (e) {
|
||||
// ignore; stream might have shut down, and we don't bother clearing
|
||||
// the setInterval.
|
||||
}
|
||||
}, 500);
|
||||
},
|
||||
function WAIT_FOR_REMOTE_RED() {
|
||||
return h.waitForPixelColor(vremote, h.red, 128,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue