xqq / mpegts.js

HTML5 MPEG2-TS / FLV Stream Player
Apache License 2.0
1.78k stars 221 forks source link

Not able to run/implement player on iPhone IOS 17.3.1, Safari 17.3.1 #171

Open vishwa-mehta-zygal opened 8 months ago

vishwa-mehta-zygal commented 8 months ago

While viewing a MPEG-TS stream in safari 17.3.1, I am calling 'mpegts.getFeatureList().mseLivePlayback' method to ensure if player is supported or not on the device, and it always returns false.

Even on bypassing it I am not able to run the stream on the browser.

(I am using the latest version, that is mpegts.js version 1.7.3)

The limitations section in readme.md says - mpegts.js is not usable on iOS version 17.0 or older caused by the banning of Media Source Extensions (available on iPadOS), iOS 17.1 works through Managed Media Source API

How to implement it for Safari browser on IOS (iPhone) ?

Thank you in advance.

cemalct commented 8 months ago

++

xqq commented 8 months ago

@vishwa-mehta-zygal @rssvxoxo

Sorry, the implementation is still on the master and didn't release into the NPM. You have to clone the repository and build the master code by yourself.

xqq commented 8 months ago

It has been stable enough on iOS. I will draft an NPM release when I have time later.

tiomurray commented 7 months ago

@vishwa-mehta-zygal @rssvxoxo

Sorry, the implementation is still on the master and didn't release into the NPM. You have to clone the repository and build the master code by yourself.

I tried to build the master code but Managed Media Source API on iOS seems to be not working

xqq commented 7 months ago

@tiomurray Required iOS 17.1+

rkonfj commented 5 hours ago

waiting for a new release...

sigcn/nvr is using great mpegts.js