Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

162
Vistas
canvas going black when using video widevine drm

My propose is draw video frame to canvas and draw thing else on canvas. I have test it success in video link without Widevine.

var canvas = document.getElementById("canvasDraw");
canvas.style.width = 1280;
canvas.style.height = 720;

var context = canvas.getContext('2d');

var video = document.getElementById('video');

function draw() {
  context.drawImage(video, 0, 0, 1280, 720);
  setTimeout(draw, 1000 / 30);
}
video.onplay = function () {
  setTimeout(draw, 1000 / 30);
}

But when I using widevine drm the frame came out is black but the audio is still playing.

Can someone help me with this ?

This is the widevine link I get from shaka-player demo

https://storage.googleapis.com/shaka-demo-assets/sintel-widevine/dash.mpd
about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda