jitsi / jitsi-meet-react-sdk

React SDK for Jitsi Meet
Apache License 2.0
65 stars 36 forks source link

Called JitsiMeetElectron.obtainDesktopStreams but it is not defined #35

Closed JMSevilla closed 11 months ago

JMSevilla commented 11 months ago

Hi i'm trying to use @jitsi/react-sdk on my electron

whenever I try to share my screen it doesn't work and there is no sharing option showing up

damencho commented 11 months ago

In your electron app you need to use https://github.com/jitsi/jitsi-meet-electron-sdk#screen-sharing

JMSevilla commented 11 months ago

Can you show me how to use it ?

JMSevilla commented 11 months ago

Can I drop here my existing code because I'm using also @jitsi/react-sdk it is working on web but when in electron it is not.

damencho commented 11 months ago

You can check the code in https://github.com/jitsi/jitsi-meet-electron how it uses it.

JMSevilla commented 11 months ago

Because I had a react typescript project inside my electron root directory project. so I'm using JaasMeeting upon trying to share screen event though I have setupScreenSharingRender and setupScreenSharingMain it is not working