
Product
Introducing Repository Access Permissions and Custom Roles
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.
fy-ait-video
Advanced tools
npm install --save @livekit/react-components livekit-client
Source available in example
Without customization, the component would use a default skin as seen in the demo above.
import { LiveKitRoom } from '@livekit/react-components';
// CSS should be explicitly imported if using the default UI
import '@livekit/react-components/dist/index.css';
// used by the default ParticipantView to maintain video aspect ratio.
// this CSS must be imported globally
// if you are using a custom Participant renderer, this import isn't necessary.
import 'react-aspect-ratio/aspect-ratio.css';
export const RoomPage = () => {
const url = 'wss://your_host';
const token = 'your_token';
return (
<div className="roomContainer">
<LiveKitRoom url={url} token={token} onConnected={(room) => onConnected(room)} />
</div>
);
};
async function onConnected(room) {
await room.localParticipant.setCameraEnabled(true);
await room.localParticipant.setMicrophoneEnabled(true);
}
To provide your own rendering, override one or more of stageRenderer, participantRenderer, and controlRenderer. It's possible customize a single renderer and use defaults for the others.
export const RoomPage = () => {
const url = 'wss://your_host';
const token = 'your_token';
return (
<LiveKitRoom
url={url}
token={token}
// stageRenderer renders the entire stage
stageRenderer={(props: StageProps) => {
return <div />;
}}
// participantRenderer renders a single participant
participantRenderer={(props: ParticipantProps) => {
return <div />;
}}
// controlRenderer renders the control bar
controlRenderer={(props: ControlsProps) => {
return <div />;
}}
/>
);
};
FAQs
LiveKit SDK & Components
We found that fy-ait-video demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.

Product
Socket MCP now lets AI assistants review org alerts, investigate threats using the Socket threat feed, and inspect package files in addition to dependency scoring.

Product
Socket Firewall blocks malicious VS Code and Open VSX extensions before install, protecting developers from compromised editor marketplaces.