Hi everyone,
I’m developing an extension that plays live MPEG-TS (.ts) IPTV streams using Android WebView + mpegts.js.
The player initializes successfully, and some of the stream starts playing correctly. However, after 5–10 seconds (sometimes a little longer), playback freezes automatically. Audio and video stop because the buffered data is exhausted.
If I destroy and reinitialize the player, it immediately plays another few seconds and then freezes again. This behavior repeats every time.
Important observations:
The same TS URLs play continuously in VLC and other IPTV players.
The issue occurs with multiple TS streams, so it doesn’t appear to be stream-specific.
The extension can always reconnect manually by reinitializing the player, which suggests the initial playback is working but continuous streaming is not.
Here is the url which are getting stuk!
http://foxbleu-cdn.com/live/e8:aa:cb:c4:bf:92/aMzpeeG/78381.ts
http://rgkkw.live:80/live/1Aoen7elp5/IgMJ60tmAa/198.ts
http://proxpanel.cc/h1wqD6CY/byxHYgX/707929.ts
Would anyone please help me to solve the issue ?
MpegTsPlayer.txt (16.7 KB) - java
index.txt (37.2 KB) - html
(Both file is uploaded in .txt format)
Here is the project file
MPEGTS_Player.aia (89.7 KB)
Thank you