TianZerL / myiptv

A simple server to watch video stream from udpxy in browser
Apache License 2.0
1 stars 0 forks source link

Playback Issues #1

Open madejackson opened 2 weeks ago

madejackson commented 2 weeks ago

Very nice work. It's the very first webplayer I found that can play the tv signal from mit isp (TV7 from init7 via udpxy)

Unfortunately, there are some issues with playback.

Firefox (Win, Linux, Android): Sound gets repeated / comes twice. It sounds like an 1s delay echo though it's much more choppy. It stops at some point but then the sound is out of sync. Firefox on Android: H265 no image Chrome on Android: H264 not working Chrome on Linux: H265 has no image Chrome on iOS: no Playback at all (H264&H265)

If you want to investigate, send me a DM, i can invite you to my instance.

TianZerL commented 2 weeks ago

There are actually a series of limitation of mpegts.js, and codecs support depends on the browser's decoder support. so there's very little I can do, just something like adjust playback parameters to limit memory usage and so on.

The browser with the best compatibility, according to my testing:

Firefox seems to not support HEVC playback due to licensing issues.

And about IOS, quoted from mpegts.js

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