jitsi / jitsi-meet-sdk-samples

Jitsi Meet mobile SDK examples (Android, iOS and React Native)
Apache License 2.0
273 stars 238 forks source link

[android-sdk] showing a dialog in the jitsi intent #113

Closed Mohadese267 closed 3 years ago

Mohadese267 commented 3 years ago

I need to show a dialog to the participants in a video call while they are talking like what lingbe application has done --> pic: https://play-lh.googleusercontent.com/T5Gmc-WnptMuM8cbUn-JCrXg4CrbJwO0-sG45f97Lje4dadCXacLu6ZE08G3aAEoXEJs=w1366-h625-rw . I don't know how to control and customize the intent . Thank you in advance :)

saghul commented 3 years ago

The in meeting UI is not customizable. You could perhaps create your own activity similarly to JitsiMeetActivity and draw your own controls over the JitsiFragment.

Mohadese267 commented 3 years ago

I've tried to do so , some of the methods/calls used in the original JitsiMeetActivity are package private , do you have any solution for that ? BTW to rewrite this activity , do I need to code in react or it's possible in android/java ?

saghul commented 3 years ago

I've tried to do so , some of the methods/calls used in the original JitsiMeetActivity are package private

Which ones do you need?

BTW to rewrite this activity , do I need to code in react or it's possible in android/java ?

You can do it in Java by using the JitsiMeetFragment in your own Activity.

Mohadese267 commented 3 years ago

I'm not sure what I've done is right or not , I've copied the whole jitsiActivity.class file into my activity , 'abortConnections()' is not public in 'org.jitsi.meet.sdk.ConnectionService'. Cannot be accessed from outside package
is one of the things I probably need to rewrite , and some others , If so , It's almost like copying the SDK I assume!

saghul commented 3 years ago

You should be able to ignore that actually.

Mohadese267 commented 3 years ago

I just got what you said ! tired maybe! :|