Is it possible to detect supported browser or switch to turn off p2p when error #423
Replies: 9 comments
-
There is |
Beta Was this translation helpful? Give feedback.
-
@stevenking888 In case Hls.isSupported() doesn't solve your problem, please provide the following details:
|
Beta Was this translation helpful? Give feedback.
-
I use mac xcode Simulator test,even if ios version > 17.1.1,can not use ManagedMediaSource api play video,but use Real machine debugger can play video,so i use js check it. hls.js Hls.isSupported() Inaccurate judgment Accurate judgment:
|
Beta Was this translation helpful? Give feedback.
-
There is a bug in the iPhone simulator. It doesn't support required MMS (it is how MSE is called on iOS) feature/codecs for Hls.js to run. Do test/development on iPad simulator or real iOS device. |
Beta Was this translation helpful? Give feedback.
-
Xcode was recently updated, and we will test if the issue with MMS in the iPhone simulator is fixed there. |
Beta Was this translation helpful? Give feedback.
-
MMS is fixed and works in iOS 18 simulators: |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
We can't reproduce the issue with Safari. All the videos play for us for over 5 minutes on Safari. Is the problem reproducible with our demo? |
Beta Was this translation helpful? Give feedback.
-
I think I found the root of problem on macOS. That is macOS disconnect websocket when play for a while. I use 'wt-tracker' as my tracker |
Beta Was this translation helpful? Give feedback.
-
I found an problem with some Safari browser on some Apple device. (The most case error in hls.js debug log is can't decode but when I'm not use P2P no problem with the same playlis) So I think is it possible to add 'isSupported' method and on error event listener to switch to normal HLS without P2P.
I try to add 'isP2PDisabled: true' when error happended but seem to not solve.
Can we share some idea for handle this situation ?
Beta Was this translation helpful? Give feedback.
All reactions