This repository was archived by the owner on Feb 4, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Join a conference
VTCoco edited this page Sep 25, 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.
let conferenceID = "some-id-obtained-from-voxeet"
VoxeetSDK.shared.conference.join(conferenceID: conferenceID, success: { json in
}, fail: { error in
})
When the success callback is called, the user is in the conference and will have soon information of the other users and be connected with them.
copyright Voxeet 2019
-
Initialization
-
Managing Conference
-
Sharing
-
Advanced