erkexzcx / stalkerhek

Stalker portal proxy server that allows sharing account on multiple STB boxes and play on VLC.
GNU General Public License v3.0
82 stars 52 forks source link

Streams stopping every 15 sec #3

Closed Dogenymous closed 3 years ago

Dogenymous commented 3 years ago

Hi man, the streams are stopping on still image every 15 sec for 5 sec, and then starts playing. Is this somthing i can do to fix in the config or Go file :) ?

Dogenymous commented 3 years ago

i found the issue to "maybe" the fasthttp serveren, because it seems like when the vlc is requesting "url" after the current one playing have expired, the fasthttp server seems to return "internal server error" and the vlc have to try 2-3time before it is working again.... same link, what could it be ? any tips @erkexzcx

IPTV Error

erkexzcx commented 3 years ago

Hey. Stalkerhek is not using fasthttp and I have no clue why it happens. Let's chat via PM regarding this - maybe I can find where the issue is. See your mailbox.

erkexzcx commented 3 years ago

Golang has updated few linting tools and nicely showed some issues with my code.

I also noticed that the mechanism which was responsible for keeping track of IPTV channel access was missing, which led to this app asking Stalker portal to provide new URL for the viewed IPTV channel every 30 seconds... This might explain why stream stops every ~30 seconds or so...

Please test and keep me updated. :)

erkexzcx commented 3 years ago

With latest commits I think I've fixed 2 separate issues that caused stream to stop after short period of time (few to ~30 seconds). Please check against latest code in this repo and if it still doesn't work - open a new issue.