this post was submitted on 25 Aug 2023
49 points (100.0% liked)

Open Source

31129 readers
303 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 5 years ago
MODERATORS
 

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?

all 12 comments
sorted by: hot top controversial new old
[–] QuazarOmega@lemy.lol 19 points 1 year ago* (last edited 1 year ago) (1 children)

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)

[–] eager_eagle@lemmy.world 3 points 1 year ago

good stuff, thanks for sharing

[–] Helix@feddit.de 8 points 1 year ago (1 children)

You can attach a Linux, Windows or macOS box and run https://github.com/genymobile/scrcpy/

Maybe https://github.com/MayaPosch/NymphCast is also an option.

[–] mypasswordis1234@lemmy.world 3 points 1 year ago

NymphCast currently has no Android receiver

[–] lemann@lemmy.one 6 points 1 year ago (1 children)

As an aside, is LineageOS missing Screen Cast/Miracast/Wi-Fi Display functionality?

[–] mypasswordis1234@lemmy.world 8 points 1 year ago (2 children)

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.

[–] lemann@lemmy.one 2 points 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 1 points 1 year ago* (last edited 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.

[–] derocker@lemmy.world 4 points 1 year ago* (last edited 3 months 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)

[–] Imonobor@lemmy.world 1 points 10 months ago* (last edited 10 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.