ReactJS
React web apps that need the richest documented MediaSFU UI and headless surface.
npm i mediasfu-reactjsUse this page when you need the fastest route from product idea to the right MediaSFU surface: no-code dashboard guide, developer console guide, framework SDK, generated API reference, or React visual preview.
The old routes still point somewhere useful, but each surface now has a clearer job. Open docs and Storybook in a new tab when you want to keep your place in the main MediaSFU site.
Use a framework SDK and let MediaSFU render the room while you validate credentials, permissions, and room flow.
Package names and versions are aligned with the current SDK workspaces. Use each package guide for setup flow, then use generated API docs for exact signatures.
React web apps that need the richest documented MediaSFU UI and headless surface.
npm i mediasfu-reactjsAngular apps that prefer DI-friendly wrappers and shared-backed room behavior.
npm i mediasfu-angularBare React Native apps that need native mobile media, room UI, and device permissions.
npm i mediasfu-reactnativeExpo-managed mobile apps that want MediaSFU room flows inside an Expo app shell.
npm i mediasfu-reactnative-expoVue 3 applications that want composition-friendly SDK setup and UI control.
npm i mediasfu-vueFlutter apps across mobile, web, and desktop from one Dart codebase.
flutter pub add mediasfu_sdkNative Android and Kotlin Multiplatform apps with Compose-first MediaSFU surfaces.
implementation("com.mediasfu:mediasfu-sdk-android:1.0.1")The snippets below are orientation only. The linked docs pages are the canonical place for setup details, security boundaries, and framework-specific usage.
These examples show shape and intent. Keep production credential handling on your backend and move to the SDK page once you choose a framework.
// Keep MediaSFU credentials on the server.
app.post('/api/rooms/create', async (request, response) => {
const room = await createRoomForClient({
apiUserName: process.env.MEDIASFU_API_USERNAME,
apiKey: process.env.MEDIASFU_API_KEY,
roomName: request.body.roomName,
mode: request.body.mode,
});
response.json(room);
});import { MediasfuGeneric } from 'mediasfu-reactjs';
import 'mediasfu-reactjs/dist/main.css';
export function Room({ roomCredentials }) {
return (
<MediasfuGeneric
options={{ credentials: roomCredentials }}
/>
);
}flutter pub add mediasfu_sdk
# Android-only Kotlin projects
implementation("com.mediasfu:mediasfu-sdk-android:1.0.1")
# Kotlin Multiplatform projects
implementation("com.mediasfu:mediasfu-sdk:1.0.1")Use /user-guide for dashboard walkthroughs, /documentation for dashboard and API feature configuration, /docs/ for SDK implementation, /docs/api/ for generated symbols, and /storybook/ for React UI inspection.