Media Permissions
To know the status of device media permissions (audio/video) for localUser, you can check the following properties:
final isCameraPermissionGranted
= meeting.localUser.isCameraPermissionGranted;
final isMicrophonePermissionGranted
= meeting.localUser.isMicrophonePermissionGranted;
Similarly to listen to callbacks regarding media permissions once user joins the meeting
class LocalUserNotifier extends RtkSelfEventListener {
...
void onMeetingRoomJoinedWithoutCameraPermission() {
// when meeting room is joined without camera permission
}
override
void onMeetingRoomJoinedWithoutMicPermission() {
// when meeting room is joined without microphone permission
}
...
}