dkrivoruchko / ScreenStream

ScreenStream Android App
https://screenstream.io
MIT License
1.56k stars 319 forks source link

Android "Screen Cast Permission" Needed #247

Closed Katsuyamaki closed 4 months ago

Katsuyamaki commented 4 months ago

I cannot start the stream without enabling this permission. I cannot find a "Screen Cast" permission to enable in permission manager and screenstream doesn't have a popup to grant the permission.

How do I grant it?

Screenshot_20240228-063306_ScreenStream

dkrivoruchko commented 4 months ago

Uninstall app and install it again.

Katsuyamaki commented 4 months ago

Thank you for the quick response. I reinstalled and restarted phone but same issue. Can I use ADB to grant the permission? What command would it be if so?

Katsuyamaki commented 4 months ago

Update: It seems to potentially be a conflict with Shizuku. Without shizuku running (I use it for other apps) screenstream didn't give me that error.

Is there a way to have both running?

Update 2: Actually sorry, just a coincidence. Stopped working again even with Shizuku off.

Update 3: I believe I figured it out. There seems to be a conflict with another screen recording app I'm using at the same time. I'm trying to use ScreenStream with Xreal's Nebula App to record my phone and display it into 3d AR space with AR glasses. It seems the order in which I start Screenstream and Nebula matter. If I start Screenstream first, its no problem. But if I start Nebula first, Screenstream gives me the erro.

dkrivoruchko commented 4 months ago

You cannot capture screen in two different apps simultaneously if they both use Cast API

dkrivoruchko commented 4 months ago

ScreenStream has a VR mode. Maybe it helps