Skip to content

Instantly share code, notes, and snippets.

@zontan zontan/AgoraVideoViewController.swift Secret

Last active Sep 23, 2019
What would you like to do?
var channelName = "default"
func joinChannel() {
localVideoView.isHidden = false
getAgoraEngine().joinChannel(byToken: tempToken, channelId: channelName, info: nil, uid: userID) { [weak self] (sid, uid, elapsed) in
self?.userID = uid
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.