jitsi_meet_wrapper
jitsi_meet_wrapper copied to clipboard
Add macOS Support
Should be pretty straight forward as it should be very close to what is done for iOS. Same I'll try to make a PR if you're ok with that :)
Hum in fact might be harder, just see that jitsi doesn't have a mac SDK at all as they rely on an electron wrapper... bummer but let's keep that open in any case to keep it on the radar
I've integrated Jitsi by web for desktops: a new window that it's closed automatically when the user ends his session.
@saibotma do you consider it could be a friendly solution for this plugin?
Sounds very interesting. Do you have any implementation to share? Could be a good candidate for this package.
Yep, it is simple, with desktop_webview_window
:
var room = '$domain/${meet.hash}';
room += '#userInfo.displayName="${user.name}"';
room += '&userInfo.email="${user.email}"';
room += '&config.subject="$subject"';
room = Uri.encodeFull(room);
Webview desktopWebview = await WebviewWindow.create(
configuration: CreateConfiguration(
title: subject,
titleBarHeight: 0,
),
);
desktopWebview?.addOnUrlRequestCallback((url) {
if (!url.contains(meet.hash)) {
desktopWebview?.close();
}
});
desktopWebview?.launch(room);
Jitsi is configured by URL parameters and the window is closed when the meet ends (when the redirection is done).
Wow, this looks good, thanks. Will think about how we can include this into this package.