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?

  • navigatron@beehaw.org
    link
    fedilink
    English
    arrow-up
    26
    arrow-down
    1
    ·
    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

    • RymdLord@beehaw.org
      link
      fedilink
      English
      arrow-up
      8
      arrow-down
      1
      ·
      11 months ago

      This is correct! Also wanted to recommend Jellyfin instead of Plex Or Emby

      • Vardøgor@mander.xyz
        link
        fedilink
        English
        arrow-up
        4
        ·
        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

  • ricecake@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    18
    arrow-down
    1
    ·
    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.

    • Teknikal@lemm.ee
      link
      fedilink
      English
      arrow-up
      1
      ·
      11 months ago

      An observation I’ve made using bubblupnp on my Android phone is I can’t directly cast to my fire cube with my vpn app on yet if I open vlc on the cube itself it can see the dlna library and play it.

      So yeah it’s a bit strange.

  • Entheon@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    ·
    11 months ago

    I can’t offer help on the issue, but as far as I understand there are no legitimate and safe versions of popcorn time anymore. The main version got taken down a few years ago iirc. There’s still plenty of unsafe versions though. Might want to double check you got it from a safe source.

  • Gazumi@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    arrow-down
    1
    ·
    11 months ago

    The lowtech option is to connect your device physically. I do this in hotels and at home. USB C to HDMI output. Connection cables are relatively cheap, and easily long enough for most use cases.

    • mpldr@beehaw.org
      link
      fedilink
      English
      arrow-up
      4
      ·
      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.

  • xarexyouxmadx@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    11 months ago

    Are you using the VPN on your laptop or phone only? If so, maybe try to run your VPN at the router level and see if you can cast then? It might work…

  • BearOfaTime@lemm.ee
    link
    fedilink
    English
    arrow-up
    2
    ·
    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.

  • GiuseppeAndTheYeti@midwest.social
    link
    fedilink
    English
    arrow-up
    2
    ·
    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.