Const
Converts a local-room join response into the broader MediaSFU join response shape.
This helper is useful when local/demo or self-hosted room flows need to be normalized to the same response contract consumed by the main runtime.
Response conversion options.
A normalized ResponseJoinRoom object.
ResponseJoinRoom
const normalized = await createResponseJoinRoom({ localRoom });if (normalized.success) { console.log(normalized.meetingRoomParams);} Copy
const normalized = await createResponseJoinRoom({ localRoom });if (normalized.success) { console.log(normalized.meetingRoomParams);}
Converts a local-room join response into the broader MediaSFU join response shape.
This helper is useful when local/demo or self-hosted room flows need to be normalized to the same response contract consumed by the main runtime.