Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
android: throw if Activity doesn't implement the required interface
Saúl Ibarra Corretgé0c3d037cb5c5
diff --git a/android/sdk/src/main/java/org/jitsi/meet/sdk/JitsiMeetView.java b/android/sdk/src/main/java/org/jitsi/meet/sdk/JitsiMeetView.javaindex f60ecb8644..e96cfa349e 100644--- a/android/sdk/src/main/java/org/jitsi/meet/sdk/JitsiMeetView.java+++ b/android/sdk/src/main/java/org/jitsi/meet/sdk/JitsiMeetView.java@@ -109,6 +109,12 @@ public class JitsiMeetView// The entry point into the invite feature of Jitsi Meet. The Java// counterpart of the JavaScript InviteButton.inviteController = new InviteController(externalAPIScope);++ // Check if the parent Activity implements JitsiMeetActivityInterface,+ // otherwise things may go wrong.+ if (!(context instanceof JitsiMeetActivityInterface)) {+ throw new RuntimeException("Enclosing Activity must implement JitsiMeetActivityInterface");+ }}/**