Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

102
Views
Delayed video playback on Chrome when using Javascript

Using JSMpeg (https://github.com/phoboslab/jsmpeg) the video playback is a bit smooth with Firefox but with Chrome the audio is delayed. See this demo: https://cycdpo.github.io/jsmpeg-player/

What are the possible reasons that a browser will cause delayed audio when playing videos with Javascript?

I don't suppose it's network latency:

  • A similar demo app running on my localhost with the same Chrome playback issue (audio plays first)
  • but plays smoothly with Firefox

Here's my local setup:

var player = new JSMpeg.Player('assets/video.ts', {
    canvas: canvas,
    progressive: true,
    maxAudioLag: 0,
    videoBufferSize: 1024*1024,
    audioBufferSize: 1024*1024,
    throttled: false,
    disableGl: true,
    disableWebAssembly: true,
    autoplay: true
});
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!