This is probably a ridiculous question, but I usually stream from my laptop to my LG tv or my phone to any other tv, and I find that using my VPN keeps the casting output option from working. Like in Popcorntime, the Watch Now doesn’t show my tv, only the laptop app or VLC. On my daughter’s fire stick I can’t even cast to it unless I turn my VPN off.

I don’t have any problem streaming Plex or Emby from my laptop to the tv. Is there a way to cast without compromising my privacy?

  • GiuseppeAndTheYeti@midwest.social
    link
    fedilink
    English
    arrow-up
    0
    ·
    11 months ago

    Maybe I’m wrong but for the sake of trying to get you started down the right path until someone smarter than me answers for sure. I think you would need to configure a split tunnel on your device. Even then I don’t think that would work either. I think that “casting” just tells the display the server address and it tracks down the stream info. Your casting device then just functions as a remote through the network.

    So even if It could work, you’re home network address would be compromised by the network traffic being sent to your display without a VPN.

    Like another person has said, your best bet is more likely torrenting to Plex, Emby, Jellyfin then casting from your media server.

  • ricecake@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    0
    ·
    11 months ago

    Vpns and casting create a complicated network situation sometimes. Without being able to see exactly what was going on, it can be difficult to tell what’s happening.

    Sometimes casting involves sending the data from the controller, your laptop, to the renderer, your TV. That means you laptop pulls the data down and then forwards it.
    Sometimes it involves telling the renderer how to get the data so that it can pull it down and play it.

    When you use a VPN, you’re sending your traffic through a tunnel so that it’s “outside” your local network. There will be some exceptions for certain local behavior that needs to be local, unless you configured it not to but you probably didn’t.

    It’s honestly curious that it ever works, since the VPN should make it so you’re basically “not there”, and so casting shouldn’t be possible.

    My recommendation would be to use Plex if it works.
    Download on the VPN and then drop off to cast it is an alternative.

    There’s enough moving parts that you’re not going to have any fun figuring it out, and the answer will probably be something you can’t fix.

  • navigatron@beehaw.org
    link
    fedilink
    English
    arrow-up
    0
    ·
    11 months ago

    The VPN catches all network traffic and puts it far away - you can’t be on vpn and see local network resources (casting targets) at the same time.

    If your vpn has an app, check your settings for something like “local network access”.

    Otherwise, start reading about split-tunnels and/or default gateways

      • Vardøgor@mander.xyz
        link
        fedilink
        English
        arrow-up
        0
        ·
        11 months ago

        as a current user, the android TV app is pretty rough. im crossing my fingers for the findroid developers to help with a TV version sooner than later

  • Smithy (she/her)@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    0
    ·
    11 months ago

    Another possibility: some VPNs will allow you to connect multiple devices together via the VPN. I know NordVPN does, they call that feature “Meshnet”. See if you can put your TV on the VPN too and set it up for that. But yeah, the VPN is definitely your problem here.

    The solution might be to ditch Popcorntime for separate torrent and media programs, then you could set up a split tunnel.

    • mpldr@beehaw.org
      link
      fedilink
      English
      arrow-up
      0
      ·
      edit-2
      11 months ago

      Just because it bugs me to no end: thats the original purpose of a VPN, not some privacy snakeoil. That being said most host-discovery doesn’t work reliably, or is not implemented by most programs.

  • BearOfaTime@lemm.ee
    link
    fedilink
    English
    arrow-up
    0
    ·
    11 months ago

    What VPN? What’s its’ endpoint?

    Are you at home with this issue, or outside of your network?

    The first thing that comes to kind is VPN usually doesn’t do split-tunnel by default, so it’ll consume all your traffic instead of allowing local traffic to go to the LAN with all the rest going VPN.

    There may also be a filtering of services permitted through the VPN, so if it’s not split-tunneling, it’s trying to route everything, but blocking streaming.

    I wouldn’t want all my traffic going out a VPN only to come back into my LAN via a VPN connection.

    I’ve seen similar issues with apps like Tailscale or (a long time ago) Hamachi, where the system resolves to the Mesh network IP before the local IP, routing local traffic over the VPN/Mesh instead of the LAN.

    Verify your VPN has a setting to permit local traffic/connect to local network.