Join a Meeting
Join meeting with accessKey
The join(accessKey)
method returns a completion handler with two parameters: a meeting instance when successfully connected, or a terminated event if the meeting has ended or cannot be joined.
Eyeson.shared.join(accessKey) { meeting, terminated in
}
For initial join options, you can make use of the following properties (same is valid for guestToken join):
Eyeson.shared.join(accessKey,
video: true,
camera: .front,
videoMuted: false,
audioMuted: false) { _, _ in }
Join meeting with guestToken
Eyeson.shared.join(guestToken, name: "Guest Name") { meeting, terminated in
// ...
}
Retrieve guest link
To retrieve a shareable guest link for the meeting, use the guestLink
property from the meeting's links collection. This URL can be shared with participants who need to join the meeting as guests.
let guestLink = meeting.links.guestLink
Local/Remote video view
The SDK provides access to both local and remote video views which can be added to your application's view hierarchy. Use the following properties to obtain references to these views:
let localVideoView: UIView = meeting.localVideoView
let remoteVideoView: UIView = meeting.remoteVideoView
Delegate
The SDK provides a delegate protocol that allows you to respond to various meeting events. For detailed information on available delegate methods and event handling, please refer to the Delegate methods documentation.
meeting.delegate = self