Skip to content

[Android] screen sharing black output #205

Description

@s1lviu

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

image

Activity

  1. yoreland commented on Sep 7, 2021

    @yoreland
    Contributor

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

  2. s1lviu commented on Sep 7, 2021

    @s1lviu
    Author

    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!

  3. asif-ullah commented on Sep 7, 2021

    @asif-ullah

    still this issue. any solutions for this?

  4. yoreland commented on Sep 14, 2021

    @yoreland
    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

  5. asif-ullah commented on Sep 14, 2021

    @asif-ullah

    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?

  6. yoreland commented on Sep 14, 2021

    @yoreland
    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.

  7. asif-ullah commented on Sep 14, 2021

    @asif-ullah

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

  8. yoreland commented on Sep 14, 2021

    @yoreland
    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?

  9. asif-ullah commented on Sep 14, 2021

    @asif-ullah
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions