initialize method
void
initialize(
)
override
Implementation
@override
void initialize() {
_eventChannel.receiveBroadcastStream().listen((dynamic message) {
_broadcastToGlobalListeners(message);
_broadcastToPerMeetingListeners(message);
}, onError: (dynamic error) {
debugPrint('Jitsi Meet broadcast error: $error');
_listeners.forEach((listener) {
if (listener.onError != null) listener.onError!(error);
});
_perMeetingListeners.forEach((key, listener) {
if (listener.onError != null) listener.onError!(error);
});
});
}