H-M-H / Weylus

Use your tablet as graphic tablet/touch screen on your computer.
Other
6.97k stars 278 forks source link

Error: This browser doesn't support MSE - iPadOS 15 #118

Closed emilyastranova closed 2 years ago

emilyastranova commented 3 years ago

As suggested in the README:

You may want to add a bookmark to your home screen on your tablet as this enables running Weylus in full screen mode (on iOS/iPadOS this needs to be done with Safari). If you are not on iOS/iPadOS there is a button to toggle full screen mode.

Unfortunately, upon doing that, we get the error: This browser doesn't support MSE required to playback video stream, try upgrading!

Oddly enough this doesn't happen in Safari itself, only when bookmarking to the home page from Safari and launching it

H-M-H commented 3 years ago

Hmm, I can't reproduce this on iPadOS 15.0.2, however, this does sound like a WebKit/Safari/iPadOS bug. The error message you see is triggered if the MediaSource API is not existent, which definitely should not be the case for iPadOS 15!

The only other thing I can come up with that might explain this behavior is some kind of permission error, perhaps some checkbox buried in the settings is unchecked? This does seem somewhat unlikely though.

davidM-tugraz commented 3 years ago

I have the same problem on iOS 15.0.2 and Chrome 95.0.4638.50

H-M-H commented 3 years ago

Please try Safari, also note that if you are indeed on iOS and not iPadOS, i.e. using an iPhone, Weylus will not work as for some reason Apple decided not to implement the Media Source Extensions on iOS.

H-M-H commented 2 years ago

Any updates on this, have you found a solution?

an4s911 commented 2 years ago

I have the same problem on iOS. Why is this issue closed? Anyone found any solution?

an4s911 commented 2 years ago

I think this similar thread on another GitHub repo might help. One of the comments in that thread mentions:

do you guys know when apple is planning to support Media Source extensions for IOS Safari and Chrome on Mobile. Have a project that's dependent on using this wonderful API.

you can use canvas + websockets, this is supported on iOS

link to comment

H-M-H commented 2 years ago

Hello @an4s911 I am afraid but there is not much I can do about Weylus for iOS (as opposed to iPadOS). Apple decided not to support MSE on iOS and thus video streaming won't work on iPhones. The two possible solutions I see are: Apple adding support for MSE on iOS or me implementing a canvas renderer for Weylus. The problem about this is, that I'd need to decode the video stream using JavaScript, which is not very desirable, especially regarding latency. That's why iOS is currently unsupported and this issue closed.

If anyone wants to experiment with this anyways and if this is actually a viable solution w.r.t. to latency I am open to pull requests.

Papermanzero commented 2 years ago

is it possible to add IOS support?

H-M-H commented 2 years ago

@Papermanzero sadly probably not as long as Apple doesn't add support for MSE on iOS.

Software27425 commented 2 months ago

@H-M-H It looks like it's possible now with MMS (backwards compatible with MSE) as of the latest iOS version? Think support can be added to Weylus now?

https://bitmovin.com/managed-media-source/#migration-from-mse-to-mms-ed4921d7-725c-4010-b3d0-d32af2f44964

Papermanzero commented 2 months ago

That’s an awesome news. Weylus is by far the best open source multi screen app.