-
Notifications
You must be signed in to change notification settings - Fork 0
Join a conference
VTCoco edited this page Oct 9, 2019
·
3 revisions
Following the process of creating a conference, joining a conference is really simple.
Note that a conference must be created before joining it. You can propagate to your users the conferenceID
obtained from the create success callback or you can create
a conference with the same conferenceAlias
to have the same conference pointer. The best practice being propagating the obtained conferenceID
To join a conference, you must use the standard join
method available in the ConferenceService
of the SDK:
-
conferenceID
String - Conference identifier retrieved fromcreate
success response. -
success
((_ json: [String: Any]?) -> Void)? - A block object to be executed when the server connection sequence ends. This block has no return value and takes a[String: Any]
argument that corresponds to a JSON dictionary object. -
fail
((_ error: NSError) -> Void)? - A block object to be executed when the server connection sequence ends. This block has no return value and takes a singleNSError
argument that indicates whether the connection to the server succeeded.
VoxeetSDK.shared.conference.create(success: { json in
guard let conferenceID = json?["conferenceId"] as? String else { return }
VoxeetSDK.shared.conference.join(conferenceID: conferenceID, success: { json in
}, fail: { error in
})
}, fail: { error in
})
copyright Voxeet 2019
-
Initialization
-
Managing Conference
-
Sharing
-
Advanced