jumpTo method
swiping to live streaming of targetLiveID
Implementation
bool jumpTo(String targetLiveID) {
if (targetLiveID.isEmpty) {
ZegoLoggerService.logInfo(
'jump to, live id is empty',
tag: 'live-streaming',
subTag: 'controller.swiping',
);
return false;
}
ZegoLoggerService.logInfo(
'jump to $targetLiveID',
tag: 'live-streaming',
subTag: 'controller.swiping',
);
private.stream?.add(targetLiveID);
return true;
}