Skip to content

Screen sharing not working on Android 15 #2030

@durgalahangeer-tech

Description

@durgalahangeer-tech

Which package/packages do you use?

  • @stream-io/video-react-sdk
  • [ 1] @stream-io/video-react-native-sdk
  • @stream-io/video-client

Describe the bug
Using ScreenShareToggleButton component provided by sdk. It stops/hangs or freezes the app, couldn't let user share their screen. Tested on Real Device with Android 15.

To Reproduce
Steps to reproduce the behavior:

  1. Make a Video call with ScreenShareToggleButton exist.
  2. Click on ScreenShareToggleButton to start Screen Sharing
  3. It hangs the app.
  4. See error (no error produced by sdk)

Expected behavior
It is working on android v10. I don't have much devices to test with. Seems SDK has a bug, not handled new security introduced in Android 15 api.

Also the ScreenShareToggle button is not working after being once used. After stoping screen sharing by a user, it not worked again.

Screenshots
If applicable, add screenshots to help explain your problem.

Version

  • SDK version
  • "@stream-io/react-native-webrtc": "^125.4.5",
    "@stream-io/video-react-native-sdk": "^1.24.4",

Env:

Fill out what's applicable

React Native / Expo

  • OS: [e.g. iOS, linux...] Windows 11
  • Device or emulator [e.g. android emulator, real iPhone X...] Real Device with Android 15

Node JS client

  • Node version
    v20
    Additional context
    Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions