Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No longer able to stream channels on 5G outside home WiFi Network #58

Open
panman91 opened this issue Jan 7, 2025 · 3 comments
Open

Comments

@panman91
Copy link

panman91 commented Jan 7, 2025

So I recently installed the latest docker version of TheTvApp and for whatever reason I can no longer stream any channels over 5G. If I switch my phone back to WiFi I have no issues whatsoever. @dtankdempse is there something with the new docker image or is there something wrong with my mobile app? I am getting a request time out message.
Again, I am using IPTV Live for iOS. Is anyone else running into this problem?

Is it possible that your script is modifying all of the URLs to point to my local internal ip address for the channels?
If I connect using a internal VPN connection to my home network it works as well.

@panman91
Copy link
Author

panman91 commented Jan 7, 2025

@dtankdempse It appears that my theory is correct, is there a reason why the channels are setup this way? Can you change it back?

This is what it used to look like:

#EXTM3U url-tvg="https://tinyurl.com/tta-epg"
#EXTINF:-1 tvg-id="A.and.E.US.-.Eastern.Feed.us" tvg-name="A&E" tvg-logo="http://schedulesdirect-api20141201-logos.s3.dualstack.us-east-1.amazonaws.com/stationLogos/s51529_dark_360w_270h.png" group-title="Entertainment",A&E
https://v2.thetvapp.to/hls/AEEast/index.m3u8?token=YUlhRnJQUTFFSWJIellsMklHaEp6RDNWZ0dZbmo0QzZYcHBycGVBaw==

Compared to this now:

#EXTM3U url-tvg="https://tinyurl.com/tta-epg"
#EXTINF:-1 tvg-id="A.and.E.US.-.Eastern.Feed.us" tvg-name="A&E" tvg-logo="http://schedulesdirect-api20141201-logos.s3.dualstack.us-east-1.amazonaws.com/stationLogos/s51529_dark_360w_270h.png" group-title="Entertainment",A&E
http://192.168.XX.XX:4124/channel?url=https%3A%2F%2Fv3.thetvapp.to%2Fhls%2FAEEast%2Findex.m3u8?token=null

@dtankdempse
Copy link
Owner

I can’t change it back. TheTVApp stopped using tokenized URLs, and now a thetvapp_session cookie is needed to get the decryption key for the streams. Since your IPTV player doesn’t pass these cookies, proxying the stream is the only way to make it work.

@Mikoshi-nyudo
Copy link

Based on the LAN URL required to feed these cookies to the player, and it works inside your LAN environment you have 2 options.

  1. Open up the port on the Firewall/Router and Port map it to the machine running docker if behind NAT. But this will create some security risk potentially.
  2. Setup a VPN server on your Router/FW and use a VPN when on 5G to connect back home, that way it sees you as internal device (like when on Wifi), and can reach the docker address.

Hope that helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants