Security News
ESLint is Now Language-Agnostic: Linting JSON, Markdown, and Beyond
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
@jitsi/react-sdk
Advanced tools
The Jitsi Meet React SDK provides the same user experience as the Jitsi Meet app, in a customizable way which you can embed in your apps.
npm install @jitsi/react-sdk
This library exposes two components with similar properties, intended for different use-cases.
To be used with custom domains as-it-is in React projects:
<JitsiMeeting
domain = { YOUR_DOMAIN }
roomName = { YOUR_ROOM_NAME }
/>
JitsiMeeting
componentdomain
Optional. Field used to retrieve the external_api.js file that initializes the IFrame. If omitted, defaults to meet.jit.si
.
To be used with the 8x8.vc
domain as-it-is in React projects:
<JaaSMeeting
appId = { YOUR_APP_ID }
roomName = { YOUR_ROOM_NAME }
/>
...or with the stage.8x8.vc
domain:
<JaaSMeeting
appId = { YOUR_APP_ID }
roomName = { YOUR_ROOM_NAME }
useStaging = { true }
/>
JaasMeeting
componentappId
Required. Provides an isolated context and prefixes the room name.
useStaging
Optional. Tells whether to use the staging environment or not.
roomName
Required. String used when joining the meeting.
getIFrameRef
Optional. Callback to retrieve the parent node of the IFrame for more control (e.g. styling).
<JitsiMeeting
...
getIFrameRef = { iframeRef => { iframeRef.style.height = '700px'; } }
/>
onApiReady
Optional. Callback triggered when the external API is loaded to expose it for events and commands.
<JitsiMeeting
...
onApiReady = { externalApi => console.log('Jitsi Meet External API', externalApi) }
/>
onReadyToClose
Optional. Callback triggered when the meeting is ready to be closed.
<JitsiMeeting
...
onReadyToClose = { () => console.log('Jitsi Meet is ready to be closed') }
/>
configOverwrite
Optional. Object used for options overrides.
interfaceConfigOverwrite
Optional. Object used for more options overrides.
jwt
Optional. Token for authentication.
invitees
Optional. Participants list.
devices
Optional. Information regarding the devices used during the call.
userInfo
Optional. Details about the participant that started the meeting.
spinner
Optional. Custom loading view while the IFrame is loading.
Install and run the project from the example
directory to see the JitsiMeeting module in action.
npm run demo
FAQs
React SDK for the Jitsi Meet IFrame
The npm package @jitsi/react-sdk receives a total of 4,929 weekly downloads. As such, @jitsi/react-sdk popularity was classified as popular.
We found that @jitsi/react-sdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 10 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
Security News
Members Hub is conducting large-scale campaigns to artificially boost Discord server metrics, undermining community trust and platform integrity.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.