buildDefaultLobbyControlActions
fun buildDefaultLobbyControlActions(call: Call, onCallAction: (CallAction) -> Unit, isCameraEnabled: Boolean = if (LocalInspectionMode.current) {
true
} else {
call.camera.isEnabled.value
}, isMicrophoneEnabled: Boolean = if (LocalInspectionMode.current) {
true
} else {
call.microphone.isEnabled.value
}): List<@Composable () -> Unit>
Builds the default set of Lobby Control actions based on the call device states.
Return
List of call control actions that the user can trigger.
Parameters
call
The call that contains all the participants state and tracks.