leaveChannel property
Occurs when a user leaves a channel. This callback notifies the app that the user leaves the channel by calling leaveChannel . From this callback, the app can get information such as the call duration and quality statistics.
Param stats
The statistics of the call, see RtcStats .
Implementation
RtcStatsCallback? leaveChannel;