MediaSFU React Native (Expo)
    Preparing search index...

    Variable MediasfuBroadcastConst

    MediasfuBroadcast: React.FC<MediasfuBroadcastOptions> = ...

    MediasfuBroadcast component optimizes the media experience for broadcasting events. Only the host can share media (audio, video, no screen share support) with participants. Participants can view the host's media and chat with each other. It manages various states and references related to the media session, including user credentials, room details, participants, and recording parameters.

    Component properties.

    The rendered component.

    <MediasfuBroadcast
    PrejoinPage={WelcomePage}
    credentials={{ apiUserName: "username", apiKey: "apikey" }}
    useLocalUIMode={false}
    seedData={{}}
    useSeed={false}
    imgSrc="https://mediasfu.com/images/logo192.png"
    sourceParameters={{ key: value }}
    updateSourceParameters={updateSourceParameters}
    returnUI={true}
    noUIPreJoinOptions={customPreJoinOptions}
    joinMediaSFURoom={joinRoomOnMediaSFU}
    createMediaSFURoom={createRoomOnMediaSFU}
    customVideoCard={MyCustomVideoCard}
    customAudioCard={MyCustomAudioCard}
    customMiniCard={MyCustomMiniCard}
    customComponent={<MyCustomComponent />}
    />

    This component handles the broadcast functionalities for MediaSFU, including joining rooms, managing participants, and handling media streams. It uses various hooks and methods to manage state and perform actions such as joining a room, updating initial values, and handling media streams.