Skip to main content

Interface: FishjamProviderProps

Extends

  • PropsWithChildren

Properties

audioConfig?

optional audioConfig: StreamConfig

Configure whether to use audio simulcast and which layers to send if so.

Defined in

packages/react-client/src/FishjamProvider.tsx:46


bandwidthLimits?

optional bandwidthLimits: Partial<BandwidthLimits>

Adjust max bandwidth limit for a single stream and simulcast.

Defined in

packages/react-client/src/FishjamProvider.tsx:38


children?

optional children: ReactNode

Inherited from

PropsWithChildren.children

Defined in

node_modules/@types/react/index.d.ts:1630


constraints?

optional constraints: Pick<MediaStreamConstraints, "audio" | "video">

Set preferred constraints.

Param

The media stream constraints as defined by the Web API.

External

MediaStreamConstraints

Defined in

packages/react-client/src/FishjamProvider.tsx:29


persistLastDevice?

optional persistLastDevice: boolean | PersistLastDeviceHandlers

Decide if you want Fishjam SDK to persist last used device in the local storage. You can also provide your getter and setter by using the PersistLastDeviceHandlers interface.

Defined in

packages/react-client/src/FishjamProvider.tsx:34


reconnect?

optional reconnect: boolean | ReconnectConfig

Use ReconnectConfig to adjust reconnection policy to your needs or set false it. Set to true by default.

Defined in

packages/react-client/src/FishjamProvider.tsx:23


videoConfig?

optional videoConfig: StreamConfig

Configure whether to use video simulcast and which layers to send if so.

Defined in

packages/react-client/src/FishjamProvider.tsx:42