skrafft / react-native-jitsi-meet

React native wrapper for Jitsi Meet SDK
Apache License 2.0
286 stars 349 forks source link

Screen sharing support #245

Open deepakverma4 opened 3 years ago

deepakverma4 commented 3 years ago

When are this repo is getting updated to support screen sharing? It is already available in official SDK.

MadCoderme commented 3 years ago

I made a pr today and upgraded SDK version.

But the problem is everything works fine except screen sharing. Screen sharing button prompts an alert then does nothing. I will request experienced Android developers to look at it (I tried with Android 11)

Rectifer commented 3 years ago

@deepakverma4 were you able to resolve the issue ??? Because I am facing the same issue

MadCoderme commented 3 years ago

@deepakverma4 were you able to resolve the issue ??? Because I am facing the same issue

Nope, it's still happening

Rectifer commented 3 years ago

@skrafft can you help us regarding this??

deepakverma4 commented 3 years ago

I've created one issue in official jitsi repo and also shared the adb logs. Let's see if they can help. @skrafft doesn't seem to be interested working more in this repo.

lavpreetsandhu commented 3 years ago

hii... any update ? anyone solved this problem ?

markarupert commented 3 years ago

I am trying to get the Screen Share working too. Anyone have any luck?

pravasok commented 3 years ago

can you guys ask for update in official repo?, they are not prioritizing, thinking it is not needed by many

@markarupert @preetgaggu @deepakverma4 @Rectifer

MarinaAmy commented 3 years ago

Hiii :)

problem solved ?

Thank you

sakismts commented 2 years ago

A work around to make it work on android is on the native module to add a static method which will include from JitsiMeet SDK the JitsiMeetActivityDelegate.onactivityResult. The static method should be called from your Mainctivity onActivityResult. This workaround has to do with the prompt for casting or recording when you press schreen sharing. When you press ok the MainActivity on activity result is triggered but your are not passing it to the Jitsi sdk. Also you MUST create a foreground service with type mediaprojection

saheemhussain commented 2 years ago

A work around to make it work on android is on the native module to add a static method which will include from JitsiMeet SDK the JitsiMeetActivityDelegate.onactivityResult. The static method should be called from your Mainctivity onActivityResult. This workaround has to do with the prompt for casting or recording when you press schreen sharing. When you press ok the MainActivity on activity result is triggered but your are not passing it to the Jitsi sdk. Also you MUST create a foreground service with type mediaprojection

Can you share the final code, if you solved it already?

hypnocill commented 1 year ago

@saheemhussainchicmic can you share the code that gets this to work?