Skip to content

Instantly share code, notes, and snippets.

@cardoso
Created June 3, 2020 02:40
Show Gist options
  • Save cardoso/9946fda83650e60113d764a7e3198226 to your computer and use it in GitHub Desktop.
Save cardoso/9946fda83650e60113d764a7e3198226 to your computer and use it in GitHub Desktop.
import VoxeetSDK
import VoxeetUXKit
extension ConsultViewController {
func startCall() {
let options = VTConferenceOptions()
options.alias = "patient+doctor"
VoxeetSDK.shared.conference.create(options: options, success: { conf in
VoxeetSDK.shared.conference.join(conference: conf)
}, fail: { error in
print(error)
})
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment