Skip to content

Commit

Permalink
fallback to agorasettings token
Browse files Browse the repository at this point in the history
  • Loading branch information
maxxfrazer committed Sep 3, 2021
1 parent 3760453 commit 45dfca5
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -386,7 +386,7 @@ open class AgoraVideoViewer: FrameLayout {
this.userID = it
}
this.setupAgoraVideo()
this.agkit.joinChannel(token, channel, null, this.userID)
this.agkit.joinChannel(token ?: this.agoraSettings.tokenURL, channel, null, this.userID)
}

}

0 comments on commit 45dfca5

Please sign in to comment.