Skip to main content

Interface: FishjamProviderProps

Defined in: packages/react-client/src/FishjamProvider.tsx:18

Extends

  • PropsWithChildren

Properties

audioConfig?

optional audioConfig: StreamConfig

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

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


bandwidthLimits?

optional bandwidthLimits: Partial<BandwidthLimits>

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

Adjust max bandwidth limit for a single stream and simulcast.


children?

optional children: ReactNode

Defined in: node_modules/@types/react/index.d.ts:1394

Inherited from

PropsWithChildren.children


constraints?

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

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

Set preferred constraints.

Param

The media stream constraints as defined by the Web API.

See

MediaStreamConstraints


persistLastDevice?

optional persistLastDevice: boolean | PersistLastDeviceHandlers

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

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.


reconnect?

optional reconnect: boolean | ReconnectConfig

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

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


videoConfig?

optional videoConfig: StreamConfig

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

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