WebRTCMeetingHelper constructor

WebRTCMeetingHelper({
  1. String? url,
  2. String? meetingId,
  3. String? userId,
  4. String? name,
  5. MediaStream? stream,
  6. int? maxRetryCount = 3,
  7. bool? autoConnect = true,
})

Implementation

WebRTCMeetingHelper({
  this.url,
  this.meetingId,
  this.userId,
  this.name,
  this.stream,
  this.maxRetryCount = 3,
  this.autoConnect = true,
}) {
  transport = Transport(
    url: formatUrl(meetingId!),
    maxRetryCount: maxRetryCount,
    canReconnect: autoConnect,
  );

  listenMessage();
}