P2PSession constructor
P2PSession(})
Implementation
P2PSession(
super.client,
this.cubeSdp, {
super.startScreenSharing,
super.desktopCapturerSource,
super.useIOSBroadcasting,
super.requestAudioForScreenSharing,
super.selectedAudioInputDevice,
super.selectedVideoInputDevice,
}) {
setState(RTCSessionState.RTC_SESSION_NEW);
_createChannelsForOpponents(cubeSdp.opponents);
}