Shared-core device and effect building blocks
mediasfu-shared 1.2.5 provides reusable media-operation building blocks. It does not supply a complete platform picker, user interface, effect engine, or transcription provider.
Media operations
The package exports switchAudio, switchVideo, switchUserAudio,
switchUserVideo, and launchBackground:
import {switchAudio, switchVideo} from 'mediasfu-shared';
type AudioSwitchOptions = Parameters<typeof switchAudio>[0];
type VideoSwitchOptions = Parameters<typeof switchVideo>[0];
These helpers require the consuming room's complete supported options and platform dependencies. They do not create a room, enumerate device UI, or provide platform-independent media effect processing.
Translation building blocks
Shared code exports received-subtitle and translation helpers including
createLiveSubtitle, updateLiveSubtitlesFromTranscript, and
translationConsumerSwitch. A consuming SDK or application must provide the
room integration, UI, and any transcription/translation service. Do not imply
that importing the helpers enables translation by itself.
Use the guide for your consuming SDK to confirm its public room binding and platform support.