video-dev / video-dev/hls.js

Stream not playing on Safari but playing perfectly fine on chrome.

Open
#3,179 12 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

browser: Safari Bug Revisit-at-later-release-cycle Stream Issue
Dominant language
TypeScript
Stars
16.9k
Forks
2.8k
Avg merge
1d 12h
Merged PRs (30d)
27

Description

What version of Hls.js are you using?

14.2 and tested with latest version also.

What browser and OS are you using?

safari and macOS

Test stream:

https://d.rev-qa.vbrick.com/downloads/videos/54f450ca-6d21-4736-ab11-ab9c0607a6d2/instances/speaker-mbr.m3u8

Checklist
  • The stream has correct Access-Control-Allow-Origin headers (CORS)
  • There are no network errors such as 404s in the browser console when trying to play the stream
Steps to reproduce
  1. Play the above mentioned stream on safari using hls.js
Expected behavior
  1. Stream should play like it is playing perfectly on chrome and IE Edge.
Actual behavior
  1. Stream is not playing on safari
Console output
Paste the contents of the browser console here.
For media errors reported on Chrome browser, please also paste the output of chrome://media-internals 

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the hls.js demo and the supplied M3U8 stream in Safari on macOS, then compare its behavior and console or media errors with Chrome. Trace the playback failure to the relevant Safari handling and verify the stream plays successfully in the demo without regressing other browsers.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, typescript
Domain
audio-video-rtc, frontend, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.