initializeVideo method
dynamic
initializeVideo({})
Implementation
initializeVideo({
Signer? signer,
required int chainId,
String? pgpPrivateKey,
required int callType,
required VideoCallData data,
required Function(
MediaStream receivedStream, String senderAddress, bool? audio)
onReceiveStream,
}) {
this.signer = signer ?? getCachedWallet()?.signer;
this.chainId = chainId;
this.pgpPrivateKey = pgpPrivateKey ?? getCachedWallet()?.pgpPrivateKey;
videoCallData = data;
this.onReceiveStream = onReceiveStream;
notifyListeners();
}