stalkerhek
stalkerhek copied to clipboard
Couple of suggestions
Thanks for creating this. I was able to make it work after a couple of workarounds that I would like to highlight
-
https://github.com/erkexzcx/stalkerhek/blob/master/stalker/authentication.go#L44 Unfortunately my provider was using
token
instead ofToken
, so even though new Token was being returned it was not being used as it didn't match the field. -
https://github.com/erkexzcx/stalkerhek/blob/master/hls/request_handlers.go#L20 I think links should be made absolute rather than relative. I found no app on IOS that would respect relative links except VLC. Once I changed this to absolute it started working with all of those apps.
I might have more suggestion as I start rolling back the changes I made to make it work. I will keep you updated.
Unfortunately my provider was using token instead of Token, so even though new Token was being returned it was not being used as it didn't match the field.
I will implement this at some point. Leaving this issue open for now.
I think links should be made absolute rather than relative. I found no app on IOS that would respect relative links except VLC. Once I changed this to absolute it started working with all of those apps.
Paths, or links? Because paths are absolute. Can you share which apps do not respect such links? At the moment I do not see any issues here, because by design it should work. :thinking:
- https://github.com/erkexzcx/stalkerhek/blob/master/hls/request_handlers.go#L20 I think links should be made absolute rather than relative. I found no app on IOS that would respect relative links except VLC. Once I changed this to absolute it started working with all of those apps.
What changes have you made to make it work for all apps?
What changes have you made to make it work for all apps?
According to user, here one would need to append http://<host>:<port>
part at the beginning to the link. It's fairly easy to do as passed r
(request) parameter already contain URL object in it which contains all the required variables.
I might fix this (VLC-only) issue in the upcoming days, but this whole app needs a considerable rework to implement:
- Additional configuration for reverse proxy
- Stream caching (5 viewers, 1 stream instead of 5:5)
- Proper
rewrite
functionality and configuration
No ETA. Currently on slight burnout :)
I know that you said no ETA on the caching being added, but this truely would be awesome once it has been. Its quite limited at the moment without it, causing the streams to stop every 30-40 seconds when sharing the MAC with several users.
So we wait patiently lol.
Unfortunately my provider was using token instead of Token
I've checked a dozen of portals. It's always "token" and never "Token".
I know that you said no ETA on the caching being added, but this truely would be awesome once it has been. Its quite limited at the moment without it, causing the streams to stop every 30-40 seconds when sharing the MAC with several users.
It won't work. If a stream stops every 30-40 seconds, it means the portal doesn't allow MAC-"sharing". I think when the same MAC asks for a new stream, the portal treats it simply as a request to change channel, thus aborting the previous stream.