Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Android] screen sharing black output #205

Open
s1lviu opened this issue Sep 6, 2021 · 9 comments
Open

[Android] screen sharing black output #205

s1lviu opened this issue Sep 6, 2021 · 9 comments

Comments

@s1lviu
Copy link

s1lviu commented Sep 6, 2021

The content isn't shared. It appears only black color.

image

@yoreland
Copy link
Contributor

yoreland commented Sep 7, 2021

this demo doesn't have local preview, can you try to check with other examples like join channel
video?

@s1lviu
Copy link
Author

s1lviu commented Sep 7, 2021

We saw that the problem is that the stream from the screen isn't displayed only on Android, even if it comes from an android or iOS device.

Is there a fix for this "preview"? We need to broadcast a part of the screen content to an audience and can't find another way of doing that.

Thank you!

@asif-ullah
Copy link

still this issue. any solutions for this?

@yoreland
Copy link
Contributor

We saw that the problem is that the stream from the screen isn't displayed only on Android, even if it comes from an android or iOS device.

Is there a fix for this "preview"? We need to broadcast a part of the screen content to an audience and can't find another way of doing that.

Thank you!

sorry for late response, can you have a try to use this demo as audience to see if screen share stream is published successfully?

https://webdemo.agora.io/basicLive/index.html

@asif-ullah
Copy link

screen share is also video call? i am able to share mobile camera and can view on https://webdemo.agora.io/basicLive/index.html

I need to share screen of mobile to mobile. is agora provide this? if yes, where? how?

@yoreland
Copy link
Contributor

screen share is also video call? i am able to share mobile camera and can view on https://webdemo.agora.io/basicLive/index.html

I need to share screen of mobile to mobile. is agora provide this? if yes, where? how?

For broadcaster side, you could still use android APIExample's screen share demo:
https://github.com/AgoraIO/API-Examples/blob/master/Android/APIExample/app/src/main/java/io/agora/api/example/examples/advanced/PushExternalVideo.java

web demo is just for you to check as audience.
Let me know if you still can't share mobile screen.

@asif-ullah
Copy link

broadcaster side is working fine. but i need audience side? how can i see the shared screen on other mobile?

@yoreland
Copy link
Contributor

broadcaster side is working fine. but i need audience side? how can i see the shared screen on other mobile?

got it, can you just use joinChannelVideo sample as "audience" to check?

@asif-ullah
Copy link

asif-ullah commented Sep 14, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants