LocalStream
This React component gives you an easy way to display the local stream transmitted in a room session.
Import
import { LocalStream } from "@signalwire-community/react";
Props
Name | Type | Default | Description |
---|---|---|---|
roomSession | RoomSession | The RoomSession. | |
style | React.CSSProperties | Style properties. |
Example
<LocalStream roomSession={roomSession} style={{ height: 150 }} />