zorchenhimer / MovieNight

Single instance video streaming server with integrated chat.
https://discord.gg/F2VSgjJ
MIT License
691 stars 87 forks source link

Support Mobile Devices #116

Open CptPie opened 4 years ago

CptPie commented 4 years ago

In todays movienight some people had trouble watching from phones in general and older phones in particular. Maybe it would be advisable to also support mobile devices (i.e. phones). I have no idea how difficult that would be.

dewie9919 commented 4 years ago

I would be interested in watching from mobile as well if not too difficult. I’ve had no luck on iPhone, iOS 13.

Desktop browsers I’ve tried have worked great.

Thank you for this great project!

zorchenhimer commented 4 years ago

Unfortunately, I'm not sure exactly what this would involve. I don't have any apple devices so I can't even test different things in a brute-force type fashion (for the record, it "works" on my android phone).

There is a decent chance that the phone just doesn't support the format that's being streamed. If that's the case, the stream would need to be re-encoded somewhere else in order to be played. This is something that I'd like to get implemented but I don't think it would necessarily be part of MovieNight. Video encoding is very resource heavy and I do not want that on the same server that's serving web requests.

zorglube commented 4 years ago

I tested streaming on smartphone and tablette and it's working (3h in a row at least).

Devices

RealDyllon commented 4 years ago

Streamed on my iPad, works fine, but CSS is a tad broken. The video element is taller than the screen, resulting in the video sitting slightly lower than the chat.

golubaca commented 4 years ago

Open stream in vlc on ios using http://url/live

zorglube commented 4 years ago

Open stream in vlc on ios using http://url/live

Ok, si maybe a tweaking into the JS front to allow the user to open the stream inside or outside (custom app of the phone) of the web browser can be an option.

docwho76 commented 3 years ago

iOS does not support the media extensions in HTML5 that the js framework is using. iPadOS 13.4 and greater do support those however. iOS will NEVER support those extensions, so if you want it to work on iPhones the js playback framework has to change to one that doesn't rely on them.