getShareUrl method

String getShareUrl()

Implementation

String getShareUrl() {
  if (options.localLink != null &&
      options.localLink!.isNotEmpty &&
      !options.localLink!.contains('mediasfu.com')) {
    return '${options.localLink}/meeting/${options.meetingID}';
  }
  final shareName = options.eventType == EventType.chat
      ? 'chat'
      : options.eventType == EventType.broadcast
          ? 'broadcast'
          : 'meeting';
  return 'https://$shareName.mediasfu.com/$shareName/${options.meetingID}';
}