livekit / client-sdk-react-native

Official React Native SDK for LiveKit.
https://livekit.io
Apache License 2.0
121 stars 32 forks source link

Screen share sometimes overlaps video on Android #111

Open Vaib215 opened 11 months ago

Vaib215 commented 11 months ago

Bug

The screen share sometimes overlaps the video component even after using overflow:"hidden"

Expected behavior

Should not overlap and exceed the boundary.

Screenshots

https://github.com/livekit/client-sdk-react-native/assets/91018916/11db5790-05f0-46cf-a174-56c0e9ad59ae

Device Info:

Dependencies Info :

"@livekit/react-native": "^1.2.0",
"@livekit/react-native-webrtc": "^104.0.1",
"react-native-pip-android": "^1.0.1",
"@openspacelabs/react-native-zoomable-view": "^2.1.1",

Additional context Urgent requirement

Mihai-github commented 10 months ago

Hey, did you have any issue with 2 cameras active one positioned absolutely on top of the other?

My issue is on android when the other participant turns on his camera the current participant's camera goes behind only on Android and I cannot figure out why since IOS works just fine...

Maybe, @davidzhao has any idea if there's some kind of bug?