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
export * from './functions.any';
/**
* Returns the origin of the given URL, or '' on a parse error.
*
* @param {string} [url] - The URL to parse.
* @returns {string}
*/
export function getCustomPanelOrigin(url?: string): string {
if (!url) {
return '';
}
try {
return new URL(url).origin;
} catch (_) {
return '';
}
}