Event
onLeaveLiveStreaming
This callback will be triggered when user click exit button.
- function prototype:
UntitledonLeaveLiveStreaming(duration)
1
- example:
Untitled<ZegoUIKitPrebuiltLiveStreaming appID={Your_APPID} appSign={Your_APPSign} userID={Your_UserID} userName={Your_UserName} liveID={liveID} config={{ onLeaveLiveStreaming: (duration) => { //... }, }} />
1
onLiveStreamingEnded
This callback will be triggered to audience in livestreaming room when the live is end by host.
- function prototype:
UntitledonLiveStreamingEnded(duration)
1
- example:
Untitled<ZegoUIKitPrebuiltLiveStreaming appID={Your_APPID} appSign={Your_APPSign} userID={Your_UserID} userName={Your_UserName} liveID={liveID} config={{ onLiveStreamingEnded: () => { //... }, }} />
1
onStartLiveButtonPressed
This callback will be triggered when host click start live button.
- function prototype:
UntitledonStartLiveButtonPressed()
1
- example:
Untitled<ZegoUIKitPrebuiltLiveStreaming appID={Your_APPID} appSign={Your_APPSign} userID={Your_UserID} userName={Your_UserName} liveID={liveID} config={{ onStartLiveButtonPressed: () => { //... }, }} />
1