Skip to main content

Media Permissions

To get media permissions (audio/video) for localUser we can do as follows

val isCameraPermissionGranted
= meeting.localUser.isCameraPermissionGranted
val isMicrophonePermissionGranted
= meeting.localUser.isMicrophonePermissionGranted

Similarly to listen to callbacks regarding media permissions once user joins the meeting

meeting.addSelfEventsListener(object : DyteSelfEventsListener {
override fun onMeetingRoomJoinedWithoutCameraPermission() {
// when meeting room is joined without camera permission

override fun onMeetingRoomJoinedWithoutMicPermission() {
// when meeting room is joined without microphone permission