I am seeking a solution that will enable me to mirror the screen from Android (LineageOS 20) to Android TV (LineageOS 20 for Android TV). Chromecast is only accessible for Google-certified devices; therefore, Chromecast will not function here.

Is there a project in which I can install the receiver app on the Android TV and the client app on the Android phone to accomplish this?

  • QuazarOmega@lemy.lol
    link
    fedilink
    arrow-up
    19
    ·
    edit-2
    1 year ago

    I have used ScreenStream and was pretty satisfied with it, it basically creates a web server that streams your screen, so you can connect to it with any browser, it’s pretty neat!

    (You can see the thread where it was first suggested to me here)

    • My Password Is 1234@lemmy.worldOP
      link
      fedilink
      arrow-up
      8
      ·
      1 year ago

      LineageOS Team backported Miracast in LOS 18 but my Android TV accesses the network over an Ethernet cable. Miracast uses Wi-Fi Direct, which requires both devices to be connected wirelessly to the same network.

      • 𝒍𝒆𝒎𝒂𝒏𝒏
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        Ooh - Thanks for the clarification 👌

        I was curious since I’m planning to make the jump to LineageOS on my device, and also plan to develop a Miracast receiver app for my Steam Links

      • Atemu@lemmy.ml
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        1 year ago

        If all that mattered was being on the same network, it doesn’t matter whether that’s WiFi or Ethernet. Frames got switched between those.

        WiFi Direct uses, as the same implies, a direct P2P network between the two devices without a third network device in between.
        That would indeed not work if the device has no WiFi adapter.
        You may perhaps be able to remedy that using a USB WiFi adapter supported by the mainline Linux kernel version running on your device.

        Have you tried it though? I’m pretty sure Miracast works over the network too.

  • KuudereEnthusiast@sh.itjust.works
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    Well, if you can use a windows/linux pc as host, you can use Sunshine Stream. It uses Moonlight receiver app which is on basically everything that computes. But it’s host software is not on Android (probably)

  • Vulpen@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    11 months ago

    I got BJCAST working (https://github.com/WirelessPresentation/WirelessDisplay) by installing the BJCastTV.apk on the TV and BJCast-v2.2.2.apk (from the Aug 18, 2021 release) on my phone. It also has windows/mac clients. It claims to also work with Miracast (so the phone app shouldn’t be necessary), but I wasn’t able to get it running that way. Maybe you’ll have better luck. Also it seemed rather laggy to me, and kinda shady too, despite being open-source, it’s all in chinese and displays “Trial Version” in the corner.

    EDIT: Actually, I read now that it’s not FOSS, only part of the code for the demo version is available. Sad.