Skip to content

Instantly share code, notes, and snippets.

@zontan zontan/AgoraVideoViewController.swift Secret

Last active Sep 13, 2019
What would you like to do?
extension AgoraVideoViewController: AgoraRtcEngineDelegate {
func rtcEngine(_ engine: AgoraRtcEngineKit, didJoinedOfUid uid: UInt, elapsed: Int) {
func rtcEngine(_ engine: AgoraRtcEngineKit, didOfflineOfUid uid: UInt, reason: AgoraUserOfflineReason) {
if let index = remoteUserIDs.firstIndex(where: { $0 == uid }) {
remoteUserIDs.remove(at: index)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.