📅  最后修改于: 2022-03-11 14:59:00.308000             🧑  作者: Mango
1
To close this bar you can use a track-ended event. Here the track is the instance of
await AgoraRTC.createScreenVideoTrack.
rtc.track.on('track-ended', () => {
console.log('stopScreenSharing')
})