Expo device selection and effects
Use mediasfu-reactnative-expo 2.5.5 room controls for its supported camera switching and configured translation flows.
Camera switching
The package exposes MediaSettingsModal, switchVideoAlt, switchUserVideo,
and switchUserVideoAlt. For example:
import {switchVideoAlt} from 'mediasfu-reactnative-expo';
type CameraFlipOptions = Parameters<typeof switchVideoAlt>[0];
export function flipCamera(options: CameraFlipOptions) {
return switchVideoAlt(options);
}
Use the options from the active room. Microphone-device selection and system audio routes are not package-root controls; follow the platform's native audio behavior.
Backgrounds and translation
The package's native React Native background processor is not supported. Keep
background effects out of the native UI rather than treating an Expo web effect
as proof of native support. Use TranslationSettingsModal only when the room
is configured for translation.
Test Android, iOS, and web independently. Permission to open a camera does not prove remote media delivery or translated audio playback. Keep a clear retry path for interruptions and device changes.
Continue with Expo room operations and Expo recovery.