by mixing the the jsmpeg call script with php and it works, but not for more than 9 canvas, if I choose to display 10 canvas the first one will disappear and WebGL error appears saying : WARNING: Too many active WebGL contexts. Oldest context will be lost. WebGLRenderer.IsSupported @ jsmpeg.min.js:3 jsmpeg.min.js:2 WARNING: Too many active WebGL contexts. Oldest context will be lost. WebGLRenderer @ jsmpeg.min.js:2
<?php
$lin = 4;
$col = 4;
$streamport=8082;?>
<?php
$x=1;$y=1;$left="0px";$top="";
function drawCam($iTop, $iLeft,$canvas_ID)
{
$top = ($iTop240)."px";
$left = ($iLeft320)."px";
by mixing the the jsmpeg call script with php and it works, but not for more than 9 canvas, if I choose to display 10 canvas the first one will disappear and WebGL error appears saying : WARNING: Too many active WebGL contexts. Oldest context will be lost. WebGLRenderer.IsSupported @ jsmpeg.min.js:3 jsmpeg.min.js:2 WARNING: Too many active WebGL contexts. Oldest context will be lost. WebGLRenderer @ jsmpeg.min.js:2
<?php $lin = 4; $col = 4; $streamport=8082;?>
function drawCam($iTop, $iLeft,$canvas_ID) { $top = ($iTop240)."px"; $left = ($iLeft320)."px";
} for ($i=0; $i < $lin; $i++) {
Githubissues.for ($j=0; $j< $col; $j++) { $canvas_ID="video-canvas".$i.$j; drawCam($i,$j,$canvas_ID); } } ?>