stop method
Stop PK to all pk-hosts, only the PK Initiator can stop it. The PK is over and all participants will exit the PK View.
Implementation
Future<ZegoLiveStreamingPKServiceResult> stop() async {
ZegoLoggerService.logInfo(
'stop',
tag: 'live-streaming',
subTag: 'controller.pk, stop',
);
return ZegoUIKitPrebuiltLiveStreamingPK.instance.stopPKBattle(
requestID: ZegoUIKitPrebuiltLiveStreamingPK.instance.currentRequestID,
);
}