Meeting instance
In order to join/interact with the Meeting you need to create an instance
val eyesonMeeting = EyesonMeeting(
eventListener = eventListener,
application = getApplication(),
experimentalFeatureStereo = false // Experimental! Usage is NOT recommended
)
Join a meeting
Can either be done via accessKey
or guestToken
.
Join Options
audioOnly
no video will be sent/received
local
/remove
are the respective VideoRenderer. Can be left null at start and set at a later time. Video will be sent/received regardless.
screenShareInfo
If provided join the meeting with active screen share (your local video won't be visible until the screen share is stopped) See Screen share for further information.
Join meeting with accessKey
eyesonMeeting.join(
accessKey = accessKey,
frontCamera = true,
audioOnly = false,
local = localVideoRenderer,
remote = remoteVideoRenderer,
microphoneEnabledOnStart = true,
videoEnabledOnStart = true,
screenShareInfo = null
)
Join meeting with guestToken
eyesonMeeting.joinAsGuest(
guestToken = guestToken,
name = "My name in the meeting",
id = null, // optional
avatar = null, // optional URL
frontCamera = true,
audioOnly = false,
local = localVideoRenderer,
remote = remoteVideoRenderer,
microphoneEnabledOnStart = true,
videoEnabledOnStart = true,
screenShareInfo = null
)