diff --git a/packages/js-server-sdk b/packages/js-server-sdk index 3328d55b..0007dea8 160000 --- a/packages/js-server-sdk +++ b/packages/js-server-sdk @@ -1 +1 @@ -Subproject commit 3328d55bafdd586bdddf6682dafd798c331882c6 +Subproject commit 0007dea898b99b6923059b364584054cf1580b02 diff --git a/packages/python-server-sdk b/packages/python-server-sdk index 0d8cafb5..2f18378a 160000 --- a/packages/python-server-sdk +++ b/packages/python-server-sdk @@ -1 +1 @@ -Subproject commit 0d8cafb530971b849e1ec0aa4ba4840084b24d9d +Subproject commit 2f18378a2339b3bf5870939864e0fff94f2e5a76 diff --git a/packages/web-client-sdk b/packages/web-client-sdk index f9c524fd..ae228527 160000 --- a/packages/web-client-sdk +++ b/packages/web-client-sdk @@ -1 +1 @@ -Subproject commit f9c524fd1ea91e5bcd57ee915282fefeaed45b65 +Subproject commit ae228527ec61ba2db2a61a590b4c999f065dcfeb diff --git a/versioned_docs/version-0.23.0/api/mobile/functions/FishjamRoom.md b/versioned_docs/version-0.23.0/api/mobile/functions/FishjamRoom.md deleted file mode 100644 index 55173d03..00000000 --- a/versioned_docs/version-0.23.0/api/mobile/functions/FishjamRoom.md +++ /dev/null @@ -1,31 +0,0 @@ -# Function: FishjamRoom() - -> **FishjamRoom**(`props`): `Element` - -Defined in: [packages/react-native-client/src/components/FishjamRoom/index.tsx:39](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/components/FishjamRoom/index.tsx#L39) - -Simple component that enables your camera and show all tracks - -Example usage: -```tsx -import { FishjamRoom } from '@fishjam-cloud/react-native-client'; -import React from 'react'; - -const FISHJAM_ID = 'your-fishjam_id'; -const PEER_TOKEN = 'your-peer-token'; - - -``` - -## Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `props` | [`FishjamRoomProps`](../type-aliases/FishjamRoomProps.md) | | - -## Returns - -`Element` diff --git a/versioned_docs/version-0.23.0/api/mobile/functions/setOverwriteDebugConfig.md b/versioned_docs/version-0.23.0/api/mobile/functions/setOverwriteDebugConfig.md deleted file mode 100644 index f31e2461..00000000 --- a/versioned_docs/version-0.23.0/api/mobile/functions/setOverwriteDebugConfig.md +++ /dev/null @@ -1,15 +0,0 @@ -# Function: setOverwriteDebugConfig() - -> **setOverwriteDebugConfig**(`partial`): `void` - -Defined in: [packages/react-native-client/src/utils/config.ts:9](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/utils/config.ts#L9) - -## Parameters - -| Parameter | Type | -| ------ | ------ | -| `partial` | `Partial`\<[`DebugConfig`](../type-aliases/DebugConfig.md)\> | - -## Returns - -`void` diff --git a/versioned_docs/version-0.23.0/api/mobile/functions/useAudioSettings.md b/versioned_docs/version-0.23.0/api/mobile/functions/useAudioSettings.md deleted file mode 100644 index 950123b1..00000000 --- a/versioned_docs/version-0.23.0/api/mobile/functions/useAudioSettings.md +++ /dev/null @@ -1,66 +0,0 @@ -# Function: useAudioSettings() - -> **useAudioSettings**(): `object` - -Defined in: [packages/react-native-client/src/hooks/useAudioSettings.ts:39](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/useAudioSettings.ts#L39) - -This hook manages audio settings. - -## Returns - -### availableDevices - -> **availableDevices**: [`AudioOutputDevice`](../type-aliases/AudioOutputDevice.md)[] - -[Android only] available audio output devices to be set - -### selectAudioSessionMode() - -> **selectAudioSessionMode**: (`audioSessionMode`) => `Promise`\<`void`\> - -[iOS only] selects audio session mode. For more information refer to Apple's documentation: - https://developer.apple.com/documentation/avfaudio/avaudiosession/mode/ - -#### Parameters - -| Parameter | Type | -| ------ | ------ | -| `audioSessionMode` | [`AudioSessionMode`](../type-aliases/AudioSessionMode.md) | - -#### Returns - -`Promise`\<`void`\> - -### selectedAudioOutputDevice - -> **selectedAudioOutputDevice**: `null` \| [`AudioOutputDevice`](../type-aliases/AudioOutputDevice.md) - -currently selected output audio device - -### selectOutputAudioDevice() - -> **selectOutputAudioDevice**: (`device`) => `Promise`\<`void`\> - -[Android only] selects output audio device. -For detecting and selecting bluettoth devices make sure you have the BLUETOOTH_CONNECT permission. - -#### Parameters - -| Parameter | Type | -| ------ | ------ | -| `device` | [`AudioOutputDeviceType`](../type-aliases/AudioOutputDeviceType.md) | - -#### Returns - -`Promise`\<`void`\> - -### showAudioRoutePicker() - -> **showAudioRoutePicker**: () => `Promise`\<`void`\> - -[iOS only] Shows a picker modal that allows user to select output audio device. For more -information refer to Apple's documentation: https://developer.apple.com/documentation/avkit/avroutepickerview - -#### Returns - -`Promise`\<`void`\> diff --git a/versioned_docs/version-0.23.0/api/mobile/functions/useBandwidthEstimation.md b/versioned_docs/version-0.23.0/api/mobile/functions/useBandwidthEstimation.md deleted file mode 100644 index 04710579..00000000 --- a/versioned_docs/version-0.23.0/api/mobile/functions/useBandwidthEstimation.md +++ /dev/null @@ -1,17 +0,0 @@ -# Function: useBandwidthEstimation() - -> **useBandwidthEstimation**(): `object` - -Defined in: [packages/react-native-client/src/hooks/useBandwidthEstimation.ts:11](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/useBandwidthEstimation.ts#L11) - -This hook provides current bandwidth estimation -estimation - client's available incoming bitrate estimated -by the server. It's measured in bits per second. - -## Returns - -### estimation - -> **estimation**: `null` \| `number` - -Bandwidth estimation, measured in bits per second diff --git a/versioned_docs/version-0.23.0/api/mobile/functions/useCamera.md b/versioned_docs/version-0.23.0/api/mobile/functions/useCamera.md deleted file mode 100644 index 19d2e8ce..00000000 --- a/versioned_docs/version-0.23.0/api/mobile/functions/useCamera.md +++ /dev/null @@ -1,90 +0,0 @@ -# Function: useCamera() - -> **useCamera**(): `object` - -Defined in: [packages/react-native-client/src/hooks/useCamera.ts:121](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/useCamera.ts#L121) - -This hook can toggle camera on/off and provides current camera state. - -## Returns - -### cameras - -> **cameras**: readonly [`Camera`](../type-aliases/Camera.md)[] - -Property that lists cameras available on device. - -#### Returns - -A promise that resolves to the list of available cameras. - -### currentCamera - -> **currentCamera**: `null` \| [`Camera`](../type-aliases/Camera.md) - -Which camera is now used for streaming (or will be used as default when camera will be enabled) - -### isCameraOn - -> **isCameraOn**: `boolean` - -Informs if user camera is streaming video - -### isInitialized - -> **isInitialized**: `boolean` = `isCameraInitialized` - -A value indicating if camera was already initialized (if `prepareCamera` was called). - -### prepareCamera() - -> **prepareCamera**: (`config`) => `Promise`\<`boolean`\> - -Prepares camera and starts local video track - -#### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `config` | `Readonly`\<[`CameraConfig`](../type-aliases/CameraConfig.md)\> | configuration of the camera capture | - -#### Returns - -`Promise`\<`boolean`\> - -A promise that resolves when camera is started. - -### simulcastConfig - -> **simulcastConfig**: [`SimulcastConfig`](../type-aliases/SimulcastConfig.md) - -Simulcast configuration - -### switchCamera() - -> **switchCamera**: (`cameraId`) => `Promise`\<`void`\> - -Switches to the specified camera. -List of available devices can be retrieved from `cameras` variable - -#### Parameters - -| Parameter | Type | -| ------ | ------ | -| `cameraId` | [`CameraId`](../type-aliases/CameraId.md) | - -#### Returns - -`Promise`\<`void`\> - -A promise that resolves when camera is switched. - -### toggleCamera() - -> **toggleCamera**: () => `Promise`\<`void`\> - -Enable/disable current camera - -#### Returns - -`Promise`\<`void`\> diff --git a/versioned_docs/version-0.23.0/api/mobile/functions/useMicrophone.md b/versioned_docs/version-0.23.0/api/mobile/functions/useMicrophone.md deleted file mode 100644 index a6ff2236..00000000 --- a/versioned_docs/version-0.23.0/api/mobile/functions/useMicrophone.md +++ /dev/null @@ -1,45 +0,0 @@ -# Function: useMicrophone() - -> **useMicrophone**(): `object` - -Defined in: [packages/react-native-client/src/hooks/useMicrophone.ts:12](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/useMicrophone.ts#L12) - -This hook can toggle microphone on/off and provides current microphone state. - -## Returns - -### isMicrophoneOn - -> **isMicrophoneOn**: `boolean` - -Informs if microphone audio track is active - -### startMicrophone() - -> **startMicrophone**: () => `Promise`\<`void`\> - -Starts microphone and requests permission if needed - -#### Returns - -`Promise`\<`void`\> - -### stopMicrophone() - -> **stopMicrophone**: () => `Promise`\<`void`\> - -Stops microphone (mutes the track without removing it) - -#### Returns - -`Promise`\<`void`\> - -### toggleMicrophone() - -> **toggleMicrophone**: () => `Promise`\<`void`\> - -Toggles microphone on/off based on the value of `isMicrophoneOn` - -#### Returns - -`Promise`\<`void`\> diff --git a/versioned_docs/version-0.23.0/api/mobile/functions/usePeers.md b/versioned_docs/version-0.23.0/api/mobile/functions/usePeers.md deleted file mode 100644 index e5c53837..00000000 --- a/versioned_docs/version-0.23.0/api/mobile/functions/usePeers.md +++ /dev/null @@ -1,39 +0,0 @@ -# Function: usePeers() - -> **usePeers**\<`PeerMetadata`, `ServerMetadata`\>(): `object` - -Defined in: [packages/react-native-client/src/hooks/usePeers.ts:186](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/usePeers.ts#L186) - -Hook that provides live updates of room peers. - -## Type Parameters - -| Type Parameter | Default type | Description | -| ------ | ------ | ------ | -| `PeerMetadata` *extends* [`GenericMetadata`](../type-aliases/GenericMetadata.md) | [`GenericMetadata`](../type-aliases/GenericMetadata.md) | Type for peer-specific metadata | -| `ServerMetadata` *extends* [`GenericMetadata`](../type-aliases/GenericMetadata.md) | [`GenericMetadata`](../type-aliases/GenericMetadata.md) | Type for server-specific metadata | - -## Returns - -### localPeer - -> **localPeer**: `null` \| [`PeerWithTracks`](../type-aliases/PeerWithTracks.md)\<`PeerMetadata`, `ServerMetadata`\> - -The local peer with distinguished tracks (camera, microphone, screen share). -Will be null if the local peer is not found. - -### ~~peers~~ - -> **peers**: [`Peer`](../type-aliases/Peer.md)\<`PeerMetadata`, `ServerMetadata`\>[] - -#### Deprecated - -Use localPeer and remotePeers instead -Legacy array containing all peers (both local and remote) without distinguished tracks. -This property will be removed in future versions. - -### remotePeers - -> **remotePeers**: [`PeerWithTracks`](../type-aliases/PeerWithTracks.md)\<`PeerMetadata`, `ServerMetadata`\>[] - -Array of remote peers with distinguished tracks (camera, microphone, screen share). diff --git a/versioned_docs/version-0.23.0/api/mobile/functions/useSandbox.md b/versioned_docs/version-0.23.0/api/mobile/functions/useSandbox.md deleted file mode 100644 index 88b3b785..00000000 --- a/versioned_docs/version-0.23.0/api/mobile/functions/useSandbox.md +++ /dev/null @@ -1,60 +0,0 @@ -# Function: useSandbox() - -> **useSandbox**(`__namedParameters`): `object` - -Defined in: [packages/react-native-client/src/hooks/useSandbox.ts:17](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/useSandbox.ts#L17) - -## Parameters - -| Parameter | Type | -| ------ | ------ | -| `__namedParameters` | [`UseSandboxProps`](../type-aliases/UseSandboxProps.md) | - -## Returns - -`object` - -### getSandboxLivestream() - -> **getSandboxLivestream**: (`roomName`, `isPublic`) => `Promise`\<\{ `room`: \{ `id`: `string`; `name`: `string`; \}; `streamerToken`: `string`; \}\> - -#### Parameters - -| Parameter | Type | Default value | -| ------ | ------ | ------ | -| `roomName` | `string` | `undefined` | -| `isPublic` | `boolean` | `false` | - -#### Returns - -`Promise`\<\{ `room`: \{ `id`: `string`; `name`: `string`; \}; `streamerToken`: `string`; \}\> - -### getSandboxPeerToken() - -> **getSandboxPeerToken**: (`roomName`, `peerName`, `roomType`) => `Promise`\<`string`\> - -#### Parameters - -| Parameter | Type | Default value | -| ------ | ------ | ------ | -| `roomName` | `string` | `undefined` | -| `peerName` | `string` | `undefined` | -| `roomType` | [`RoomType`](../type-aliases/RoomType.md) | `'conference'` | - -#### Returns - -`Promise`\<`string`\> - -### getSandboxViewerToken() - -> **getSandboxViewerToken**: (`roomName`) => `Promise`\<`string`\> - -#### Parameters - -| Parameter | Type | -| ------ | ------ | -| `roomName` | `string` | - -#### Returns - -`Promise`\<`string`\> diff --git a/versioned_docs/version-0.23.0/api/mobile/functions/useScreenShare.md b/versioned_docs/version-0.23.0/api/mobile/functions/useScreenShare.md deleted file mode 100644 index 59d71352..00000000 --- a/versioned_docs/version-0.23.0/api/mobile/functions/useScreenShare.md +++ /dev/null @@ -1,44 +0,0 @@ -# Function: useScreenShare() - -> **useScreenShare**(): `object` - -Defined in: [packages/react-native-client/src/hooks/useScreenShare.ts:42](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/useScreenShare.ts#L42) - -This hook can toggle screen sharing on/off and provides current screen share state. - -## Returns - -An object with functions to manage screen share. - -### handleScreenSharePermission() - -> **handleScreenSharePermission**: () => `Promise`\<`"granted"` \| `"denied"`\> - -#### Returns - -`Promise`\<`"granted"` \| `"denied"`\> - -### isScreenShareOn - -> **isScreenShareOn**: `boolean` - -### simulcastConfig - -> **simulcastConfig**: [`SimulcastConfig`](../type-aliases/SimulcastConfig.md) - -### toggleScreenShare() - -> **toggleScreenShare**: (`screenShareOptions`) => `Promise`\<`void`\> - -Toggles the screen share on/off -Emits warning on ios when user is screensharing app screen. - -#### Parameters - -| Parameter | Type | -| ------ | ------ | -| `screenShareOptions` | `Partial`\<[`ScreenShareOptions`](../type-aliases/ScreenShareOptions.md)\> | - -#### Returns - -`Promise`\<`void`\> diff --git a/versioned_docs/version-0.23.0/api/mobile/functions/useUpdatePeerMetadata.md b/versioned_docs/version-0.23.0/api/mobile/functions/useUpdatePeerMetadata.md deleted file mode 100644 index cf26260c..00000000 --- a/versioned_docs/version-0.23.0/api/mobile/functions/useUpdatePeerMetadata.md +++ /dev/null @@ -1,31 +0,0 @@ -# Function: useUpdatePeerMetadata() - -> **useUpdatePeerMetadata**\<`PeerMetadata`\>(): `object` - -Defined in: [packages/react-native-client/src/hooks/useUpdatePeerMetadata.ts:10](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/useUpdatePeerMetadata.ts#L10) - -This hook provides method to update peer metadata - -## Type Parameters - -| Type Parameter | Default type | -| ------ | ------ | -| `PeerMetadata` *extends* [`GenericMetadata`](../type-aliases/GenericMetadata.md) | [`GenericMetadata`](../type-aliases/GenericMetadata.md) | - -## Returns - -### updatePeerMetadata() - -> **updatePeerMetadata**: (`peerMetadata`) => `Promise`\<`void`\> - -Updates metadata send to other peers - -#### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `peerMetadata` | `PeerMetadata` | string indexed record with metadata, that will be available to all other peers | - -#### Returns - -`Promise`\<`void`\> diff --git a/versioned_docs/version-0.23.0/api/mobile/index.md b/versioned_docs/version-0.23.0/api/mobile/index.md deleted file mode 100644 index e31b652a..00000000 --- a/versioned_docs/version-0.23.0/api/mobile/index.md +++ /dev/null @@ -1,85 +0,0 @@ -# @fishjam-cloud/react-native-client - -## Connection - -- [useConnection](functions/useConnection.md) -- [usePeers](functions/usePeers.md) -- [useScreenShare](functions/useScreenShare.md) -- [useUpdatePeerMetadata](functions/useUpdatePeerMetadata.md) -- [useAppScreenShare](variables/useAppScreenShare.md) -- [useCallKit](variables/useCallKit.md) -- [useCallKitEvent](variables/useCallKitEvent.md) -- [useCallKitService](variables/useCallKitService.md) -- [useForegroundService](variables/useForegroundService.md) - -## Devices - -- [useAudioSettings](functions/useAudioSettings.md) -- [useCamera](functions/useCamera.md) -- [useMicrophone](functions/useMicrophone.md) - -## Components - -- [FishjamRoom](functions/FishjamRoom.md) -- [PipContainerView](variables/PipContainerView.md) -- [VideoPreviewView](variables/VideoPreviewView.md) -- [VideoRendererView](variables/VideoRendererView.md) - -## Other - -- [setOverwriteDebugConfig](functions/setOverwriteDebugConfig.md) -- [useSandbox](functions/useSandbox.md) -- [PipContainerViewProps](interfaces/PipContainerViewProps.md) -- [PipContainerViewRef](interfaces/PipContainerViewRef.md) -- [AppScreenShareData](type-aliases/AppScreenShareData.md) -- [AudioOutputDevice](type-aliases/AudioOutputDevice.md) -- [AudioOutputDeviceType](type-aliases/AudioOutputDeviceType.md) -- [AudioSessionMode](type-aliases/AudioSessionMode.md) -- [AudioTrack](type-aliases/AudioTrack.md) -- [Brand](type-aliases/Brand.md) -- [CallKitAction](type-aliases/CallKitAction.md) -- [CallKitConfig](type-aliases/CallKitConfig.md) -- [Camera](type-aliases/Camera.md) -- [CameraConfig](type-aliases/CameraConfig.md) -- [CameraConfigBase](type-aliases/CameraConfigBase.md) -- [CameraFacingDirection](type-aliases/CameraFacingDirection.md) -- [CameraId](type-aliases/CameraId.md) -- [ConnectionConfig](type-aliases/ConnectionConfig.md) -- [DebugConfig](type-aliases/DebugConfig.md) -- [DistinguishedTracks](type-aliases/DistinguishedTracks.md) -- [EncodingReason](type-aliases/EncodingReason.md) -- [FishjamRoomProps](type-aliases/FishjamRoomProps.md) -- [ForegroundServiceConfig](type-aliases/ForegroundServiceConfig.md) -- [GenericMetadata](type-aliases/GenericMetadata.md) -- [JoinRoomConfig](type-aliases/JoinRoomConfig.md) -- [Peer](type-aliases/Peer.md) -- [PeerId](type-aliases/PeerId.md) -- [PeerStatus](type-aliases/PeerStatus.md) -- [PeerTrackMetadata](type-aliases/PeerTrackMetadata.md) -- [PeerWithTracks](type-aliases/PeerWithTracks.md) -- [PictureInPictureConfig](type-aliases/PictureInPictureConfig.md) -- [ReconnectionStatus](type-aliases/ReconnectionStatus.md) -- [RoomType](type-aliases/RoomType.md) -- [ScreenShareOptions](type-aliases/ScreenShareOptions.md) -- [ScreenShareQuality](type-aliases/ScreenShareQuality.md) -- [SimulcastConfig](type-aliases/SimulcastConfig.md) -- [Track](type-aliases/Track.md) -- [TrackBase](type-aliases/TrackBase.md) -- [TrackId](type-aliases/TrackId.md) -- [TrackMetadata](type-aliases/TrackMetadata.md) -- [TrackType](type-aliases/TrackType.md) -- [UseCallKitResult](type-aliases/UseCallKitResult.md) -- [UsePeersResult](type-aliases/UsePeersResult.md) -- [UseSandboxProps](type-aliases/UseSandboxProps.md) -- [VadStatus](type-aliases/VadStatus.md) -- [VideoLayout](type-aliases/VideoLayout.md) -- [VideoPreviewViewProps](type-aliases/VideoPreviewViewProps.md) -- [VideoQuality](type-aliases/VideoQuality.md) -- [VideoRendererProps](type-aliases/VideoRendererProps.md) -- [VideoTrack](type-aliases/VideoTrack.md) -- [useCameraPermissions](variables/useCameraPermissions.md) -- [useMicrophonePermissions](variables/useMicrophonePermissions.md) - -## Debugging - -- [useBandwidthEstimation](functions/useBandwidthEstimation.md) diff --git a/versioned_docs/version-0.23.0/api/mobile/interfaces/PipContainerViewProps.md b/versioned_docs/version-0.23.0/api/mobile/interfaces/PipContainerViewProps.md deleted file mode 100644 index 14a2197c..00000000 --- a/versioned_docs/version-0.23.0/api/mobile/interfaces/PipContainerViewProps.md +++ /dev/null @@ -1,47 +0,0 @@ -# Interface: PipContainerViewProps - -Defined in: [packages/react-native-client/src/components/PipContainerView.tsx:13](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/components/PipContainerView.tsx#L13) - -## Extends - -- `ViewProps` - -## Properties - -### allowsCameraInBackground? - -> `optional` **allowsCameraInBackground**: `boolean` - -Defined in: [packages/react-native-client/src/components/PipContainerView.tsx:16](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/components/PipContainerView.tsx#L16) - -*** - -### primaryPlaceholderText? - -> `optional` **primaryPlaceholderText**: `string` - -Defined in: [packages/react-native-client/src/components/PipContainerView.tsx:17](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/components/PipContainerView.tsx#L17) - -*** - -### secondaryPlaceholderText? - -> `optional` **secondaryPlaceholderText**: `string` - -Defined in: [packages/react-native-client/src/components/PipContainerView.tsx:18](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/components/PipContainerView.tsx#L18) - -*** - -### startAutomatically? - -> `optional` **startAutomatically**: `boolean` - -Defined in: [packages/react-native-client/src/components/PipContainerView.tsx:14](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/components/PipContainerView.tsx#L14) - -*** - -### stopAutomatically? - -> `optional` **stopAutomatically**: `boolean` - -Defined in: [packages/react-native-client/src/components/PipContainerView.tsx:15](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/components/PipContainerView.tsx#L15) diff --git a/versioned_docs/version-0.23.0/api/mobile/interfaces/PipContainerViewRef.md b/versioned_docs/version-0.23.0/api/mobile/interfaces/PipContainerViewRef.md deleted file mode 100644 index c2b42c43..00000000 --- a/versioned_docs/version-0.23.0/api/mobile/interfaces/PipContainerViewRef.md +++ /dev/null @@ -1,27 +0,0 @@ -# Interface: PipContainerViewRef - -Defined in: [packages/react-native-client/src/components/PipContainerView.tsx:21](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/components/PipContainerView.tsx#L21) - -## Methods - -### startPictureInPicture() - -> **startPictureInPicture**(): `Promise`\<`void`\> - -Defined in: [packages/react-native-client/src/components/PipContainerView.tsx:22](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/components/PipContainerView.tsx#L22) - -#### Returns - -`Promise`\<`void`\> - -*** - -### stopPictureInPicture() - -> **stopPictureInPicture**(): `Promise`\<`void`\> - -Defined in: [packages/react-native-client/src/components/PipContainerView.tsx:23](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/components/PipContainerView.tsx#L23) - -#### Returns - -`Promise`\<`void`\> diff --git a/versioned_docs/version-0.23.0/api/mobile/type-aliases/AppScreenShareData.md b/versioned_docs/version-0.23.0/api/mobile/type-aliases/AppScreenShareData.md deleted file mode 100644 index a4516443..00000000 --- a/versioned_docs/version-0.23.0/api/mobile/type-aliases/AppScreenShareData.md +++ /dev/null @@ -1,39 +0,0 @@ -# Type Alias: AppScreenShareData - -> **AppScreenShareData** = `object` - -Defined in: [packages/react-native-client/src/hooks/useAppScreenShare.ts:17](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/useAppScreenShare.ts#L17) - -## Properties - -### isAppScreenShareOn - -> **isAppScreenShareOn**: `boolean` - -Defined in: [packages/react-native-client/src/hooks/useAppScreenShare.ts:18](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/useAppScreenShare.ts#L18) - -*** - -### simulcastConfig - -> **simulcastConfig**: [`SimulcastConfig`](SimulcastConfig.md) - -Defined in: [packages/react-native-client/src/hooks/useAppScreenShare.ts:19](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/useAppScreenShare.ts#L19) - -*** - -### toggleAppScreenShare() - -> **toggleAppScreenShare**: (`screenShareOptions?`) => `Promise`\<`void`\> - -Defined in: [packages/react-native-client/src/hooks/useAppScreenShare.ts:20](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/useAppScreenShare.ts#L20) - -#### Parameters - -| Parameter | Type | -| ------ | ------ | -| `screenShareOptions?` | `Partial`\<[`ScreenShareOptions`](ScreenShareOptions.md)\> | - -#### Returns - -`Promise`\<`void`\> diff --git a/versioned_docs/version-0.23.0/api/mobile/type-aliases/AudioOutputDevice.md b/versioned_docs/version-0.23.0/api/mobile/type-aliases/AudioOutputDevice.md deleted file mode 100644 index 7bb527d7..00000000 --- a/versioned_docs/version-0.23.0/api/mobile/type-aliases/AudioOutputDevice.md +++ /dev/null @@ -1,21 +0,0 @@ -# Type Alias: AudioOutputDevice - -> **AudioOutputDevice** = `object` - -Defined in: [packages/react-native-client/src/hooks/useAudioSettings.ts:17](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/useAudioSettings.ts#L17) - -## Properties - -### name - -> **name**: `string` - -Defined in: [packages/react-native-client/src/hooks/useAudioSettings.ts:19](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/useAudioSettings.ts#L19) - -*** - -### type - -> **type**: [`AudioOutputDeviceType`](AudioOutputDeviceType.md) - -Defined in: [packages/react-native-client/src/hooks/useAudioSettings.ts:18](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/useAudioSettings.ts#L18) diff --git a/versioned_docs/version-0.23.0/api/mobile/type-aliases/AudioOutputDeviceType.md b/versioned_docs/version-0.23.0/api/mobile/type-aliases/AudioOutputDeviceType.md deleted file mode 100644 index 2dfa5852..00000000 --- a/versioned_docs/version-0.23.0/api/mobile/type-aliases/AudioOutputDeviceType.md +++ /dev/null @@ -1,5 +0,0 @@ -# Type Alias: AudioOutputDeviceType - -> **AudioOutputDeviceType** = `"bluetooth"` \| `"headset"` \| `"speaker"` \| `"earpiece"` - -Defined in: [packages/react-native-client/src/hooks/useAudioSettings.ts:9](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/useAudioSettings.ts#L9) diff --git a/versioned_docs/version-0.23.0/api/mobile/type-aliases/AudioSessionMode.md b/versioned_docs/version-0.23.0/api/mobile/type-aliases/AudioSessionMode.md deleted file mode 100644 index ffcd665d..00000000 --- a/versioned_docs/version-0.23.0/api/mobile/type-aliases/AudioSessionMode.md +++ /dev/null @@ -1,5 +0,0 @@ -# Type Alias: AudioSessionMode - -> **AudioSessionMode** = `"voiceChat"` \| `"videoChat"` - -Defined in: [packages/react-native-client/src/hooks/useAudioSettings.ts:15](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/useAudioSettings.ts#L15) diff --git a/versioned_docs/version-0.23.0/api/mobile/type-aliases/AudioTrack.md b/versioned_docs/version-0.23.0/api/mobile/type-aliases/AudioTrack.md deleted file mode 100644 index 883f5734..00000000 --- a/versioned_docs/version-0.23.0/api/mobile/type-aliases/AudioTrack.md +++ /dev/null @@ -1,15 +0,0 @@ -# Type Alias: AudioTrack - -> **AudioTrack** = [`TrackBase`](TrackBase.md) & `object` - -Defined in: [packages/react-native-client/src/hooks/usePeers.ts:34](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/usePeers.ts#L34) - -## Type declaration - -### type - -> **type**: `"Audio"` - -### vadStatus - -> **vadStatus**: [`VadStatus`](VadStatus.md) \| `undefined` diff --git a/versioned_docs/version-0.23.0/api/mobile/type-aliases/CallKitAction.md b/versioned_docs/version-0.23.0/api/mobile/type-aliases/CallKitAction.md deleted file mode 100644 index 1a42a6bb..00000000 --- a/versioned_docs/version-0.23.0/api/mobile/type-aliases/CallKitAction.md +++ /dev/null @@ -1,45 +0,0 @@ -# Type Alias: CallKitAction - -> **CallKitAction** = `object` - -Defined in: [packages/react-native-client/src/hooks/useCallKit.ts:6](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/useCallKit.ts#L6) - -## Properties - -### ended - -> **ended**: `undefined` - -Defined in: [packages/react-native-client/src/hooks/useCallKit.ts:8](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/useCallKit.ts#L8) - -*** - -### failed - -> **failed**: `string` - -Defined in: [packages/react-native-client/src/hooks/useCallKit.ts:9](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/useCallKit.ts#L9) - -*** - -### held - -> **held**: `boolean` - -Defined in: [packages/react-native-client/src/hooks/useCallKit.ts:11](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/useCallKit.ts#L11) - -*** - -### muted - -> **muted**: `boolean` - -Defined in: [packages/react-native-client/src/hooks/useCallKit.ts:10](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/useCallKit.ts#L10) - -*** - -### started - -> **started**: `undefined` - -Defined in: [packages/react-native-client/src/hooks/useCallKit.ts:7](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/useCallKit.ts#L7) diff --git a/versioned_docs/version-0.23.0/api/mobile/type-aliases/CallKitConfig.md b/versioned_docs/version-0.23.0/api/mobile/type-aliases/CallKitConfig.md deleted file mode 100644 index f45206d5..00000000 --- a/versioned_docs/version-0.23.0/api/mobile/type-aliases/CallKitConfig.md +++ /dev/null @@ -1,25 +0,0 @@ -# Type Alias: CallKitConfig - -> **CallKitConfig** = `object` - -Defined in: [packages/react-native-client/src/hooks/useCallKit.ts:32](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/useCallKit.ts#L32) - -## Properties - -### displayName - -> **displayName**: `string` - -Defined in: [packages/react-native-client/src/hooks/useCallKit.ts:36](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/useCallKit.ts#L36) - -The name to display in the CallKit UI - -*** - -### isVideo - -> **isVideo**: `boolean` - -Defined in: [packages/react-native-client/src/hooks/useCallKit.ts:40](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/useCallKit.ts#L40) - -Whether the should support video diff --git a/versioned_docs/version-0.23.0/api/mobile/type-aliases/Camera.md b/versioned_docs/version-0.23.0/api/mobile/type-aliases/Camera.md deleted file mode 100644 index 1e3f24bf..00000000 --- a/versioned_docs/version-0.23.0/api/mobile/type-aliases/Camera.md +++ /dev/null @@ -1,29 +0,0 @@ -# Type Alias: Camera - -> **Camera** = `object` - -Defined in: [packages/react-native-client/src/hooks/useCamera.ts:12](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/useCamera.ts#L12) - -## Properties - -### facingDirection - -> **facingDirection**: [`CameraFacingDirection`](CameraFacingDirection.md) - -Defined in: [packages/react-native-client/src/hooks/useCamera.ts:15](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/useCamera.ts#L15) - -*** - -### id - -> **id**: [`CameraId`](CameraId.md) - -Defined in: [packages/react-native-client/src/hooks/useCamera.ts:13](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/useCamera.ts#L13) - -*** - -### name - -> **name**: `string` - -Defined in: [packages/react-native-client/src/hooks/useCamera.ts:14](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/useCamera.ts#L14) diff --git a/versioned_docs/version-0.23.0/api/mobile/type-aliases/CameraConfig.md b/versioned_docs/version-0.23.0/api/mobile/type-aliases/CameraConfig.md deleted file mode 100644 index e8f9e752..00000000 --- a/versioned_docs/version-0.23.0/api/mobile/type-aliases/CameraConfig.md +++ /dev/null @@ -1,13 +0,0 @@ -# Type Alias: CameraConfig - -> **CameraConfig** = [`CameraConfigBase`](CameraConfigBase.md) & `object` - -Defined in: [packages/react-native-client/src/hooks/useCamera.ts:74](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/useCamera.ts#L74) - -## Type declaration - -### simulcastEnabled? - -> `optional` **simulcastEnabled**: `boolean` - -whether video track uses simulcast. By default simulcast is disabled. diff --git a/versioned_docs/version-0.23.0/api/mobile/type-aliases/CameraConfigBase.md b/versioned_docs/version-0.23.0/api/mobile/type-aliases/CameraConfigBase.md deleted file mode 100644 index 3bdee607..00000000 --- a/versioned_docs/version-0.23.0/api/mobile/type-aliases/CameraConfigBase.md +++ /dev/null @@ -1,78 +0,0 @@ -# Type Alias: CameraConfigBase - -> **CameraConfigBase** = `object` - -Defined in: [packages/react-native-client/src/hooks/useCamera.ts:36](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/useCamera.ts#L36) - -## Properties - -### cameraEnabled? - -> `optional` **cameraEnabled**: `boolean` - -Defined in: [packages/react-native-client/src/hooks/useCamera.ts:65](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/useCamera.ts#L65) - -whether the camera track is initially enabled, you can toggle it on/off later with toggleCamera method - -#### Default - -`true` - -*** - -### cameraId? - -> `optional` **cameraId**: [`CameraId`](CameraId.md) - -Defined in: [packages/react-native-client/src/hooks/useCamera.ts:71](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/useCamera.ts#L71) - -id of the camera to start capture with. Get available cameras with `cameras`. -You can switch the cameras later with `switchCamera` functions. - -#### Default - -`the first front camera` - -*** - -### flipDimensions? - -> `optional` **flipDimensions**: `boolean` - -Defined in: [packages/react-native-client/src/hooks/useCamera.ts:60](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/useCamera.ts#L60) - -whether to flip the dimensions of the video, that is whether to film in vertical orientation. -This basically switches width with height and is only used to select closes capture format. - -To record horizontal video your phone orientation must be in landscape and your app must support this orientation. - -Platform specific capture formats: - -#### See - - - [iOS](https://developer.apple.com/documentation/avfoundation/avcapturedevice/format) - - [Android](https://github.com/webrtc-sdk/webrtc/blob/cdc3bba5aa38910a55428b919ba45aceac1ad9ad/sdk/android/api/org/webrtc/CameraEnumerationAndroid.java#L50) - -WebRTC device orientation handling: - - [iOS](https://github.com/webrtc-sdk/webrtc/blob/cdc3bba5aa38910a55428b919ba45aceac1ad9ad/sdk/objc/components/capturer/RTCCameraVideoCapturer.m#L285) - - [Android](https://github.com/pristineio/webrtc-mirror/blob/7a5bcdffaab90a05bc1146b2b1ea71c004e54d71/webrtc/sdk/android/src/java/org/webrtc/Camera2Session.java#L347) - -#### Default - -`true` - -*** - -### quality? - -> `optional` **quality**: [`VideoQuality`](VideoQuality.md) - -Defined in: [packages/react-native-client/src/hooks/useCamera.ts:43](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/useCamera.ts#L43) - -resolution + aspect ratio of local video track, one of: `QVGA_169`, `VGA_169`, `QHD_169`, `HD_169`, -`FHD_169`, `QVGA_43`, `VGA_43`, `QHD_43`, `HD_43`, `FHD_43`. Note that quality might be worse than -specified due to device capabilities, internet connection etc. - -#### Default - -`VGA_169` diff --git a/versioned_docs/version-0.23.0/api/mobile/type-aliases/CameraFacingDirection.md b/versioned_docs/version-0.23.0/api/mobile/type-aliases/CameraFacingDirection.md deleted file mode 100644 index e7aae7c6..00000000 --- a/versioned_docs/version-0.23.0/api/mobile/type-aliases/CameraFacingDirection.md +++ /dev/null @@ -1,5 +0,0 @@ -# Type Alias: CameraFacingDirection - -> **CameraFacingDirection** = `"front"` \| `"back"` \| `"unspecified"` - -Defined in: [packages/react-native-client/src/hooks/useCamera.ts:10](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/useCamera.ts#L10) diff --git a/versioned_docs/version-0.23.0/api/mobile/type-aliases/CameraId.md b/versioned_docs/version-0.23.0/api/mobile/type-aliases/CameraId.md deleted file mode 100644 index 9984dc0b..00000000 --- a/versioned_docs/version-0.23.0/api/mobile/type-aliases/CameraId.md +++ /dev/null @@ -1,5 +0,0 @@ -# Type Alias: CameraId - -> **CameraId** = [`Brand`](Brand.md)\<`string`, `"CameraId"`\> - -Defined in: [packages/react-native-client/src/hooks/useCamera.ts:8](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/useCamera.ts#L8) diff --git a/versioned_docs/version-0.23.0/api/mobile/type-aliases/ConnectionConfig.md b/versioned_docs/version-0.23.0/api/mobile/type-aliases/ConnectionConfig.md deleted file mode 100644 index 2b0a2de4..00000000 --- a/versioned_docs/version-0.23.0/api/mobile/type-aliases/ConnectionConfig.md +++ /dev/null @@ -1,26 +0,0 @@ -# Type Alias: ConnectionConfig - -> **ConnectionConfig** = `object` - -Defined in: [packages/react-native-client/src/hooks/useConnection.ts:63](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/useConnection.ts#L63) - -## Properties - -### reconnectConfig? - -> `optional` **reconnectConfig**: `object` - -Defined in: [packages/react-native-client/src/hooks/useConnection.ts:72](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/useConnection.ts#L72) - -Configuration for automatic reconnection -sdk uses a linear backoff algorithm, that is the formula -for the delay of the nth attempt is -n * delayMs + initialDelayMs - -Pass 0 for maxAttempts to disable automatic reconnection - -| Name | Type | -| ------ | ------ | -| `delayMs?` | `number` | -| `initialDelayMs?` | `number` | -| `maxAttempts?` | `number` | diff --git a/versioned_docs/version-0.23.0/api/mobile/type-aliases/DebugConfig.md b/versioned_docs/version-0.23.0/api/mobile/type-aliases/DebugConfig.md deleted file mode 100644 index c2573bea..00000000 --- a/versioned_docs/version-0.23.0/api/mobile/type-aliases/DebugConfig.md +++ /dev/null @@ -1,13 +0,0 @@ -# Type Alias: DebugConfig - -> **DebugConfig** = `object` - -Defined in: [packages/react-native-client/src/utils/config.ts:1](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/utils/config.ts#L1) - -## Properties - -### validateEventPayloads - -> **validateEventPayloads**: `boolean` - -Defined in: [packages/react-native-client/src/utils/config.ts:2](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/utils/config.ts#L2) diff --git a/versioned_docs/version-0.23.0/api/mobile/type-aliases/DistinguishedTracks.md b/versioned_docs/version-0.23.0/api/mobile/type-aliases/DistinguishedTracks.md deleted file mode 100644 index a2ee9085..00000000 --- a/versioned_docs/version-0.23.0/api/mobile/type-aliases/DistinguishedTracks.md +++ /dev/null @@ -1,37 +0,0 @@ -# Type Alias: DistinguishedTracks - -> **DistinguishedTracks** = `object` - -Defined in: [packages/react-native-client/src/hooks/usePeers.ts:54](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/usePeers.ts#L54) - -## Properties - -### cameraTrack? - -> `optional` **cameraTrack**: [`VideoTrack`](VideoTrack.md) - -Defined in: [packages/react-native-client/src/hooks/usePeers.ts:55](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/usePeers.ts#L55) - -*** - -### microphoneTrack? - -> `optional` **microphoneTrack**: [`AudioTrack`](AudioTrack.md) - -Defined in: [packages/react-native-client/src/hooks/usePeers.ts:56](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/usePeers.ts#L56) - -*** - -### screenShareAudioTrack? - -> `optional` **screenShareAudioTrack**: [`AudioTrack`](AudioTrack.md) - -Defined in: [packages/react-native-client/src/hooks/usePeers.ts:58](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/usePeers.ts#L58) - -*** - -### screenShareVideoTrack? - -> `optional` **screenShareVideoTrack**: [`VideoTrack`](VideoTrack.md) - -Defined in: [packages/react-native-client/src/hooks/usePeers.ts:57](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/usePeers.ts#L57) diff --git a/versioned_docs/version-0.23.0/api/mobile/type-aliases/EncodingReason.md b/versioned_docs/version-0.23.0/api/mobile/type-aliases/EncodingReason.md deleted file mode 100644 index 8dcaded7..00000000 --- a/versioned_docs/version-0.23.0/api/mobile/type-aliases/EncodingReason.md +++ /dev/null @@ -1,11 +0,0 @@ -# Type Alias: EncodingReason - -> **EncodingReason** = `"other"` \| `"encoding_inactive"` \| `"low_bandwidth"` - -Defined in: [packages/react-native-client/src/hooks/usePeers.ts:52](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/usePeers.ts#L52) - -Type describing possible reasons of currently selected encoding. - -- other - the exact reason couldn't be determined -- encoding_inactive - previously selected encoding became inactive -- low_bandwidth - there is no longer enough bandwidth to maintain previously selected encoding diff --git a/versioned_docs/version-0.23.0/api/mobile/type-aliases/FishjamRoomProps.md b/versioned_docs/version-0.23.0/api/mobile/type-aliases/FishjamRoomProps.md deleted file mode 100644 index 8faa6860..00000000 --- a/versioned_docs/version-0.23.0/api/mobile/type-aliases/FishjamRoomProps.md +++ /dev/null @@ -1,25 +0,0 @@ -# Type Alias: FishjamRoomProps - -> **FishjamRoomProps** = `object` - -Defined in: [packages/react-native-client/src/components/FishjamRoom/index.tsx:7](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/components/FishjamRoom/index.tsx#L7) - -## Properties - -### fishjamId - -> **fishjamId**: `string` - -Defined in: [packages/react-native-client/src/components/FishjamRoom/index.tsx:11](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/components/FishjamRoom/index.tsx#L11) - -ID of your fishjam instance - -*** - -### peerToken - -> **peerToken**: `string` - -Defined in: [packages/react-native-client/src/components/FishjamRoom/index.tsx:15](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/components/FishjamRoom/index.tsx#L15) - -Peer Token diff --git a/versioned_docs/version-0.23.0/api/mobile/type-aliases/ForegroundServiceConfig.md b/versioned_docs/version-0.23.0/api/mobile/type-aliases/ForegroundServiceConfig.md deleted file mode 100644 index 3ed7c11d..00000000 --- a/versioned_docs/version-0.23.0/api/mobile/type-aliases/ForegroundServiceConfig.md +++ /dev/null @@ -1,67 +0,0 @@ -# Type Alias: ForegroundServiceConfig - -> **ForegroundServiceConfig** = `object` - -Defined in: [packages/react-native-client/src/hooks/useForegroundService.ts:9](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/useForegroundService.ts#L9) - -A type representing the configuration for foreground service permissions. - -## Properties - -### channelId? - -> `optional` **channelId**: `string` - -Defined in: [packages/react-native-client/src/hooks/useForegroundService.ts:21](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/useForegroundService.ts#L21) - -The id of the channel. Must be unique per package. - -*** - -### channelName? - -> `optional` **channelName**: `string` - -Defined in: [packages/react-native-client/src/hooks/useForegroundService.ts:25](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/useForegroundService.ts#L25) - -The user visible name of the channel. - -*** - -### enableCamera? - -> `optional` **enableCamera**: `boolean` - -Defined in: [packages/react-native-client/src/hooks/useForegroundService.ts:13](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/useForegroundService.ts#L13) - -Indicates whether the camera is enabled for the foreground service. - -*** - -### enableMicrophone? - -> `optional` **enableMicrophone**: `boolean` - -Defined in: [packages/react-native-client/src/hooks/useForegroundService.ts:17](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/useForegroundService.ts#L17) - -Indicates whether the microphone is enabled for the foreground service. - -*** - -### notificationContent? - -> `optional` **notificationContent**: `string` - -Defined in: [packages/react-native-client/src/hooks/useForegroundService.ts:33](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/useForegroundService.ts#L33) - -The text (second row) of the notification, in a standard notification. - -*** - -### notificationTitle? - -> `optional` **notificationTitle**: `string` - -Defined in: [packages/react-native-client/src/hooks/useForegroundService.ts:29](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/useForegroundService.ts#L29) - -The title (first row) of the notification, in a standard notification. diff --git a/versioned_docs/version-0.23.0/api/mobile/type-aliases/GenericMetadata.md b/versioned_docs/version-0.23.0/api/mobile/type-aliases/GenericMetadata.md deleted file mode 100644 index 9b83e9fe..00000000 --- a/versioned_docs/version-0.23.0/api/mobile/type-aliases/GenericMetadata.md +++ /dev/null @@ -1,5 +0,0 @@ -# Type Alias: GenericMetadata - -> **GenericMetadata** = `Record`\<`string`, `unknown`\> - -Defined in: [packages/react-native-client/src/types.ts:27](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/types.ts#L27) diff --git a/versioned_docs/version-0.23.0/api/mobile/type-aliases/JoinRoomConfig.md b/versioned_docs/version-0.23.0/api/mobile/type-aliases/JoinRoomConfig.md deleted file mode 100644 index f85f9da5..00000000 --- a/versioned_docs/version-0.23.0/api/mobile/type-aliases/JoinRoomConfig.md +++ /dev/null @@ -1,52 +0,0 @@ -# Type Alias: JoinRoomConfig\ - -> **JoinRoomConfig**\<`PeerMetadata`\> = `object` - -Defined in: [packages/react-native-client/src/hooks/useConnection.ts:41](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/useConnection.ts#L41) - -## Type Parameters - -| Type Parameter | Default type | -| ------ | ------ | -| `PeerMetadata` *extends* [`GenericMetadata`](GenericMetadata.md) | [`GenericMetadata`](GenericMetadata.md) | - -## Properties - -### config? - -> `optional` **config**: [`ConnectionConfig`](ConnectionConfig.md) - -Defined in: [packages/react-native-client/src/hooks/useConnection.ts:60](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/useConnection.ts#L60) - -Additional connection configuration - -*** - -### fishjamId - -> **fishjamId**: `string` - -Defined in: [packages/react-native-client/src/hooks/useConnection.ts:48](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/useConnection.ts#L48) - -Fishjam ID, which is used to connect to the room. -You can get it at https://fishjam.io/app - -*** - -### peerMetadata? - -> `optional` **peerMetadata**: `PeerMetadata` - -Defined in: [packages/react-native-client/src/hooks/useConnection.ts:56](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/useConnection.ts#L56) - -String indexed record with metadata, that will be available to all other peers - -*** - -### peerToken - -> **peerToken**: `string` - -Defined in: [packages/react-native-client/src/hooks/useConnection.ts:52](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/useConnection.ts#L52) - -Token received from server (or Room Manager) diff --git a/versioned_docs/version-0.23.0/api/mobile/type-aliases/Peer.md b/versioned_docs/version-0.23.0/api/mobile/type-aliases/Peer.md deleted file mode 100644 index 31007497..00000000 --- a/versioned_docs/version-0.23.0/api/mobile/type-aliases/Peer.md +++ /dev/null @@ -1,52 +0,0 @@ -# Type Alias: Peer\ - -> **Peer**\<`PeerMetadata`, `ServerMetadata`\> = `object` - -Defined in: [packages/react-native-client/src/hooks/usePeers.ts:66](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/usePeers.ts#L66) - -## Type Parameters - -| Type Parameter | Default type | -| ------ | ------ | -| `PeerMetadata` *extends* [`GenericMetadata`](GenericMetadata.md) | [`GenericMetadata`](GenericMetadata.md) | -| `ServerMetadata` *extends* [`GenericMetadata`](GenericMetadata.md) | [`GenericMetadata`](GenericMetadata.md) | - -## Properties - -### id - -> **id**: [`PeerId`](PeerId.md) - -Defined in: [packages/react-native-client/src/hooks/usePeers.ts:73](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/usePeers.ts#L73) - -id used to identify a peer - -*** - -### isLocal - -> **isLocal**: `boolean` - -Defined in: [packages/react-native-client/src/hooks/usePeers.ts:77](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/usePeers.ts#L77) - -whether the peer is local or remote - -*** - -### metadata - -> **metadata**: [`PeerTrackMetadata`](PeerTrackMetadata.md)\<`PeerMetadata`, `ServerMetadata`\> - -Defined in: [packages/react-native-client/src/hooks/usePeers.ts:81](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/usePeers.ts#L81) - -a type containing peer and server metadata - -*** - -### tracks - -> **tracks**: [`Track`](Track.md)[] - -Defined in: [packages/react-native-client/src/hooks/usePeers.ts:85](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/usePeers.ts#L85) - -a list of peer's video and audio tracks diff --git a/versioned_docs/version-0.23.0/api/mobile/type-aliases/PeerId.md b/versioned_docs/version-0.23.0/api/mobile/type-aliases/PeerId.md deleted file mode 100644 index 2575f9d2..00000000 --- a/versioned_docs/version-0.23.0/api/mobile/type-aliases/PeerId.md +++ /dev/null @@ -1,5 +0,0 @@ -# Type Alias: PeerId - -> **PeerId** = [`Brand`](Brand.md)\<`string`, `"PeerId"`\> - -Defined in: [packages/react-native-client/src/hooks/usePeers.ts:9](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/usePeers.ts#L9) diff --git a/versioned_docs/version-0.23.0/api/mobile/type-aliases/PeerTrackMetadata.md b/versioned_docs/version-0.23.0/api/mobile/type-aliases/PeerTrackMetadata.md deleted file mode 100644 index 93468fc5..00000000 --- a/versioned_docs/version-0.23.0/api/mobile/type-aliases/PeerTrackMetadata.md +++ /dev/null @@ -1,28 +0,0 @@ -# Type Alias: PeerTrackMetadata\ - -> **PeerTrackMetadata**\<`PeerMetadata`, `ServerMetadata`\> = `object` - -Defined in: [packages/react-native-client/src/hooks/usePeers.ts:22](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/usePeers.ts#L22) - -## Type Parameters - -| Type Parameter | -| ------ | -| `PeerMetadata` | -| `ServerMetadata` | - -## Properties - -### peer - -> **peer**: `PeerMetadata` - -Defined in: [packages/react-native-client/src/hooks/usePeers.ts:23](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/usePeers.ts#L23) - -*** - -### server - -> **server**: `ServerMetadata` - -Defined in: [packages/react-native-client/src/hooks/usePeers.ts:24](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/usePeers.ts#L24) diff --git a/versioned_docs/version-0.23.0/api/mobile/type-aliases/PeerWithTracks.md b/versioned_docs/version-0.23.0/api/mobile/type-aliases/PeerWithTracks.md deleted file mode 100644 index 05606876..00000000 --- a/versioned_docs/version-0.23.0/api/mobile/type-aliases/PeerWithTracks.md +++ /dev/null @@ -1,12 +0,0 @@ -# Type Alias: PeerWithTracks\ - -> **PeerWithTracks**\<`PeerMetadata`, `ServerMetadata`\> = [`Peer`](Peer.md)\<`PeerMetadata`, `ServerMetadata`\> & [`DistinguishedTracks`](DistinguishedTracks.md) - -Defined in: [packages/react-native-client/src/hooks/usePeers.ts:61](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/usePeers.ts#L61) - -## Type Parameters - -| Type Parameter | Default type | -| ------ | ------ | -| `PeerMetadata` *extends* [`GenericMetadata`](GenericMetadata.md) | [`GenericMetadata`](GenericMetadata.md) | -| `ServerMetadata` *extends* [`GenericMetadata`](GenericMetadata.md) | [`GenericMetadata`](GenericMetadata.md) | diff --git a/versioned_docs/version-0.23.0/api/mobile/type-aliases/PictureInPictureConfig.md b/versioned_docs/version-0.23.0/api/mobile/type-aliases/PictureInPictureConfig.md deleted file mode 100644 index a78cb3e1..00000000 --- a/versioned_docs/version-0.23.0/api/mobile/type-aliases/PictureInPictureConfig.md +++ /dev/null @@ -1,45 +0,0 @@ -# Type Alias: PictureInPictureConfig - -> **PictureInPictureConfig** = `object` - -Defined in: [packages/react-native-client/src/components/PipContainerView.tsx:5](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/components/PipContainerView.tsx#L5) - -## Properties - -### allowsCameraInBackground? - -> `optional` **allowsCameraInBackground**: `boolean` - -Defined in: [packages/react-native-client/src/components/PipContainerView.tsx:8](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/components/PipContainerView.tsx#L8) - -*** - -### primaryPlaceholderText? - -> `optional` **primaryPlaceholderText**: `string` - -Defined in: [packages/react-native-client/src/components/PipContainerView.tsx:9](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/components/PipContainerView.tsx#L9) - -*** - -### secondaryPlaceholderText? - -> `optional` **secondaryPlaceholderText**: `string` - -Defined in: [packages/react-native-client/src/components/PipContainerView.tsx:10](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/components/PipContainerView.tsx#L10) - -*** - -### startAutomatically? - -> `optional` **startAutomatically**: `boolean` - -Defined in: [packages/react-native-client/src/components/PipContainerView.tsx:6](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/components/PipContainerView.tsx#L6) - -*** - -### stopAutomatically? - -> `optional` **stopAutomatically**: `boolean` - -Defined in: [packages/react-native-client/src/components/PipContainerView.tsx:7](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/components/PipContainerView.tsx#L7) diff --git a/versioned_docs/version-0.23.0/api/mobile/type-aliases/ReconnectionStatus.md b/versioned_docs/version-0.23.0/api/mobile/type-aliases/ReconnectionStatus.md deleted file mode 100644 index 9742e7f7..00000000 --- a/versioned_docs/version-0.23.0/api/mobile/type-aliases/ReconnectionStatus.md +++ /dev/null @@ -1,11 +0,0 @@ -# Type Alias: ReconnectionStatus - -> **ReconnectionStatus** = `"idle"` \| `"reconnecting"` \| `"error"` - -Defined in: [packages/react-native-client/src/hooks/useConnection.ts:16](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/useConnection.ts#L16) - -Represents the possible statuses of a peer while reconnecting to room - -- `idle` - No reconnection in progress. See [PeerStatus](PeerStatus.md) for more details -- `reconnecting` - Peer is in the process of reconnecting. -- `error` - There was an error in the reconnection process. diff --git a/versioned_docs/version-0.23.0/api/mobile/type-aliases/RoomType.md b/versioned_docs/version-0.23.0/api/mobile/type-aliases/RoomType.md deleted file mode 100644 index 43391bd3..00000000 --- a/versioned_docs/version-0.23.0/api/mobile/type-aliases/RoomType.md +++ /dev/null @@ -1,5 +0,0 @@ -# Type Alias: RoomType - -> **RoomType** = `"conference"` \| `"audio-only"` \| `"livestream"` - -Defined in: [packages/react-native-client/src/types.ts:36](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/types.ts#L36) diff --git a/versioned_docs/version-0.23.0/api/mobile/type-aliases/ScreenShareOptions.md b/versioned_docs/version-0.23.0/api/mobile/type-aliases/ScreenShareOptions.md deleted file mode 100644 index 52622cb1..00000000 --- a/versioned_docs/version-0.23.0/api/mobile/type-aliases/ScreenShareOptions.md +++ /dev/null @@ -1,21 +0,0 @@ -# Type Alias: ScreenShareOptions - -> **ScreenShareOptions** = `object` - -Defined in: [packages/react-native-client/src/hooks/useScreenShare.ts:12](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/useScreenShare.ts#L12) - -## Properties - -### quality - -> **quality**: [`ScreenShareQuality`](ScreenShareQuality.md) - -Defined in: [packages/react-native-client/src/hooks/useScreenShare.ts:19](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/useScreenShare.ts#L19) - -Resolution + fps of screen share track, one of: `VGA`, `HD5`, `HD15`, `FHD15`, `FHD30`. -Note that quality might be worse than specified due to device capabilities, internet -connection etc. - -#### Default - -`HD15` diff --git a/versioned_docs/version-0.23.0/api/mobile/type-aliases/ScreenShareQuality.md b/versioned_docs/version-0.23.0/api/mobile/type-aliases/ScreenShareQuality.md deleted file mode 100644 index e4d99ec6..00000000 --- a/versioned_docs/version-0.23.0/api/mobile/type-aliases/ScreenShareQuality.md +++ /dev/null @@ -1,5 +0,0 @@ -# Type Alias: ScreenShareQuality - -> **ScreenShareQuality** = `"VGA"` \| `"HD5"` \| `"HD15"` \| `"FHD15"` \| `"FHD30"` - -Defined in: [packages/react-native-client/src/hooks/useScreenShare.ts:10](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/useScreenShare.ts#L10) diff --git a/versioned_docs/version-0.23.0/api/mobile/type-aliases/SimulcastConfig.md b/versioned_docs/version-0.23.0/api/mobile/type-aliases/SimulcastConfig.md deleted file mode 100644 index f07f6155..00000000 --- a/versioned_docs/version-0.23.0/api/mobile/type-aliases/SimulcastConfig.md +++ /dev/null @@ -1,21 +0,0 @@ -# Type Alias: SimulcastConfig - -> **SimulcastConfig** = `object` - -Defined in: [packages/react-native-client/src/types.ts:15](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/types.ts#L15) - -A type describing simulcast configuration. - -At the moment, simulcast track is initialized in three versions - low, medium and high. -High resolution is the original track resolution, while medium and low resolutions are -the original track resolution scaled down by 2 and 4 respectively. - -## Properties - -### enabled - -> **enabled**: `boolean` - -Defined in: [packages/react-native-client/src/types.ts:19](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/types.ts#L19) - -whether to simulcast track or not. By default simulcast is disabled. diff --git a/versioned_docs/version-0.23.0/api/mobile/type-aliases/Track.md b/versioned_docs/version-0.23.0/api/mobile/type-aliases/Track.md deleted file mode 100644 index b4fec2db..00000000 --- a/versioned_docs/version-0.23.0/api/mobile/type-aliases/Track.md +++ /dev/null @@ -1,5 +0,0 @@ -# Type Alias: Track - -> **Track** = [`VideoTrack`](VideoTrack.md) \| [`AudioTrack`](AudioTrack.md) - -Defined in: [packages/react-native-client/src/hooks/usePeers.ts:44](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/usePeers.ts#L44) diff --git a/versioned_docs/version-0.23.0/api/mobile/type-aliases/TrackBase.md b/versioned_docs/version-0.23.0/api/mobile/type-aliases/TrackBase.md deleted file mode 100644 index 59df28ba..00000000 --- a/versioned_docs/version-0.23.0/api/mobile/type-aliases/TrackBase.md +++ /dev/null @@ -1,37 +0,0 @@ -# Type Alias: TrackBase - -> **TrackBase** = `object` - -Defined in: [packages/react-native-client/src/hooks/usePeers.ts:27](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/usePeers.ts#L27) - -## Properties - -### id - -> **id**: [`TrackId`](TrackId.md) - -Defined in: [packages/react-native-client/src/hooks/usePeers.ts:28](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/usePeers.ts#L28) - -*** - -### isActive - -> **isActive**: `boolean` - -Defined in: [packages/react-native-client/src/hooks/usePeers.ts:30](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/usePeers.ts#L30) - -*** - -### metadata? - -> `optional` **metadata**: [`TrackMetadata`](TrackMetadata.md) - -Defined in: [packages/react-native-client/src/hooks/usePeers.ts:31](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/usePeers.ts#L31) - -*** - -### type - -> **type**: [`TrackType`](TrackType.md) - -Defined in: [packages/react-native-client/src/hooks/usePeers.ts:29](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/usePeers.ts#L29) diff --git a/versioned_docs/version-0.23.0/api/mobile/type-aliases/TrackId.md b/versioned_docs/version-0.23.0/api/mobile/type-aliases/TrackId.md deleted file mode 100644 index 1499ae2d..00000000 --- a/versioned_docs/version-0.23.0/api/mobile/type-aliases/TrackId.md +++ /dev/null @@ -1,5 +0,0 @@ -# Type Alias: TrackId - -> **TrackId** = [`Brand`](Brand.md)\<`string`, `"TrackId"`\> - -Defined in: [packages/react-native-client/src/hooks/usePeers.ts:10](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/usePeers.ts#L10) diff --git a/versioned_docs/version-0.23.0/api/mobile/type-aliases/TrackMetadata.md b/versioned_docs/version-0.23.0/api/mobile/type-aliases/TrackMetadata.md deleted file mode 100644 index ffac163c..00000000 --- a/versioned_docs/version-0.23.0/api/mobile/type-aliases/TrackMetadata.md +++ /dev/null @@ -1,21 +0,0 @@ -# Type Alias: TrackMetadata - -> **TrackMetadata** = `object` - -Defined in: [packages/react-native-client/src/types.ts:22](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/types.ts#L22) - -## Properties - -### active - -> **active**: `boolean` - -Defined in: [packages/react-native-client/src/types.ts:23](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/types.ts#L23) - -*** - -### type - -> **type**: `"microphone"` \| `"camera"` \| `"screenShareVideo"` \| `"screenShareAudio"` - -Defined in: [packages/react-native-client/src/types.ts:24](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/types.ts#L24) diff --git a/versioned_docs/version-0.23.0/api/mobile/type-aliases/TrackType.md b/versioned_docs/version-0.23.0/api/mobile/type-aliases/TrackType.md deleted file mode 100644 index 94383803..00000000 --- a/versioned_docs/version-0.23.0/api/mobile/type-aliases/TrackType.md +++ /dev/null @@ -1,5 +0,0 @@ -# Type Alias: TrackType - -> **TrackType** = `"Audio"` \| `"Video"` - -Defined in: [packages/react-native-client/src/hooks/usePeers.ts:12](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/usePeers.ts#L12) diff --git a/versioned_docs/version-0.23.0/api/mobile/type-aliases/UseCallKitResult.md b/versioned_docs/version-0.23.0/api/mobile/type-aliases/UseCallKitResult.md deleted file mode 100644 index bf702871..00000000 --- a/versioned_docs/version-0.23.0/api/mobile/type-aliases/UseCallKitResult.md +++ /dev/null @@ -1,53 +0,0 @@ -# Type Alias: UseCallKitResult - -> **UseCallKitResult** = `object` - -Defined in: [packages/react-native-client/src/hooks/useCallKit.ts:14](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/useCallKit.ts#L14) - -## Properties - -### endCallKitSession() - -> **endCallKitSession**: () => `Promise`\<`void`\> - -Defined in: [packages/react-native-client/src/hooks/useCallKit.ts:24](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/useCallKit.ts#L24) - -Ends the current CallKit session - -#### Returns - -`Promise`\<`void`\> - -*** - -### getCallKitSessionStatus() - -> **getCallKitSessionStatus**: () => `Promise`\<`boolean`\> - -Defined in: [packages/react-native-client/src/hooks/useCallKit.ts:29](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/useCallKit.ts#L29) - -Returns whether there is currently an active CallKit session - -#### Returns - -`Promise`\<`boolean`\> - -*** - -### startCallKitSession() - -> **startCallKitSession**: (`config`) => `Promise`\<`void`\> - -Defined in: [packages/react-native-client/src/hooks/useCallKit.ts:19](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/useCallKit.ts#L19) - -Starts a CallKit session for the current call - -#### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `config` | [`CallKitConfig`](CallKitConfig.md) | Configuration object containing displayName and isVideo | - -#### Returns - -`Promise`\<`void`\> diff --git a/versioned_docs/version-0.23.0/api/mobile/type-aliases/UsePeersResult.md b/versioned_docs/version-0.23.0/api/mobile/type-aliases/UsePeersResult.md deleted file mode 100644 index e1679ae6..00000000 --- a/versioned_docs/version-0.23.0/api/mobile/type-aliases/UsePeersResult.md +++ /dev/null @@ -1,38 +0,0 @@ -# Type Alias: UsePeersResult\ - -> **UsePeersResult**\<`PeerMetadata`, `ServerMetadata`\> = `object` - -Defined in: [packages/react-native-client/src/hooks/usePeers.ts:168](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/usePeers.ts#L168) - -Result type for the usePeers hook. - -## Type Parameters - -| Type Parameter | Default type | Description | -| ------ | ------ | ------ | -| `PeerMetadata` *extends* [`GenericMetadata`](GenericMetadata.md) | [`GenericMetadata`](GenericMetadata.md) | Type for peer-specific metadata | -| `ServerMetadata` *extends* [`GenericMetadata`](GenericMetadata.md) | [`GenericMetadata`](GenericMetadata.md) | Type for server-specific metadata | - -## Properties - -### localPeer - -> **localPeer**: [`PeerWithTracks`](PeerWithTracks.md)\<`PeerMetadata`, `ServerMetadata`\> \| `null` - -Defined in: [packages/react-native-client/src/hooks/usePeers.ts:172](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/usePeers.ts#L172) - -*** - -### peers - -> **peers**: [`Peer`](Peer.md)\<`PeerMetadata`, `ServerMetadata`\>[] - -Defined in: [packages/react-native-client/src/hooks/usePeers.ts:176](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/usePeers.ts#L176) - -*** - -### remotePeers - -> **remotePeers**: [`PeerWithTracks`](PeerWithTracks.md)\<`PeerMetadata`, `ServerMetadata`\>[] - -Defined in: [packages/react-native-client/src/hooks/usePeers.ts:174](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/usePeers.ts#L174) diff --git a/versioned_docs/version-0.23.0/api/mobile/type-aliases/UseSandboxProps.md b/versioned_docs/version-0.23.0/api/mobile/type-aliases/UseSandboxProps.md deleted file mode 100644 index 6dbfdcb6..00000000 --- a/versioned_docs/version-0.23.0/api/mobile/type-aliases/UseSandboxProps.md +++ /dev/null @@ -1,5 +0,0 @@ -# Type Alias: UseSandboxProps - -> **UseSandboxProps** = \{ `fishjamId`: `string`; `sandboxApiUrl?`: `never`; \} \| \{ `fishjamId?`: `never`; `sandboxApiUrl`: `string`; \} - -Defined in: [packages/react-native-client/src/hooks/useSandbox.ts:13](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/useSandbox.ts#L13) diff --git a/versioned_docs/version-0.23.0/api/mobile/type-aliases/VadStatus.md b/versioned_docs/version-0.23.0/api/mobile/type-aliases/VadStatus.md deleted file mode 100644 index 14a10164..00000000 --- a/versioned_docs/version-0.23.0/api/mobile/type-aliases/VadStatus.md +++ /dev/null @@ -1,10 +0,0 @@ -# Type Alias: VadStatus - -> **VadStatus** = `"silence"` \| `"speech"` - -Defined in: [packages/react-native-client/src/hooks/usePeers.ts:20](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/usePeers.ts#L20) - -Type describing Voice Activity Detection statuses. - -- `speech` voice activity has been detected -- `silence` - lack of voice activity has been detected diff --git a/versioned_docs/version-0.23.0/api/mobile/type-aliases/VideoLayout.md b/versioned_docs/version-0.23.0/api/mobile/type-aliases/VideoLayout.md deleted file mode 100644 index 4a819cc1..00000000 --- a/versioned_docs/version-0.23.0/api/mobile/type-aliases/VideoLayout.md +++ /dev/null @@ -1,9 +0,0 @@ -# Type Alias: VideoLayout - -> **VideoLayout** = `"FILL"` \| `"FIT"` - -Defined in: [packages/react-native-client/src/types.ts:6](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/types.ts#L6) - -`FILL` or `FIT` - it works just like RN Image component. `FILL` fills the whole view -with video and it may cut some parts of the video. `FIT` scales the video so the whole -video is visible, but it may leave some empty space in the view. diff --git a/versioned_docs/version-0.23.0/api/mobile/type-aliases/VideoPreviewViewProps.md b/versioned_docs/version-0.23.0/api/mobile/type-aliases/VideoPreviewViewProps.md deleted file mode 100644 index 902f4336..00000000 --- a/versioned_docs/version-0.23.0/api/mobile/type-aliases/VideoPreviewViewProps.md +++ /dev/null @@ -1,41 +0,0 @@ -# Type Alias: VideoPreviewViewProps - -> **VideoPreviewViewProps** = `object` - -Defined in: [packages/react-native-client/src/components/VideoPreviewView.tsx:8](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/components/VideoPreviewView.tsx#L8) - -## Properties - -### cameraId? - -> `optional` **cameraId**: [`CameraId`](CameraId.md) - -Defined in: [packages/react-native-client/src/components/VideoPreviewView.tsx:20](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/components/VideoPreviewView.tsx#L20) - -Id of the camera used for preview. Get available cameras with `cameras` property. - -#### Default - -`the first front camera` - -*** - -### style? - -> `optional` **style**: `StyleProp`\<`ViewStyle`\> - -Defined in: [packages/react-native-client/src/components/VideoPreviewView.tsx:15](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/components/VideoPreviewView.tsx#L15) - -*** - -### videoLayout? - -> `optional` **videoLayout**: [`VideoLayout`](VideoLayout.md) - -Defined in: [packages/react-native-client/src/components/VideoPreviewView.tsx:13](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/components/VideoPreviewView.tsx#L13) - -Video layout inside of the component - -#### Default - -`FILL` diff --git a/versioned_docs/version-0.23.0/api/mobile/type-aliases/VideoQuality.md b/versioned_docs/version-0.23.0/api/mobile/type-aliases/VideoQuality.md deleted file mode 100644 index d28fefb6..00000000 --- a/versioned_docs/version-0.23.0/api/mobile/type-aliases/VideoQuality.md +++ /dev/null @@ -1,5 +0,0 @@ -# Type Alias: VideoQuality - -> **VideoQuality** = `"QVGA169"` \| `"VGA169"` \| `"QHD169"` \| `"HD169"` \| `"FHD169"` \| `"QVGA43"` \| `"VGA43"` \| `"QHD43"` \| `"HD43"` \| `"FHD43"` - -Defined in: [packages/react-native-client/src/hooks/useCamera.ts:24](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/useCamera.ts#L24) diff --git a/versioned_docs/version-0.23.0/api/mobile/type-aliases/VideoRendererProps.md b/versioned_docs/version-0.23.0/api/mobile/type-aliases/VideoRendererProps.md deleted file mode 100644 index 15836bc2..00000000 --- a/versioned_docs/version-0.23.0/api/mobile/type-aliases/VideoRendererProps.md +++ /dev/null @@ -1,47 +0,0 @@ -# Type Alias: VideoRendererProps - -> **VideoRendererProps** = `object` - -Defined in: [packages/react-native-client/src/components/VideoRendererView.tsx:8](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/components/VideoRendererView.tsx#L8) - -## Properties - -### skipRenderOutsideVisibleArea? - -> `optional` **skipRenderOutsideVisibleArea**: `boolean` - -Defined in: [packages/react-native-client/src/components/VideoRendererView.tsx:21](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/components/VideoRendererView.tsx#L21) - -Whether the video should be rendered if it's off screen or hidden. - -*** - -### style? - -> `optional` **style**: `StyleProp`\<`ViewStyle`\> - -Defined in: [packages/react-native-client/src/components/VideoRendererView.tsx:22](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/components/VideoRendererView.tsx#L22) - -*** - -### trackId - -> **trackId**: [`TrackId`](TrackId.md) - -Defined in: [packages/react-native-client/src/components/VideoRendererView.tsx:12](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/components/VideoRendererView.tsx#L12) - -id of the video track which you want to render. - -*** - -### videoLayout? - -> `optional` **videoLayout**: [`VideoLayout`](VideoLayout.md) - -Defined in: [packages/react-native-client/src/components/VideoRendererView.tsx:17](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/components/VideoRendererView.tsx#L17) - -Video layout inside of the component - -#### Default - -`FILL` diff --git a/versioned_docs/version-0.23.0/api/mobile/type-aliases/VideoTrack.md b/versioned_docs/version-0.23.0/api/mobile/type-aliases/VideoTrack.md deleted file mode 100644 index 7b1fff88..00000000 --- a/versioned_docs/version-0.23.0/api/mobile/type-aliases/VideoTrack.md +++ /dev/null @@ -1,15 +0,0 @@ -# Type Alias: VideoTrack - -> **VideoTrack** = [`TrackBase`](TrackBase.md) & `object` - -Defined in: [packages/react-native-client/src/hooks/usePeers.ts:39](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/usePeers.ts#L39) - -## Type declaration - -### aspectRatio - -> **aspectRatio**: `number` - -### type - -> **type**: `"Video"` diff --git a/versioned_docs/version-0.23.0/api/mobile/typedoc-sidebar.cjs b/versioned_docs/version-0.23.0/api/mobile/typedoc-sidebar.cjs deleted file mode 100644 index ef97752e..00000000 --- a/versioned_docs/version-0.23.0/api/mobile/typedoc-sidebar.cjs +++ /dev/null @@ -1,4 +0,0 @@ -// @ts-check -/** @type {import("@docusaurus/plugin-content-docs").SidebarsConfig} */ -const typedocSidebar = {items:[{type:"category",label:"Connection",items:[{type:"doc",id:"api/mobile/functions/useConnection",label:"useConnection"},{type:"doc",id:"api/mobile/functions/usePeers",label:"usePeers"},{type:"doc",id:"api/mobile/functions/useScreenShare",label:"useScreenShare"},{type:"doc",id:"api/mobile/functions/useUpdatePeerMetadata",label:"useUpdatePeerMetadata"},{type:"doc",id:"api/mobile/variables/useAppScreenShare",label:"useAppScreenShare"},{type:"doc",id:"api/mobile/variables/useCallKit",label:"useCallKit"},{type:"doc",id:"api/mobile/variables/useCallKitEvent",label:"useCallKitEvent"},{type:"doc",id:"api/mobile/variables/useCallKitService",label:"useCallKitService"},{type:"doc",id:"api/mobile/variables/useForegroundService",label:"useForegroundService"}]},{type:"category",label:"Devices",items:[{type:"doc",id:"api/mobile/functions/useAudioSettings",label:"useAudioSettings"},{type:"doc",id:"api/mobile/functions/useCamera",label:"useCamera"},{type:"doc",id:"api/mobile/functions/useMicrophone",label:"useMicrophone"}]},{type:"category",label:"Components",items:[{type:"doc",id:"api/mobile/functions/FishjamRoom",label:"FishjamRoom"},{type:"doc",id:"api/mobile/variables/PipContainerView",label:"PipContainerView"},{type:"doc",id:"api/mobile/variables/VideoPreviewView",label:"VideoPreviewView"},{type:"doc",id:"api/mobile/variables/VideoRendererView",label:"VideoRendererView"}]},{type:"category",label:"Other",items:[{type:"doc",id:"api/mobile/functions/setOverwriteDebugConfig",label:"setOverwriteDebugConfig"},{type:"doc",id:"api/mobile/functions/useSandbox",label:"useSandbox"},{type:"doc",id:"api/mobile/interfaces/PipContainerViewProps",label:"PipContainerViewProps"},{type:"doc",id:"api/mobile/interfaces/PipContainerViewRef",label:"PipContainerViewRef"},{type:"doc",id:"api/mobile/type-aliases/AppScreenShareData",label:"AppScreenShareData"},{type:"doc",id:"api/mobile/type-aliases/AudioOutputDevice",label:"AudioOutputDevice"},{type:"doc",id:"api/mobile/type-aliases/AudioOutputDeviceType",label:"AudioOutputDeviceType"},{type:"doc",id:"api/mobile/type-aliases/AudioSessionMode",label:"AudioSessionMode"},{type:"doc",id:"api/mobile/type-aliases/AudioTrack",label:"AudioTrack"},{type:"doc",id:"api/mobile/type-aliases/Brand",label:"Brand"},{type:"doc",id:"api/mobile/type-aliases/CallKitAction",label:"CallKitAction"},{type:"doc",id:"api/mobile/type-aliases/CallKitConfig",label:"CallKitConfig"},{type:"doc",id:"api/mobile/type-aliases/Camera",label:"Camera"},{type:"doc",id:"api/mobile/type-aliases/CameraConfig",label:"CameraConfig"},{type:"doc",id:"api/mobile/type-aliases/CameraConfigBase",label:"CameraConfigBase"},{type:"doc",id:"api/mobile/type-aliases/CameraFacingDirection",label:"CameraFacingDirection"},{type:"doc",id:"api/mobile/type-aliases/CameraId",label:"CameraId"},{type:"doc",id:"api/mobile/type-aliases/ConnectionConfig",label:"ConnectionConfig"},{type:"doc",id:"api/mobile/type-aliases/DebugConfig",label:"DebugConfig"},{type:"doc",id:"api/mobile/type-aliases/DistinguishedTracks",label:"DistinguishedTracks"},{type:"doc",id:"api/mobile/type-aliases/EncodingReason",label:"EncodingReason"},{type:"doc",id:"api/mobile/type-aliases/FishjamRoomProps",label:"FishjamRoomProps"},{type:"doc",id:"api/mobile/type-aliases/ForegroundServiceConfig",label:"ForegroundServiceConfig"},{type:"doc",id:"api/mobile/type-aliases/GenericMetadata",label:"GenericMetadata"},{type:"doc",id:"api/mobile/type-aliases/JoinRoomConfig",label:"JoinRoomConfig"},{type:"doc",id:"api/mobile/type-aliases/Peer",label:"Peer"},{type:"doc",id:"api/mobile/type-aliases/PeerId",label:"PeerId"},{type:"doc",id:"api/mobile/type-aliases/PeerStatus",label:"PeerStatus"},{type:"doc",id:"api/mobile/type-aliases/PeerTrackMetadata",label:"PeerTrackMetadata"},{type:"doc",id:"api/mobile/type-aliases/PeerWithTracks",label:"PeerWithTracks"},{type:"doc",id:"api/mobile/type-aliases/PictureInPictureConfig",label:"PictureInPictureConfig"},{type:"doc",id:"api/mobile/type-aliases/ReconnectionStatus",label:"ReconnectionStatus"},{type:"doc",id:"api/mobile/type-aliases/RoomType",label:"RoomType"},{type:"doc",id:"api/mobile/type-aliases/ScreenShareOptions",label:"ScreenShareOptions"},{type:"doc",id:"api/mobile/type-aliases/ScreenShareQuality",label:"ScreenShareQuality"},{type:"doc",id:"api/mobile/type-aliases/SimulcastConfig",label:"SimulcastConfig"},{type:"doc",id:"api/mobile/type-aliases/Track",label:"Track"},{type:"doc",id:"api/mobile/type-aliases/TrackBase",label:"TrackBase"},{type:"doc",id:"api/mobile/type-aliases/TrackId",label:"TrackId"},{type:"doc",id:"api/mobile/type-aliases/TrackMetadata",label:"TrackMetadata"},{type:"doc",id:"api/mobile/type-aliases/TrackType",label:"TrackType"},{type:"doc",id:"api/mobile/type-aliases/UseCallKitResult",label:"UseCallKitResult"},{type:"doc",id:"api/mobile/type-aliases/UsePeersResult",label:"UsePeersResult"},{type:"doc",id:"api/mobile/type-aliases/UseSandboxProps",label:"UseSandboxProps"},{type:"doc",id:"api/mobile/type-aliases/VadStatus",label:"VadStatus"},{type:"doc",id:"api/mobile/type-aliases/VideoLayout",label:"VideoLayout"},{type:"doc",id:"api/mobile/type-aliases/VideoPreviewViewProps",label:"VideoPreviewViewProps"},{type:"doc",id:"api/mobile/type-aliases/VideoQuality",label:"VideoQuality"},{type:"doc",id:"api/mobile/type-aliases/VideoRendererProps",label:"VideoRendererProps"},{type:"doc",id:"api/mobile/type-aliases/VideoTrack",label:"VideoTrack"},{type:"doc",id:"api/mobile/variables/useCameraPermissions",label:"useCameraPermissions"},{type:"doc",id:"api/mobile/variables/useMicrophonePermissions",label:"useMicrophonePermissions"}]},{type:"category",label:"Debugging",items:[{type:"doc",id:"api/mobile/functions/useBandwidthEstimation",label:"useBandwidthEstimation"}]}]}; -module.exports = typedocSidebar.items; \ No newline at end of file diff --git a/versioned_docs/version-0.23.0/api/mobile/variables/PipContainerView.md b/versioned_docs/version-0.23.0/api/mobile/variables/PipContainerView.md deleted file mode 100644 index 528e1d0a..00000000 --- a/versioned_docs/version-0.23.0/api/mobile/variables/PipContainerView.md +++ /dev/null @@ -1,42 +0,0 @@ -# Variable: PipContainerView - -> `const` **PipContainerView**: `ForwardRefExoticComponent`\<[`PipContainerViewProps`](../interfaces/PipContainerViewProps.md) & `RefAttributes`\<[`PipContainerViewRef`](../interfaces/PipContainerViewRef.md)\>\> - -Defined in: [packages/react-native-client/src/components/PipContainerView.tsx:55](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/components/PipContainerView.tsx#L55) - -A view component for Picture-in-Picture functionality with split-screen layout. - -Automatically displays: -- Primary view (left): Local camera track or placeholder text -- Secondary view (right): Remote track with active VAD (voice activity) or placeholder text - -Use a ref to call methods on this component: -```js -const pipRef = useRef(null); - -// Start PiP manually (if startAutomatically is false) -await pipRef.current?.startPictureInPicture(); - -// Stop PiP manually -await pipRef.current?.stopPictureInPicture(); -``` - -## Param - -Whether to start PiP automatically when app goes to background (default: true) - -## Param - -Whether to stop PiP automatically when app comes to foreground (default: true) - -## Param - -Whether to allow camera to continue running in PiP mode (default: false, iOS only) - -## Param - -Text to display when local camera is unavailable (default: "No camera") - -## Param - -Text to display when no remote speaker is active (default: "No active speaker") diff --git a/versioned_docs/version-0.23.0/api/mobile/variables/VideoPreviewView.md b/versioned_docs/version-0.23.0/api/mobile/variables/VideoPreviewView.md deleted file mode 100644 index c2a09a19..00000000 --- a/versioned_docs/version-0.23.0/api/mobile/variables/VideoPreviewView.md +++ /dev/null @@ -1,12 +0,0 @@ -# Variable: VideoPreviewView - -> `const` **VideoPreviewView**: `ForwardRefExoticComponent`\<[`VideoPreviewViewProps`](../type-aliases/VideoPreviewViewProps.md) & `RefAttributes`\<`ComponentType`\<[`VideoPreviewViewProps`](../type-aliases/VideoPreviewViewProps.md)\>\>\> - -Defined in: [packages/react-native-client/src/components/VideoPreviewView.tsx:35](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/components/VideoPreviewView.tsx#L35) - -Render camera preview. -Allows to display camera preview before streaming is started - -## Param - -## Param diff --git a/versioned_docs/version-0.23.0/api/mobile/variables/VideoRendererView.md b/versioned_docs/version-0.23.0/api/mobile/variables/VideoRendererView.md deleted file mode 100644 index 9091b3ea..00000000 --- a/versioned_docs/version-0.23.0/api/mobile/variables/VideoRendererView.md +++ /dev/null @@ -1,20 +0,0 @@ -# Variable: VideoRendererView - -> `const` **VideoRendererView**: `ForwardRefExoticComponent`\<[`VideoRendererProps`](../type-aliases/VideoRendererProps.md) & `RefAttributes`\<`ComponentType`\<[`VideoRendererProps`](../type-aliases/VideoRendererProps.md)\>\>\> - -Defined in: [packages/react-native-client/src/components/VideoRendererView.tsx:45](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/components/VideoRendererView.tsx#L45) - -Render video track received from [usePeers](../functions/usePeers.md) hook - -Example usage: -```js - - ``` - -## Param - -## Param diff --git a/versioned_docs/version-0.23.0/api/mobile/variables/useAppScreenShare.md b/versioned_docs/version-0.23.0/api/mobile/variables/useAppScreenShare.md deleted file mode 100644 index c297de1a..00000000 --- a/versioned_docs/version-0.23.0/api/mobile/variables/useAppScreenShare.md +++ /dev/null @@ -1,15 +0,0 @@ -# Variable: useAppScreenShare() - -> `const` **useAppScreenShare**: () => [`AppScreenShareData`](../type-aliases/AppScreenShareData.md) - -Defined in: [packages/react-native-client/src/hooks/useAppScreenShare.ts:80](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/useAppScreenShare.ts#L80) - -This hook can toggle client app screen sharing on/off and provides current screen share state. - -It works only on iOS. - -## Returns - -[`AppScreenShareData`](../type-aliases/AppScreenShareData.md) - -An object with functions to manage app screen share on iOS and null on android. diff --git a/versioned_docs/version-0.23.0/api/mobile/variables/useCallKit.md b/versioned_docs/version-0.23.0/api/mobile/variables/useCallKit.md deleted file mode 100644 index 4aa8595f..00000000 --- a/versioned_docs/version-0.23.0/api/mobile/variables/useCallKit.md +++ /dev/null @@ -1,32 +0,0 @@ -# Variable: useCallKit() - -> `const` **useCallKit**: () => [`UseCallKitResult`](../type-aliases/UseCallKitResult.md) - -Defined in: [packages/react-native-client/src/hooks/useCallKit.ts:161](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/useCallKit.ts#L161) - -A hook for managing CallKit sessions on iOS. Does nothing on other platforms. -CallKit provides a native iOS interface for managing VoIP calls, integrating with the system's -phone UI and controls. Use this hook when you need fine-grained control over the CallKit session lifecycle. - -## Returns - -[`UseCallKitResult`](../type-aliases/UseCallKitResult.md) - -An object containing methods to manage CallKit sessions: - - `startCallKitSession(config: CallKitConfig)` - Starts a CallKit session with the given configuration - - `endCallKitSession()` - Ends the current CallKit session - - `getCallKitSessionStatus()` - Returns whether there is currently an active CallKit session - -## Example - -```typescript -import { useCallKit } from '@fishjam-cloud/react-native-client'; - -const { startCallKitSession, endCallKitSession } = useCallKit(); - -// Start a CallKit session -await startCallKitSession({ displayName: 'John Doe', isVideo: true }); - -// Later, end the session -await endCallKitSession(); -``` diff --git a/versioned_docs/version-0.23.0/api/mobile/variables/useCallKitEvent.md b/versioned_docs/version-0.23.0/api/mobile/variables/useCallKitEvent.md deleted file mode 100644 index 4742c627..00000000 --- a/versioned_docs/version-0.23.0/api/mobile/variables/useCallKitEvent.md +++ /dev/null @@ -1,39 +0,0 @@ -# Variable: useCallKitEvent() - -> `const` **useCallKitEvent**: \<`T`\>(`action`, `callback`) => `void` - -Defined in: [packages/react-native-client/src/hooks/useCallKit.ts:130](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/useCallKit.ts#L130) - -A hook for listening to CallKit actions on iOS. Does nothing on other platforms. -This hook allows you to respond to user interactions with the native iOS CallKit interface, -such as muting/unmuting the call, putting the call on hold, or ending the call from the -system's phone UI or lock screen controls. - -## Type Parameters - -| Type Parameter | -| ------ | -| `T` *extends* keyof [`CallKitAction`](../type-aliases/CallKitAction.md) | - -## Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `action` | `T` | The CallKit action to listen for. Available actions: - `'started'` - CallKit session has started - `'ended'` - User ended the call from CallKit UI - `'failed'` - CallKit session failed to start - `'muted'` - User toggled mute from CallKit UI - `'held'` - User toggled hold from CallKit UI | -| `callback` | (`event`) => `void` | Function called when the specified action occurs. | - -## Returns - -`void` - -## Example - -```typescript -import { useCallKitEvent } from '@fishjam-cloud/react-native-client'; - -// Listen for hold state changes -useCallKitEvent('held', (isOnHold: boolean) => { - console.log('Call hold state:', isOnHold); - // Handle hold state in your app -}); -``` diff --git a/versioned_docs/version-0.23.0/api/mobile/variables/useCallKitService.md b/versioned_docs/version-0.23.0/api/mobile/variables/useCallKitService.md deleted file mode 100644 index 2fc49be8..00000000 --- a/versioned_docs/version-0.23.0/api/mobile/variables/useCallKitService.md +++ /dev/null @@ -1,34 +0,0 @@ -# Variable: useCallKitService() - -> `const` **useCallKitService**: (`config`) => `void` - -Defined in: [packages/react-native-client/src/hooks/useCallKit.ts:192](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/useCallKit.ts#L192) - -A convenience hook for automatically managing CallKit session lifecycle on iOS. Does nothing on other platforms. -This hook automatically starts a CallKit session when the component mounts and ends it when the component unmounts. -Use this hook when you want CallKit to be active for the entire lifetime of a component (e.g., during a call). - -## Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `config` | [`CallKitConfig`](../type-aliases/CallKitConfig.md) | Configuration object containing: - `displayName` - The name to display in the CallKit UI (e.g., username, call title) - `isVideo` - Whether the call is video or audio only | - -## Returns - -`void` - -## Example - -```typescript -import React from 'react'; -import { useCallKitService } from '@fishjam-cloud/react-native-client'; - -function CallScreen({ username }: { username: string }) { - // CallKit session will automatically start when this component mounts - // and end when it unmounts - useCallKitService({ displayName: username, isVideo: true }); - - return null; -} -``` diff --git a/versioned_docs/version-0.23.0/api/mobile/variables/useCameraPermissions.md b/versioned_docs/version-0.23.0/api/mobile/variables/useCameraPermissions.md deleted file mode 100644 index f8309ce0..00000000 --- a/versioned_docs/version-0.23.0/api/mobile/variables/useCameraPermissions.md +++ /dev/null @@ -1,25 +0,0 @@ -# Variable: useCameraPermissions() - -> `const` **useCameraPermissions**: (`options?`) => \[`null` \| `PermissionResponse`, `RequestPermissionMethod`\<`PermissionResponse`\>, `GetPermissionMethod`\<`PermissionResponse`\>\] - -Defined in: [packages/react-native-client/src/hooks/usePermissions.ts:31](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/usePermissions.ts#L31) - -Check or request permissions to access the camera. -This uses both `requestCameraPermissionsAsync` and `getCameraPermissionsAsync` to interact with the permissions. - -## Parameters - -| Parameter | Type | -| ------ | ------ | -| `options?` | `PermissionHookOptions`\<`object`\> | - -## Returns - -\[`null` \| `PermissionResponse`, `RequestPermissionMethod`\<`PermissionResponse`\>, `GetPermissionMethod`\<`PermissionResponse`\>\] - -## Example - -```ts -import { useCameraPermissions } from '@fishjam-cloud/react-native-client'; -const [status, requestPermission] = useCameraPermissions(); -``` diff --git a/versioned_docs/version-0.23.0/api/mobile/variables/useForegroundService.md b/versioned_docs/version-0.23.0/api/mobile/variables/useForegroundService.md deleted file mode 100644 index d03a0248..00000000 --- a/versioned_docs/version-0.23.0/api/mobile/variables/useForegroundService.md +++ /dev/null @@ -1,18 +0,0 @@ -# Variable: useForegroundService() - -> `const` **useForegroundService**: (`config`) => `void` - -Defined in: [packages/react-native-client/src/hooks/useForegroundService.ts:109](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/useForegroundService.ts#L109) - -A hook for managing a foreground service on Android. Does nothing on other platforms. -You can use this hook to keep your app running in the background. You're also required to run a foreground service when screen sharing. - -## Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `config` | [`ForegroundServiceConfig`](../type-aliases/ForegroundServiceConfig.md) | Configuration options for the foreground service. | - -## Returns - -`void` diff --git a/versioned_docs/version-0.23.0/api/mobile/variables/useMicrophonePermissions.md b/versioned_docs/version-0.23.0/api/mobile/variables/useMicrophonePermissions.md deleted file mode 100644 index 86d4d0c4..00000000 --- a/versioned_docs/version-0.23.0/api/mobile/variables/useMicrophonePermissions.md +++ /dev/null @@ -1,25 +0,0 @@ -# Variable: useMicrophonePermissions() - -> `const` **useMicrophonePermissions**: (`options?`) => \[`null` \| `PermissionResponse`, `RequestPermissionMethod`\<`PermissionResponse`\>, `GetPermissionMethod`\<`PermissionResponse`\>\] - -Defined in: [packages/react-native-client/src/hooks/usePermissions.ts:63](https://github.com/fishjam-cloud/mobile-client-sdk/blob/13bc6085d5c0268377acde140fe9c29c39eaf73b/packages/react-native-client/src/hooks/usePermissions.ts#L63) - -Check or request permissions to access the microphone. -This uses both `requestMicrophonePermissionsAsync` and `getMicrophonePermissionsAsync` to interact with the permissions. - -## Parameters - -| Parameter | Type | -| ------ | ------ | -| `options?` | `PermissionHookOptions`\<`object`\> | - -## Returns - -\[`null` \| `PermissionResponse`, `RequestPermissionMethod`\<`PermissionResponse`\>, `GetPermissionMethod`\<`PermissionResponse`\>\] - -## Example - -```ts -import { useMicrophonePermissions } from '@fishjam-cloud/react-native-client'; -const [status, requestPermission] = useMicrophonePermissions(); -``` diff --git a/versioned_docs/version-0.23.0/api/server/classes/FishjamAgent.md b/versioned_docs/version-0.23.0/api/server/classes/FishjamAgent.md deleted file mode 100644 index 7508f947..00000000 --- a/versioned_docs/version-0.23.0/api/server/classes/FishjamAgent.md +++ /dev/null @@ -1,132 +0,0 @@ -# Class: FishjamAgent - -Defined in: [js-server-sdk/src/agent.ts:42](https://github.com/fishjam-cloud/js-server-sdk/blob/47c214593e589512a3ba31be9d92be66ca83da9a/packages/js-server-sdk/src/agent.ts#L42) - -## Extends - -- `TypedEventEmitter`\<[`AgentEvents`](../type-aliases/AgentEvents.md), `this`\> - -## Constructors - -### Constructor - -> **new FishjamAgent**(`config`, `agentToken`, `callbacks?`): `FishjamAgent` - -Defined in: [js-server-sdk/src/agent.ts:45](https://github.com/fishjam-cloud/js-server-sdk/blob/47c214593e589512a3ba31be9d92be66ca83da9a/packages/js-server-sdk/src/agent.ts#L45) - -#### Parameters - -| Parameter | Type | -| ------ | ------ | -| `config` | [`FishjamConfig`](../type-aliases/FishjamConfig.md) | -| `agentToken` | `string` | -| `callbacks?` | [`AgentCallbacks`](../type-aliases/AgentCallbacks.md) | - -#### Returns - -`FishjamAgent` - -#### Overrides - -`(EventEmitter as new () => TypedEmitter).constructor` - -## Methods - -### createTrack() - -> **createTrack**(`codecParameters`, `metadata`): [`AgentTrack`](../type-aliases/AgentTrack.md) - -Defined in: [js-server-sdk/src/agent.ts:66](https://github.com/fishjam-cloud/js-server-sdk/blob/47c214593e589512a3ba31be9d92be66ca83da9a/packages/js-server-sdk/src/agent.ts#L66) - -Creates an outgoing audio track for the agent - -#### Parameters - -| Parameter | Type | -| ------ | ------ | -| `codecParameters` | [`AudioCodecParameters`](../type-aliases/AudioCodecParameters.md) | -| `metadata` | `object` | - -#### Returns - -[`AgentTrack`](../type-aliases/AgentTrack.md) - -a new audio track - -*** - -### deleteTrack() - -> **deleteTrack**(`trackId`): `void` - -Defined in: [js-server-sdk/src/agent.ts:98](https://github.com/fishjam-cloud/js-server-sdk/blob/47c214593e589512a3ba31be9d92be66ca83da9a/packages/js-server-sdk/src/agent.ts#L98) - -Deletes an outgoing audio track for the agent - -#### Parameters - -| Parameter | Type | -| ------ | ------ | -| `trackId` | [`TrackId`](../type-aliases/TrackId.md) | - -#### Returns - -`void` - -*** - -### disconnect() - -> **disconnect**(): `void` - -Defined in: [js-server-sdk/src/agent.ts:113](https://github.com/fishjam-cloud/js-server-sdk/blob/47c214593e589512a3ba31be9d92be66ca83da9a/packages/js-server-sdk/src/agent.ts#L113) - -#### Returns - -`void` - -*** - -### interruptTrack() - -> **interruptTrack**(`trackId`): `void` - -Defined in: [js-server-sdk/src/agent.ts:89](https://github.com/fishjam-cloud/js-server-sdk/blob/47c214593e589512a3ba31be9d92be66ca83da9a/packages/js-server-sdk/src/agent.ts#L89) - -Interrupt track indentified by `trackId`. - -Any audio that has been sent by the agent, but not played -by Fishjam will be cleared and be prevented from playing. - -Audio sent after the interrupt will be played normally. - -#### Parameters - -| Parameter | Type | -| ------ | ------ | -| `trackId` | [`TrackId`](../type-aliases/TrackId.md) | - -#### Returns - -`void` - -*** - -### sendData() - -> **sendData**(`trackId`, `data`): `void` - -Defined in: [js-server-sdk/src/agent.ts:107](https://github.com/fishjam-cloud/js-server-sdk/blob/47c214593e589512a3ba31be9d92be66ca83da9a/packages/js-server-sdk/src/agent.ts#L107) - -Send audio data for the given track - -#### Parameters - -| Parameter | Type | -| ------ | ------ | -| `trackId` | [`TrackId`](../type-aliases/TrackId.md) | -| `data` | `Uint8Array` | - -#### Returns - -`void` diff --git a/versioned_docs/version-0.23.0/api/server/interfaces/RoomConfig.md b/versioned_docs/version-0.23.0/api/server/interfaces/RoomConfig.md deleted file mode 100644 index fc13e92c..00000000 --- a/versioned_docs/version-0.23.0/api/server/interfaces/RoomConfig.md +++ /dev/null @@ -1,79 +0,0 @@ -# Interface: RoomConfig - -Defined in: fishjam-openapi/dist/index.d.ts:414 - -Room configuration - -## Export - -RoomConfig - -## Properties - -### maxPeers? - -> `optional` **maxPeers**: `null` \| `number` - -Defined in: fishjam-openapi/dist/index.d.ts:420 - -Maximum amount of peers allowed into the room - -#### Memberof - -RoomConfig - -*** - -### public? - -> `optional` **public**: `boolean` - -Defined in: fishjam-openapi/dist/index.d.ts:426 - -True if livestream viewers can omit specifying a token. - -#### Memberof - -RoomConfig - -*** - -### roomType? - -> `optional` **roomType**: [`RoomConfigRoomTypeEnum`](../type-aliases/RoomConfigRoomTypeEnum.md) - -Defined in: fishjam-openapi/dist/index.d.ts:432 - -The use-case of the room. If not provided, this defaults to conference. - -#### Memberof - -RoomConfig - -*** - -### videoCodec? - -> `optional` **videoCodec**: [`RoomConfigVideoCodecEnum`](../type-aliases/RoomConfigVideoCodecEnum.md) - -Defined in: fishjam-openapi/dist/index.d.ts:438 - -Enforces video codec for each peer in the room - -#### Memberof - -RoomConfig - -*** - -### webhookUrl? - -> `optional` **webhookUrl**: `null` \| `string` - -Defined in: fishjam-openapi/dist/index.d.ts:444 - -URL where Fishjam notifications will be sent - -#### Memberof - -RoomConfig diff --git a/versioned_docs/version-0.23.0/api/server/type-aliases/AgentEvents.md b/versioned_docs/version-0.23.0/api/server/type-aliases/AgentEvents.md deleted file mode 100644 index 31d05d26..00000000 --- a/versioned_docs/version-0.23.0/api/server/type-aliases/AgentEvents.md +++ /dev/null @@ -1,5 +0,0 @@ -# Type Alias: AgentEvents - -> **AgentEvents** = `{ [K in ExpectedAgentEvents]: (message: NonNullable<{ authenticated?: AgentResponse_Authenticated; trackData?: Omit & { peerId: PeerId } }[K]>) => void }` - -Defined in: [js-server-sdk/src/agent.ts:40](https://github.com/fishjam-cloud/js-server-sdk/blob/47c214593e589512a3ba31be9d92be66ca83da9a/packages/js-server-sdk/src/agent.ts#L40) diff --git a/versioned_docs/version-0.23.0/api/server/type-aliases/AgentTrack.md b/versioned_docs/version-0.23.0/api/server/type-aliases/AgentTrack.md deleted file mode 100644 index 2e770451..00000000 --- a/versioned_docs/version-0.23.0/api/server/type-aliases/AgentTrack.md +++ /dev/null @@ -1,11 +0,0 @@ -# Type Alias: AgentTrack - -> **AgentTrack** = `Omit`\<`ProtoTrack`, `"id"`\> & `object` - -Defined in: [js-server-sdk/src/agent.ts:26](https://github.com/fishjam-cloud/js-server-sdk/blob/47c214593e589512a3ba31be9d92be66ca83da9a/packages/js-server-sdk/src/agent.ts#L26) - -## Type declaration - -### id - -> **id**: [`TrackId`](TrackId.md) diff --git a/versioned_docs/version-0.23.0/api/server/type-aliases/AudioCodecParameters.md b/versioned_docs/version-0.23.0/api/server/type-aliases/AudioCodecParameters.md deleted file mode 100644 index 4d6b9c36..00000000 --- a/versioned_docs/version-0.23.0/api/server/type-aliases/AudioCodecParameters.md +++ /dev/null @@ -1,29 +0,0 @@ -# Type Alias: AudioCodecParameters - -> **AudioCodecParameters** = `object` - -Defined in: [js-server-sdk/src/agent.ts:29](https://github.com/fishjam-cloud/js-server-sdk/blob/47c214593e589512a3ba31be9d92be66ca83da9a/packages/js-server-sdk/src/agent.ts#L29) - -## Properties - -### channels - -> **channels**: `1` - -Defined in: [js-server-sdk/src/agent.ts:32](https://github.com/fishjam-cloud/js-server-sdk/blob/47c214593e589512a3ba31be9d92be66ca83da9a/packages/js-server-sdk/src/agent.ts#L32) - -*** - -### encoding - -> **encoding**: `"opus"` \| `"pcm16"` - -Defined in: [js-server-sdk/src/agent.ts:30](https://github.com/fishjam-cloud/js-server-sdk/blob/47c214593e589512a3ba31be9d92be66ca83da9a/packages/js-server-sdk/src/agent.ts#L30) - -*** - -### sampleRate - -> **sampleRate**: `16000` \| `24000` \| `48000` - -Defined in: [js-server-sdk/src/agent.ts:31](https://github.com/fishjam-cloud/js-server-sdk/blob/47c214593e589512a3ba31be9d92be66ca83da9a/packages/js-server-sdk/src/agent.ts#L31) diff --git a/versioned_docs/version-0.23.0/api/server/type-aliases/ExpectedAgentEvents.md b/versioned_docs/version-0.23.0/api/server/type-aliases/ExpectedAgentEvents.md deleted file mode 100644 index d0673c05..00000000 --- a/versioned_docs/version-0.23.0/api/server/type-aliases/ExpectedAgentEvents.md +++ /dev/null @@ -1,5 +0,0 @@ -# Type Alias: ExpectedAgentEvents - -> **ExpectedAgentEvents** = `"trackData"` - -Defined in: [js-server-sdk/src/agent.ts:21](https://github.com/fishjam-cloud/js-server-sdk/blob/47c214593e589512a3ba31be9d92be66ca83da9a/packages/js-server-sdk/src/agent.ts#L21) diff --git a/versioned_docs/version-0.23.0/api/server/type-aliases/NotificationEvents.md b/versioned_docs/version-0.23.0/api/server/type-aliases/NotificationEvents.md deleted file mode 100644 index 9b617364..00000000 --- a/versioned_docs/version-0.23.0/api/server/type-aliases/NotificationEvents.md +++ /dev/null @@ -1,5 +0,0 @@ -# Type Alias: NotificationEvents - -> **NotificationEvents** = `{ [K in ExpectedEvents]: (message: NonNullable<{ authenticated?: ServerMessage_Authenticated; authRequest?: ServerMessage_AuthRequest; componentCrashed?: Omit & { roomId: RoomId }; hlsPlayable?: Omit & { roomId: RoomId }; hlsUploadCrashed?: Omit & { roomId: RoomId }; hlsUploaded?: Omit & { roomId: RoomId }; peerAdded?: Omit & { roomId: RoomId }, "peerId"> & { peerId: PeerId }; peerConnected?: Omit & { roomId: RoomId }, "peerId"> & { peerId: PeerId }; peerCrashed?: Omit & { roomId: RoomId }, "peerId"> & { peerId: PeerId }; peerDeleted?: Omit & { roomId: RoomId }, "peerId"> & { peerId: PeerId }; peerDisconnected?: Omit & { roomId: RoomId }, "peerId"> & { peerId: PeerId }; peerMetadataUpdated?: Omit & { roomId: RoomId }, "peerId"> & { peerId: PeerId }; roomCrashed?: Omit & { roomId: RoomId }; roomCreated?: Omit & { roomId: RoomId }; roomDeleted?: Omit & { roomId: RoomId }; streamConnected?: ServerMessage_StreamConnected; streamDisconnected?: ServerMessage_StreamDisconnected; streamerConnected?: ServerMessage_StreamerConnected; streamerDisconnected?: ServerMessage_StreamerDisconnected; subscribeRequest?: ServerMessage_SubscribeRequest; subscribeResponse?: ServerMessage_SubscribeResponse; trackAdded?: Omit & { roomId: RoomId }; trackMetadataUpdated?: Omit & { roomId: RoomId }; trackRemoved?: Omit & { roomId: RoomId }; viewerConnected?: ServerMessage_ViewerConnected; viewerDisconnected?: ServerMessage_ViewerDisconnected }[K]>) => void }` - -Defined in: [js-server-sdk/src/ws\_notifier.ts:70](https://github.com/fishjam-cloud/js-server-sdk/blob/47c214593e589512a3ba31be9d92be66ca83da9a/packages/js-server-sdk/src/ws_notifier.ts#L70) diff --git a/versioned_docs/version-0.23.0/api/server/type-aliases/PeerOptions.md b/versioned_docs/version-0.23.0/api/server/type-aliases/PeerOptions.md deleted file mode 100644 index 7e5060f4..00000000 --- a/versioned_docs/version-0.23.0/api/server/type-aliases/PeerOptions.md +++ /dev/null @@ -1,7 +0,0 @@ -# Type Alias: PeerOptions - -> **PeerOptions** = `PeerOptionsAgent` \| `PeerOptionsWebRTC` - -Defined in: fishjam-openapi/dist/index.d.ts:253 - -## Export diff --git a/versioned_docs/version-0.23.0/api/server/type-aliases/RoomConfigRoomTypeEnum.md b/versioned_docs/version-0.23.0/api/server/type-aliases/RoomConfigRoomTypeEnum.md deleted file mode 100644 index c4e14ab2..00000000 --- a/versioned_docs/version-0.23.0/api/server/type-aliases/RoomConfigRoomTypeEnum.md +++ /dev/null @@ -1,5 +0,0 @@ -# Type Alias: RoomConfigRoomTypeEnum - -> **RoomConfigRoomTypeEnum** = *typeof* [`RoomConfigRoomTypeEnum`](../variables/RoomConfigRoomTypeEnum.md)\[keyof *typeof* [`RoomConfigRoomTypeEnum`](../variables/RoomConfigRoomTypeEnum.md)\] - -Defined in: fishjam-openapi/dist/index.d.ts:446 diff --git a/versioned_docs/version-0.23.0/api/server/type-aliases/RoomConfigVideoCodecEnum.md b/versioned_docs/version-0.23.0/api/server/type-aliases/RoomConfigVideoCodecEnum.md deleted file mode 100644 index 507de8d2..00000000 --- a/versioned_docs/version-0.23.0/api/server/type-aliases/RoomConfigVideoCodecEnum.md +++ /dev/null @@ -1,5 +0,0 @@ -# Type Alias: RoomConfigVideoCodecEnum - -> **RoomConfigVideoCodecEnum** = *typeof* [`RoomConfigVideoCodecEnum`](../variables/RoomConfigVideoCodecEnum.md)\[keyof *typeof* [`RoomConfigVideoCodecEnum`](../variables/RoomConfigVideoCodecEnum.md)\] - -Defined in: fishjam-openapi/dist/index.d.ts:455 diff --git a/versioned_docs/version-0.23.0/api/server/type-aliases/TrackId.md b/versioned_docs/version-0.23.0/api/server/type-aliases/TrackId.md deleted file mode 100644 index a975911b..00000000 --- a/versioned_docs/version-0.23.0/api/server/type-aliases/TrackId.md +++ /dev/null @@ -1,5 +0,0 @@ -# Type Alias: TrackId - -> **TrackId** = [`Brand`](Brand.md)\<`string`, `"TrackId"`\> - -Defined in: [js-server-sdk/src/agent.ts:34](https://github.com/fishjam-cloud/js-server-sdk/blob/47c214593e589512a3ba31be9d92be66ca83da9a/packages/js-server-sdk/src/agent.ts#L34) diff --git a/versioned_docs/version-0.23.0/api/server/type-aliases/TrackType.md b/versioned_docs/version-0.23.0/api/server/type-aliases/TrackType.md deleted file mode 100644 index e050dd87..00000000 --- a/versioned_docs/version-0.23.0/api/server/type-aliases/TrackType.md +++ /dev/null @@ -1,5 +0,0 @@ -# Type Alias: TrackType - -> **TrackType** = `"audio"` \| `"video"` - -Defined in: [js-server-sdk/src/agent.ts:28](https://github.com/fishjam-cloud/js-server-sdk/blob/47c214593e589512a3ba31be9d92be66ca83da9a/packages/js-server-sdk/src/agent.ts#L28) diff --git a/versioned_docs/version-0.23.0/api/server/typedoc-sidebar.cjs b/versioned_docs/version-0.23.0/api/server/typedoc-sidebar.cjs deleted file mode 100644 index a72e5237..00000000 --- a/versioned_docs/version-0.23.0/api/server/typedoc-sidebar.cjs +++ /dev/null @@ -1,4 +0,0 @@ -// @ts-check -/** @type {import("@docusaurus/plugin-content-docs").SidebarsConfig} */ -const typedocSidebar = {items:[{type:"category",label:"Client",items:[{type:"doc",id:"api/server/classes/FishjamClient",label:"FishjamClient"},{type:"doc",id:"api/server/classes/FishjamWSNotifier",label:"FishjamWSNotifier"}]},{type:"category",label:"Other",items:[{type:"doc",id:"api/server/enumerations/PeerStatus",label:"PeerStatus"},{type:"doc",id:"api/server/classes/BadRequestException",label:"BadRequestException"},{type:"doc",id:"api/server/classes/FishjamAgent",label:"FishjamAgent"},{type:"doc",id:"api/server/classes/FishjamBaseException",label:"FishjamBaseException"},{type:"doc",id:"api/server/classes/FishjamNotFoundException",label:"FishjamNotFoundException"},{type:"doc",id:"api/server/classes/ForbiddenException",label:"ForbiddenException"},{type:"doc",id:"api/server/classes/MissingFishjamIdException",label:"MissingFishjamIdException"},{type:"doc",id:"api/server/classes/PeerNotFoundException",label:"PeerNotFoundException"},{type:"doc",id:"api/server/classes/RoomNotFoundException",label:"RoomNotFoundException"},{type:"doc",id:"api/server/classes/ServiceUnavailableException",label:"ServiceUnavailableException"},{type:"doc",id:"api/server/classes/UnauthorizedException",label:"UnauthorizedException"},{type:"doc",id:"api/server/classes/UnknownException",label:"UnknownException"},{type:"doc",id:"api/server/interfaces/RoomConfig",label:"RoomConfig"},{type:"doc",id:"api/server/interfaces/ServerMessage",label:"ServerMessage"},{type:"doc",id:"api/server/interfaces/StreamerToken",label:"StreamerToken"},{type:"doc",id:"api/server/interfaces/ViewerToken",label:"ViewerToken"},{type:"doc",id:"api/server/type-aliases/AgentCallbacks",label:"AgentCallbacks"},{type:"doc",id:"api/server/type-aliases/AgentEvents",label:"AgentEvents"},{type:"doc",id:"api/server/type-aliases/AgentTrack",label:"AgentTrack"},{type:"doc",id:"api/server/type-aliases/AudioCodecParameters",label:"AudioCodecParameters"},{type:"doc",id:"api/server/type-aliases/Brand",label:"Brand"},{type:"doc",id:"api/server/type-aliases/CloseEventHandler",label:"CloseEventHandler"},{type:"doc",id:"api/server/type-aliases/ErrorEventHandler",label:"ErrorEventHandler"},{type:"doc",id:"api/server/type-aliases/ExpectedAgentEvents",label:"ExpectedAgentEvents"},{type:"doc",id:"api/server/type-aliases/ExpectedEvents",label:"ExpectedEvents"},{type:"doc",id:"api/server/type-aliases/FishjamConfig",label:"FishjamConfig"},{type:"doc",id:"api/server/type-aliases/IncomingTrackData",label:"IncomingTrackData"},{type:"doc",id:"api/server/type-aliases/NotificationEvents",label:"NotificationEvents"},{type:"doc",id:"api/server/type-aliases/OutgoingTrackData",label:"OutgoingTrackData"},{type:"doc",id:"api/server/type-aliases/Peer",label:"Peer"},{type:"doc",id:"api/server/type-aliases/PeerAdded",label:"PeerAdded"},{type:"doc",id:"api/server/type-aliases/PeerConnected",label:"PeerConnected"},{type:"doc",id:"api/server/type-aliases/PeerCrashed",label:"PeerCrashed"},{type:"doc",id:"api/server/type-aliases/PeerDeleted",label:"PeerDeleted"},{type:"doc",id:"api/server/type-aliases/PeerDisconnected",label:"PeerDisconnected"},{type:"doc",id:"api/server/type-aliases/PeerId",label:"PeerId"},{type:"doc",id:"api/server/type-aliases/PeerMetadataUpdated",label:"PeerMetadataUpdated"},{type:"doc",id:"api/server/type-aliases/PeerOptions",label:"PeerOptions"},{type:"doc",id:"api/server/type-aliases/Room",label:"Room"},{type:"doc",id:"api/server/type-aliases/RoomConfigRoomTypeEnum",label:"RoomConfigRoomTypeEnum"},{type:"doc",id:"api/server/type-aliases/RoomConfigVideoCodecEnum",label:"RoomConfigVideoCodecEnum"},{type:"doc",id:"api/server/type-aliases/RoomCrashed",label:"RoomCrashed"},{type:"doc",id:"api/server/type-aliases/RoomCreated",label:"RoomCreated"},{type:"doc",id:"api/server/type-aliases/RoomDeleted",label:"RoomDeleted"},{type:"doc",id:"api/server/type-aliases/RoomId",label:"RoomId"},{type:"doc",id:"api/server/type-aliases/StreamConnected",label:"StreamConnected"},{type:"doc",id:"api/server/type-aliases/StreamDisconnected",label:"StreamDisconnected"},{type:"doc",id:"api/server/type-aliases/TrackAdded",label:"TrackAdded"},{type:"doc",id:"api/server/type-aliases/TrackId",label:"TrackId"},{type:"doc",id:"api/server/type-aliases/TrackMetadataUpdated",label:"TrackMetadataUpdated"},{type:"doc",id:"api/server/type-aliases/TrackRemoved",label:"TrackRemoved"},{type:"doc",id:"api/server/type-aliases/TrackType",label:"TrackType"},{type:"doc",id:"api/server/type-aliases/ViewerConnected",label:"ViewerConnected"},{type:"doc",id:"api/server/type-aliases/ViewerDisconnected",label:"ViewerDisconnected"},{type:"doc",id:"api/server/variables/RoomConfigRoomTypeEnum",label:"RoomConfigRoomTypeEnum"},{type:"doc",id:"api/server/variables/RoomConfigVideoCodecEnum",label:"RoomConfigVideoCodecEnum"},{type:"doc",id:"api/server/variables/ServerMessage",label:"ServerMessage"}]}]}; -module.exports = typedocSidebar.items; \ No newline at end of file diff --git a/versioned_docs/version-0.23.0/api/server/variables/RoomConfigRoomTypeEnum.md b/versioned_docs/version-0.23.0/api/server/variables/RoomConfigRoomTypeEnum.md deleted file mode 100644 index 19a7fa6d..00000000 --- a/versioned_docs/version-0.23.0/api/server/variables/RoomConfigRoomTypeEnum.md +++ /dev/null @@ -1,31 +0,0 @@ -# Variable: RoomConfigRoomTypeEnum - -> `const` **RoomConfigRoomTypeEnum**: `object` - -Defined in: fishjam-openapi/dist/index.d.ts:446 - -## Type declaration - -### AudioOnly - -> `readonly` **AudioOnly**: `"audio_only"` - -### AudioOnlyLivestream - -> `readonly` **AudioOnlyLivestream**: `"audio_only_livestream"` - -### Broadcaster - -> `readonly` **Broadcaster**: `"broadcaster"` - -### Conference - -> `readonly` **Conference**: `"conference"` - -### FullFeature - -> `readonly` **FullFeature**: `"full_feature"` - -### Livestream - -> `readonly` **Livestream**: `"livestream"` diff --git a/versioned_docs/version-0.23.0/api/server/variables/RoomConfigVideoCodecEnum.md b/versioned_docs/version-0.23.0/api/server/variables/RoomConfigVideoCodecEnum.md deleted file mode 100644 index ccf2ebaf..00000000 --- a/versioned_docs/version-0.23.0/api/server/variables/RoomConfigVideoCodecEnum.md +++ /dev/null @@ -1,15 +0,0 @@ -# Variable: RoomConfigVideoCodecEnum - -> `const` **RoomConfigVideoCodecEnum**: `object` - -Defined in: fishjam-openapi/dist/index.d.ts:455 - -## Type declaration - -### H264 - -> `readonly` **H264**: `"h264"` - -### Vp8 - -> `readonly` **Vp8**: `"vp8"` diff --git a/versioned_docs/version-0.23.0/api/web/functions/useVAD.md b/versioned_docs/version-0.23.0/api/web/functions/useVAD.md deleted file mode 100644 index bd90373d..00000000 --- a/versioned_docs/version-0.23.0/api/web/functions/useVAD.md +++ /dev/null @@ -1,31 +0,0 @@ -# Function: useVAD() - -> **useVAD**(`peerIds`): `Record`\<[`PeerId`](../type-aliases/PeerId.md), `boolean`\> - -Defined in: [react-client/src/hooks/useVAD.ts:25](https://github.com/fishjam-cloud/web-client-sdk/blob/086057acaac6bb70cf3b439b0b98e1c0f9f80a67/packages/react-client/src/hooks/useVAD.ts#L25) - -Voice activity detection. Use this hook to check if voice is detected in audio track for given peer(s). - -Example usage: -```tsx -import { useVAD, type PeerId } from "@fishjam-cloud/react-client"; -function WhoIsTalkingComponent({ peerIds }: { peerIds: PeerId[] }) { - const peersInfo = useVAD({peerIds}); - const activePeers = (Object.keys(peersInfo) as PeerId[]).filter((peerId) => peersInfo[peerId]); - - return `Now talking: ${activePeers.join(", ")}`; -} -``` - -## Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `peerIds` | \{ `peerIds`: readonly [`PeerId`](../type-aliases/PeerId.md)[]; \} | List of ids of peers to subscribe to for voice activity detection notifications. | -| `peerIds.peerIds` | readonly [`PeerId`](../type-aliases/PeerId.md)[] | - | - -## Returns - -`Record`\<[`PeerId`](../type-aliases/PeerId.md), `boolean`\> - -Each key is a peerId and the boolean value indicates if voice activity is currently detected for that peer. diff --git a/versioned_docs/version-0.23.0/api/web/interfaces/UseLivestreamStreamerResult.md b/versioned_docs/version-0.23.0/api/web/interfaces/UseLivestreamStreamerResult.md deleted file mode 100644 index c548a380..00000000 --- a/versioned_docs/version-0.23.0/api/web/interfaces/UseLivestreamStreamerResult.md +++ /dev/null @@ -1,62 +0,0 @@ -# Interface: UseLivestreamStreamerResult - -Defined in: [react-client/src/hooks/useLivestreamStreamer.ts:27](https://github.com/fishjam-cloud/web-client-sdk/blob/086057acaac6bb70cf3b439b0b98e1c0f9f80a67/packages/react-client/src/hooks/useLivestreamStreamer.ts#L27) - -## Properties - -### connect() - -> **connect**: (`inputs`, `urlOverride?`) => `Promise`\<`void`\> - -Defined in: [react-client/src/hooks/useLivestreamStreamer.ts:34](https://github.com/fishjam-cloud/web-client-sdk/blob/086057acaac6bb70cf3b439b0b98e1c0f9f80a67/packages/react-client/src/hooks/useLivestreamStreamer.ts#L34) - -Callback used to start publishing the selected audio and video media streams. - -#### Parameters - -| Parameter | Type | -| ------ | ------ | -| `inputs` | [`ConnectStreamerConfig`](../type-aliases/ConnectStreamerConfig.md) | -| `urlOverride?` | `string` | - -#### Returns - -`Promise`\<`void`\> - -#### Remarks - -Calling [connect](#connect) multiple times will have the effect of only publishing the **last** specified inputs. - -*** - -### disconnect() - -> **disconnect**: () => `void` - -Defined in: [react-client/src/hooks/useLivestreamStreamer.ts:36](https://github.com/fishjam-cloud/web-client-sdk/blob/086057acaac6bb70cf3b439b0b98e1c0f9f80a67/packages/react-client/src/hooks/useLivestreamStreamer.ts#L36) - -Callback to stop publishing anything previously published with [connect](#connect) - -#### Returns - -`void` - -*** - -### error - -> **error**: `null` \| `LivestreamError` - -Defined in: [react-client/src/hooks/useLivestreamStreamer.ts:38](https://github.com/fishjam-cloud/web-client-sdk/blob/086057acaac6bb70cf3b439b0b98e1c0f9f80a67/packages/react-client/src/hooks/useLivestreamStreamer.ts#L38) - -Any errors encounterd in [connect](#connect) will populate this field - -*** - -### isConnected - -> **isConnected**: `boolean` - -Defined in: [react-client/src/hooks/useLivestreamStreamer.ts:40](https://github.com/fishjam-cloud/web-client-sdk/blob/086057acaac6bb70cf3b439b0b98e1c0f9f80a67/packages/react-client/src/hooks/useLivestreamStreamer.ts#L40) - -Utility flag which indicates the current connection status diff --git a/versioned_docs/version-0.23.0/api/web/interfaces/UseLivestreamViewerResult.md b/versioned_docs/version-0.23.0/api/web/interfaces/UseLivestreamViewerResult.md deleted file mode 100644 index 7330f58c..00000000 --- a/versioned_docs/version-0.23.0/api/web/interfaces/UseLivestreamViewerResult.md +++ /dev/null @@ -1,70 +0,0 @@ -# Interface: UseLivestreamViewerResult - -Defined in: [react-client/src/hooks/useLivestreamViewer.ts:11](https://github.com/fishjam-cloud/web-client-sdk/blob/086057acaac6bb70cf3b439b0b98e1c0f9f80a67/packages/react-client/src/hooks/useLivestreamViewer.ts#L11) - -## Properties - -### connect() - -> **connect**: (`config`, `url?`) => `Promise`\<`void`\> - -Defined in: [react-client/src/hooks/useLivestreamViewer.ts:19](https://github.com/fishjam-cloud/web-client-sdk/blob/086057acaac6bb70cf3b439b0b98e1c0f9f80a67/packages/react-client/src/hooks/useLivestreamViewer.ts#L19) - -Callback to start receiving a livestream. -If the livestream is private, provide `token`. -If the livestream is public, provide `streamId`. - -#### Parameters - -| Parameter | Type | -| ------ | ------ | -| `config` | [`ConnectViewerConfig`](../type-aliases/ConnectViewerConfig.md) | -| `url?` | `string` | - -#### Returns - -`Promise`\<`void`\> - -*** - -### disconnect() - -> **disconnect**: () => `void` - -Defined in: [react-client/src/hooks/useLivestreamViewer.ts:21](https://github.com/fishjam-cloud/web-client-sdk/blob/086057acaac6bb70cf3b439b0b98e1c0f9f80a67/packages/react-client/src/hooks/useLivestreamViewer.ts#L21) - -Callback used to disconnect from a stream previously connected to with [connect](#connect) - -#### Returns - -`void` - -*** - -### error - -> **error**: `null` \| `LivestreamError` - -Defined in: [react-client/src/hooks/useLivestreamViewer.ts:23](https://github.com/fishjam-cloud/web-client-sdk/blob/086057acaac6bb70cf3b439b0b98e1c0f9f80a67/packages/react-client/src/hooks/useLivestreamViewer.ts#L23) - -Any errors encountered in [connect](#connect) will be present in this field. - -*** - -### isConnected - -> **isConnected**: `boolean` - -Defined in: [react-client/src/hooks/useLivestreamViewer.ts:25](https://github.com/fishjam-cloud/web-client-sdk/blob/086057acaac6bb70cf3b439b0b98e1c0f9f80a67/packages/react-client/src/hooks/useLivestreamViewer.ts#L25) - -Utility flag which indicates the current connection status - -*** - -### stream - -> **stream**: `null` \| `MediaStream` - -Defined in: [react-client/src/hooks/useLivestreamViewer.ts:13](https://github.com/fishjam-cloud/web-client-sdk/blob/086057acaac6bb70cf3b439b0b98e1c0f9f80a67/packages/react-client/src/hooks/useLivestreamViewer.ts#L13) - -The received livestream media diff --git a/versioned_docs/version-0.23.0/api/web/type-aliases/BandwidthLimits.md b/versioned_docs/version-0.23.0/api/web/type-aliases/BandwidthLimits.md deleted file mode 100644 index 1b2cec3c..00000000 --- a/versioned_docs/version-0.23.0/api/web/type-aliases/BandwidthLimits.md +++ /dev/null @@ -1,21 +0,0 @@ -# Type Alias: BandwidthLimits - -> **BandwidthLimits** = `object` - -Defined in: [react-client/src/types/public.ts:61](https://github.com/fishjam-cloud/web-client-sdk/blob/086057acaac6bb70cf3b439b0b98e1c0f9f80a67/packages/react-client/src/types/public.ts#L61) - -## Properties - -### simulcast - -> **simulcast**: [`SimulcastBandwidthLimits`](SimulcastBandwidthLimits.md) - -Defined in: [react-client/src/types/public.ts:61](https://github.com/fishjam-cloud/web-client-sdk/blob/086057acaac6bb70cf3b439b0b98e1c0f9f80a67/packages/react-client/src/types/public.ts#L61) - -*** - -### singleStream - -> **singleStream**: `number` - -Defined in: [react-client/src/types/public.ts:61](https://github.com/fishjam-cloud/web-client-sdk/blob/086057acaac6bb70cf3b439b0b98e1c0f9f80a67/packages/react-client/src/types/public.ts#L61) diff --git a/versioned_docs/version-0.23.0/api/web/type-aliases/ConnectStreamerConfig.md b/versioned_docs/version-0.23.0/api/web/type-aliases/ConnectStreamerConfig.md deleted file mode 100644 index 2dad1c72..00000000 --- a/versioned_docs/version-0.23.0/api/web/type-aliases/ConnectStreamerConfig.md +++ /dev/null @@ -1,23 +0,0 @@ -# Type Alias: ConnectStreamerConfig - -> **ConnectStreamerConfig** = `object` - -Defined in: [react-client/src/hooks/useLivestreamStreamer.ts:20](https://github.com/fishjam-cloud/web-client-sdk/blob/086057acaac6bb70cf3b439b0b98e1c0f9f80a67/packages/react-client/src/hooks/useLivestreamStreamer.ts#L20) - -## Properties - -### inputs - -> **inputs**: [`StreamerInputs`](StreamerInputs.md) - -Defined in: [react-client/src/hooks/useLivestreamStreamer.ts:21](https://github.com/fishjam-cloud/web-client-sdk/blob/086057acaac6bb70cf3b439b0b98e1c0f9f80a67/packages/react-client/src/hooks/useLivestreamStreamer.ts#L21) - -*** - -### token - -> **token**: `string` - -Defined in: [react-client/src/hooks/useLivestreamStreamer.ts:23](https://github.com/fishjam-cloud/web-client-sdk/blob/086057acaac6bb70cf3b439b0b98e1c0f9f80a67/packages/react-client/src/hooks/useLivestreamStreamer.ts#L23) - -Streamer token used to authenticate with Fishjam diff --git a/versioned_docs/version-0.23.0/api/web/type-aliases/ConnectViewerConfig.md b/versioned_docs/version-0.23.0/api/web/type-aliases/ConnectViewerConfig.md deleted file mode 100644 index 37885b5e..00000000 --- a/versioned_docs/version-0.23.0/api/web/type-aliases/ConnectViewerConfig.md +++ /dev/null @@ -1,5 +0,0 @@ -# Type Alias: ConnectViewerConfig - -> **ConnectViewerConfig** = \{ `streamId?`: `never`; `token`: `string`; \} \| \{ `streamId`: `string`; `token?`: `never`; \} - -Defined in: [react-client/src/hooks/useLivestreamViewer.ts:6](https://github.com/fishjam-cloud/web-client-sdk/blob/086057acaac6bb70cf3b439b0b98e1c0f9f80a67/packages/react-client/src/hooks/useLivestreamViewer.ts#L6) diff --git a/versioned_docs/version-0.23.0/api/web/type-aliases/CustomSource.md b/versioned_docs/version-0.23.0/api/web/type-aliases/CustomSource.md deleted file mode 100644 index 278a0a4b..00000000 --- a/versioned_docs/version-0.23.0/api/web/type-aliases/CustomSource.md +++ /dev/null @@ -1,40 +0,0 @@ -# Type Alias: CustomSource\ - -> **CustomSource**\<`T`\> = `object` - -Defined in: [react-client/src/types/public.ts:74](https://github.com/fishjam-cloud/web-client-sdk/blob/086057acaac6bb70cf3b439b0b98e1c0f9f80a67/packages/react-client/src/types/public.ts#L74) - -## Type Parameters - -| Type Parameter | -| ------ | -| `T` *extends* `string` | - -## Properties - -### id - -> **id**: `T` - -Defined in: [react-client/src/types/public.ts:75](https://github.com/fishjam-cloud/web-client-sdk/blob/086057acaac6bb70cf3b439b0b98e1c0f9f80a67/packages/react-client/src/types/public.ts#L75) - -*** - -### stream? - -> `optional` **stream**: `MediaStream` - -Defined in: [react-client/src/types/public.ts:77](https://github.com/fishjam-cloud/web-client-sdk/blob/086057acaac6bb70cf3b439b0b98e1c0f9f80a67/packages/react-client/src/types/public.ts#L77) - -*** - -### trackIds? - -> `optional` **trackIds**: `object` - -Defined in: [react-client/src/types/public.ts:76](https://github.com/fishjam-cloud/web-client-sdk/blob/086057acaac6bb70cf3b439b0b98e1c0f9f80a67/packages/react-client/src/types/public.ts#L76) - -| Name | Type | -| ------ | ------ | -| `audioId?` | `string` | -| `videoId?` | `string` | diff --git a/versioned_docs/version-0.23.0/api/web/type-aliases/DeviceItem.md b/versioned_docs/version-0.23.0/api/web/type-aliases/DeviceItem.md deleted file mode 100644 index 2d59b62c..00000000 --- a/versioned_docs/version-0.23.0/api/web/type-aliases/DeviceItem.md +++ /dev/null @@ -1,21 +0,0 @@ -# Type Alias: DeviceItem - -> **DeviceItem** = `object` - -Defined in: [react-client/src/types/public.ts:46](https://github.com/fishjam-cloud/web-client-sdk/blob/086057acaac6bb70cf3b439b0b98e1c0f9f80a67/packages/react-client/src/types/public.ts#L46) - -## Properties - -### deviceId - -> **deviceId**: `string` - -Defined in: [react-client/src/types/public.ts:46](https://github.com/fishjam-cloud/web-client-sdk/blob/086057acaac6bb70cf3b439b0b98e1c0f9f80a67/packages/react-client/src/types/public.ts#L46) - -*** - -### label - -> **label**: `string` - -Defined in: [react-client/src/types/public.ts:46](https://github.com/fishjam-cloud/web-client-sdk/blob/086057acaac6bb70cf3b439b0b98e1c0f9f80a67/packages/react-client/src/types/public.ts#L46) diff --git a/versioned_docs/version-0.23.0/api/web/type-aliases/InitializeDevicesResult.md b/versioned_docs/version-0.23.0/api/web/type-aliases/InitializeDevicesResult.md deleted file mode 100644 index 3c722196..00000000 --- a/versioned_docs/version-0.23.0/api/web/type-aliases/InitializeDevicesResult.md +++ /dev/null @@ -1,29 +0,0 @@ -# Type Alias: InitializeDevicesResult - -> **InitializeDevicesResult** = `object` - -Defined in: [react-client/src/types/public.ts:5](https://github.com/fishjam-cloud/web-client-sdk/blob/086057acaac6bb70cf3b439b0b98e1c0f9f80a67/packages/react-client/src/types/public.ts#L5) - -## Properties - -### errors - -> **errors**: \{ `audio`: [`DeviceError`](DeviceError.md) \| `null`; `video`: [`DeviceError`](DeviceError.md) \| `null`; \} \| `null` - -Defined in: [react-client/src/types/public.ts:8](https://github.com/fishjam-cloud/web-client-sdk/blob/086057acaac6bb70cf3b439b0b98e1c0f9f80a67/packages/react-client/src/types/public.ts#L8) - -*** - -### status - -> **status**: [`InitializeDevicesStatus`](InitializeDevicesStatus.md) - -Defined in: [react-client/src/types/public.ts:6](https://github.com/fishjam-cloud/web-client-sdk/blob/086057acaac6bb70cf3b439b0b98e1c0f9f80a67/packages/react-client/src/types/public.ts#L6) - -*** - -### stream - -> **stream**: `MediaStream` \| `null` - -Defined in: [react-client/src/types/public.ts:7](https://github.com/fishjam-cloud/web-client-sdk/blob/086057acaac6bb70cf3b439b0b98e1c0f9f80a67/packages/react-client/src/types/public.ts#L7) diff --git a/versioned_docs/version-0.23.0/api/web/type-aliases/InitializeDevicesSettings.md b/versioned_docs/version-0.23.0/api/web/type-aliases/InitializeDevicesSettings.md deleted file mode 100644 index 131bc5f2..00000000 --- a/versioned_docs/version-0.23.0/api/web/type-aliases/InitializeDevicesSettings.md +++ /dev/null @@ -1,21 +0,0 @@ -# Type Alias: InitializeDevicesSettings - -> **InitializeDevicesSettings** = `object` - -Defined in: [react-client/src/hooks/internal/devices/useMediaDevices.ts:14](https://github.com/fishjam-cloud/web-client-sdk/blob/086057acaac6bb70cf3b439b0b98e1c0f9f80a67/packages/react-client/src/hooks/internal/devices/useMediaDevices.ts#L14) - -## Properties - -### enableAudio? - -> `optional` **enableAudio**: `boolean` - -Defined in: [react-client/src/hooks/internal/devices/useMediaDevices.ts:14](https://github.com/fishjam-cloud/web-client-sdk/blob/086057acaac6bb70cf3b439b0b98e1c0f9f80a67/packages/react-client/src/hooks/internal/devices/useMediaDevices.ts#L14) - -*** - -### enableVideo? - -> `optional` **enableVideo**: `boolean` - -Defined in: [react-client/src/hooks/internal/devices/useMediaDevices.ts:14](https://github.com/fishjam-cloud/web-client-sdk/blob/086057acaac6bb70cf3b439b0b98e1c0f9f80a67/packages/react-client/src/hooks/internal/devices/useMediaDevices.ts#L14) diff --git a/versioned_docs/version-0.23.0/api/web/type-aliases/InitializeDevicesStatus.md b/versioned_docs/version-0.23.0/api/web/type-aliases/InitializeDevicesStatus.md deleted file mode 100644 index b7fd7b6a..00000000 --- a/versioned_docs/version-0.23.0/api/web/type-aliases/InitializeDevicesStatus.md +++ /dev/null @@ -1,5 +0,0 @@ -# Type Alias: InitializeDevicesStatus - -> **InitializeDevicesStatus** = `"initialized"` \| `"failed"` \| `"initialized_with_errors"` \| `"already_initialized"` - -Defined in: [react-client/src/types/public.ts:3](https://github.com/fishjam-cloud/web-client-sdk/blob/086057acaac6bb70cf3b439b0b98e1c0f9f80a67/packages/react-client/src/types/public.ts#L3) diff --git a/versioned_docs/version-0.23.0/api/web/type-aliases/MiddlewareResult.md b/versioned_docs/version-0.23.0/api/web/type-aliases/MiddlewareResult.md deleted file mode 100644 index 72715c3a..00000000 --- a/versioned_docs/version-0.23.0/api/web/type-aliases/MiddlewareResult.md +++ /dev/null @@ -1,25 +0,0 @@ -# Type Alias: MiddlewareResult - -> **MiddlewareResult** = `object` - -Defined in: [react-client/src/types/public.ts:23](https://github.com/fishjam-cloud/web-client-sdk/blob/086057acaac6bb70cf3b439b0b98e1c0f9f80a67/packages/react-client/src/types/public.ts#L23) - -## Properties - -### onClear()? - -> `optional` **onClear**: () => `void` - -Defined in: [react-client/src/types/public.ts:23](https://github.com/fishjam-cloud/web-client-sdk/blob/086057acaac6bb70cf3b439b0b98e1c0f9f80a67/packages/react-client/src/types/public.ts#L23) - -#### Returns - -`void` - -*** - -### track - -> **track**: `MediaStreamTrack` - -Defined in: [react-client/src/types/public.ts:23](https://github.com/fishjam-cloud/web-client-sdk/blob/086057acaac6bb70cf3b439b0b98e1c0f9f80a67/packages/react-client/src/types/public.ts#L23) diff --git a/versioned_docs/version-0.23.0/api/web/type-aliases/PeerId.md b/versioned_docs/version-0.23.0/api/web/type-aliases/PeerId.md deleted file mode 100644 index 204a5109..00000000 --- a/versioned_docs/version-0.23.0/api/web/type-aliases/PeerId.md +++ /dev/null @@ -1,5 +0,0 @@ -# Type Alias: PeerId - -> **PeerId** = [`Brand`](Brand.md)\<`string`, `"PeerId"`\> - -Defined in: [react-client/src/types/public.ts:12](https://github.com/fishjam-cloud/web-client-sdk/blob/086057acaac6bb70cf3b439b0b98e1c0f9f80a67/packages/react-client/src/types/public.ts#L12) diff --git a/versioned_docs/version-0.23.0/api/web/type-aliases/PeerWithTracks.md b/versioned_docs/version-0.23.0/api/web/type-aliases/PeerWithTracks.md deleted file mode 100644 index be16142f..00000000 --- a/versioned_docs/version-0.23.0/api/web/type-aliases/PeerWithTracks.md +++ /dev/null @@ -1,84 +0,0 @@ -# Type Alias: PeerWithTracks\ - -> **PeerWithTracks**\<`PeerMetadata`, `ServerMetadata`\> = `object` - -Defined in: [react-client/src/hooks/usePeers.ts:13](https://github.com/fishjam-cloud/web-client-sdk/blob/086057acaac6bb70cf3b439b0b98e1c0f9f80a67/packages/react-client/src/hooks/usePeers.ts#L13) - -## Type Parameters - -| Type Parameter | Description | -| ------ | ------ | -| `PeerMetadata` | Type of metadata set by peer while connecting to a room. | -| `ServerMetadata` | Type of metadata set by the server while creating a peer. | - -## Properties - -### cameraTrack? - -> `optional` **cameraTrack**: [`Track`](Track.md) - -Defined in: [react-client/src/hooks/usePeers.ts:17](https://github.com/fishjam-cloud/web-client-sdk/blob/086057acaac6bb70cf3b439b0b98e1c0f9f80a67/packages/react-client/src/hooks/usePeers.ts#L17) - -*** - -### customAudioTracks - -> **customAudioTracks**: [`Track`](Track.md)[] - -Defined in: [react-client/src/hooks/usePeers.ts:22](https://github.com/fishjam-cloud/web-client-sdk/blob/086057acaac6bb70cf3b439b0b98e1c0f9f80a67/packages/react-client/src/hooks/usePeers.ts#L22) - -*** - -### customVideoTracks - -> **customVideoTracks**: [`Track`](Track.md)[] - -Defined in: [react-client/src/hooks/usePeers.ts:21](https://github.com/fishjam-cloud/web-client-sdk/blob/086057acaac6bb70cf3b439b0b98e1c0f9f80a67/packages/react-client/src/hooks/usePeers.ts#L21) - -*** - -### id - -> **id**: [`PeerId`](PeerId.md) - -Defined in: [react-client/src/hooks/usePeers.ts:14](https://github.com/fishjam-cloud/web-client-sdk/blob/086057acaac6bb70cf3b439b0b98e1c0f9f80a67/packages/react-client/src/hooks/usePeers.ts#L14) - -*** - -### metadata? - -> `optional` **metadata**: [`Metadata`](Metadata.md)\<`PeerMetadata`, `ServerMetadata`\> - -Defined in: [react-client/src/hooks/usePeers.ts:15](https://github.com/fishjam-cloud/web-client-sdk/blob/086057acaac6bb70cf3b439b0b98e1c0f9f80a67/packages/react-client/src/hooks/usePeers.ts#L15) - -*** - -### microphoneTrack? - -> `optional` **microphoneTrack**: [`Track`](Track.md) - -Defined in: [react-client/src/hooks/usePeers.ts:18](https://github.com/fishjam-cloud/web-client-sdk/blob/086057acaac6bb70cf3b439b0b98e1c0f9f80a67/packages/react-client/src/hooks/usePeers.ts#L18) - -*** - -### screenShareAudioTrack? - -> `optional` **screenShareAudioTrack**: [`Track`](Track.md) - -Defined in: [react-client/src/hooks/usePeers.ts:20](https://github.com/fishjam-cloud/web-client-sdk/blob/086057acaac6bb70cf3b439b0b98e1c0f9f80a67/packages/react-client/src/hooks/usePeers.ts#L20) - -*** - -### screenShareVideoTrack? - -> `optional` **screenShareVideoTrack**: [`Track`](Track.md) - -Defined in: [react-client/src/hooks/usePeers.ts:19](https://github.com/fishjam-cloud/web-client-sdk/blob/086057acaac6bb70cf3b439b0b98e1c0f9f80a67/packages/react-client/src/hooks/usePeers.ts#L19) - -*** - -### tracks - -> **tracks**: [`Track`](Track.md)[] - -Defined in: [react-client/src/hooks/usePeers.ts:16](https://github.com/fishjam-cloud/web-client-sdk/blob/086057acaac6bb70cf3b439b0b98e1c0f9f80a67/packages/react-client/src/hooks/usePeers.ts#L16) diff --git a/versioned_docs/version-0.23.0/api/web/type-aliases/PersistLastDeviceHandlers.md b/versioned_docs/version-0.23.0/api/web/type-aliases/PersistLastDeviceHandlers.md deleted file mode 100644 index ede601aa..00000000 --- a/versioned_docs/version-0.23.0/api/web/type-aliases/PersistLastDeviceHandlers.md +++ /dev/null @@ -1,42 +0,0 @@ -# Type Alias: PersistLastDeviceHandlers - -> **PersistLastDeviceHandlers** = `object` - -Defined in: [react-client/src/types/public.ts:48](https://github.com/fishjam-cloud/web-client-sdk/blob/086057acaac6bb70cf3b439b0b98e1c0f9f80a67/packages/react-client/src/types/public.ts#L48) - -## Properties - -### getLastDevice() - -> **getLastDevice**: (`deviceType`) => `MediaDeviceInfo` \| `null` - -Defined in: [react-client/src/types/public.ts:49](https://github.com/fishjam-cloud/web-client-sdk/blob/086057acaac6bb70cf3b439b0b98e1c0f9f80a67/packages/react-client/src/types/public.ts#L49) - -#### Parameters - -| Parameter | Type | -| ------ | ------ | -| `deviceType` | `"audio"` \| `"video"` | - -#### Returns - -`MediaDeviceInfo` \| `null` - -*** - -### saveLastDevice() - -> **saveLastDevice**: (`info`, `deviceType`) => `void` - -Defined in: [react-client/src/types/public.ts:50](https://github.com/fishjam-cloud/web-client-sdk/blob/086057acaac6bb70cf3b439b0b98e1c0f9f80a67/packages/react-client/src/types/public.ts#L50) - -#### Parameters - -| Parameter | Type | -| ------ | ------ | -| `info` | `MediaDeviceInfo` | -| `deviceType` | `"audio"` \| `"video"` | - -#### Returns - -`void` diff --git a/versioned_docs/version-0.23.0/api/web/type-aliases/RoomType.md b/versioned_docs/version-0.23.0/api/web/type-aliases/RoomType.md deleted file mode 100644 index f78369d0..00000000 --- a/versioned_docs/version-0.23.0/api/web/type-aliases/RoomType.md +++ /dev/null @@ -1,5 +0,0 @@ -# Type Alias: RoomType - -> **RoomType** = `"conference"` \| `"livestream"` \| `"audio_only"` - -Defined in: [react-client/src/hooks/useSandbox.ts:17](https://github.com/fishjam-cloud/web-client-sdk/blob/086057acaac6bb70cf3b439b0b98e1c0f9f80a67/packages/react-client/src/hooks/useSandbox.ts#L17) diff --git a/versioned_docs/version-0.23.0/api/web/type-aliases/SimulcastBandwidthLimits.md b/versioned_docs/version-0.23.0/api/web/type-aliases/SimulcastBandwidthLimits.md deleted file mode 100644 index 35d39522..00000000 --- a/versioned_docs/version-0.23.0/api/web/type-aliases/SimulcastBandwidthLimits.md +++ /dev/null @@ -1,29 +0,0 @@ -# Type Alias: SimulcastBandwidthLimits - -> **SimulcastBandwidthLimits** = `object` - -Defined in: [react-client/src/types/public.ts:53](https://github.com/fishjam-cloud/web-client-sdk/blob/086057acaac6bb70cf3b439b0b98e1c0f9f80a67/packages/react-client/src/types/public.ts#L53) - -## Properties - -### 1 - -> **1**: `number` - -Defined in: [react-client/src/types/public.ts:54](https://github.com/fishjam-cloud/web-client-sdk/blob/086057acaac6bb70cf3b439b0b98e1c0f9f80a67/packages/react-client/src/types/public.ts#L54) - -*** - -### 2 - -> **2**: `number` - -Defined in: [react-client/src/types/public.ts:55](https://github.com/fishjam-cloud/web-client-sdk/blob/086057acaac6bb70cf3b439b0b98e1c0f9f80a67/packages/react-client/src/types/public.ts#L55) - -*** - -### 3 - -> **3**: `number` - -Defined in: [react-client/src/types/public.ts:56](https://github.com/fishjam-cloud/web-client-sdk/blob/086057acaac6bb70cf3b439b0b98e1c0f9f80a67/packages/react-client/src/types/public.ts#L56) diff --git a/versioned_docs/version-0.23.0/api/web/type-aliases/StreamConfig.md b/versioned_docs/version-0.23.0/api/web/type-aliases/StreamConfig.md deleted file mode 100644 index 8ab5b9e5..00000000 --- a/versioned_docs/version-0.23.0/api/web/type-aliases/StreamConfig.md +++ /dev/null @@ -1,13 +0,0 @@ -# Type Alias: StreamConfig - -> **StreamConfig** = `object` - -Defined in: [react-client/src/types/public.ts:59](https://github.com/fishjam-cloud/web-client-sdk/blob/086057acaac6bb70cf3b439b0b98e1c0f9f80a67/packages/react-client/src/types/public.ts#L59) - -## Properties - -### simulcast? - -> `optional` **simulcast**: [`Variant`](../enumerations/Variant.md)[] \| `false` - -Defined in: [react-client/src/types/public.ts:59](https://github.com/fishjam-cloud/web-client-sdk/blob/086057acaac6bb70cf3b439b0b98e1c0f9f80a67/packages/react-client/src/types/public.ts#L59) diff --git a/versioned_docs/version-0.23.0/api/web/type-aliases/Track.md b/versioned_docs/version-0.23.0/api/web/type-aliases/Track.md deleted file mode 100644 index a4f1bc32..00000000 --- a/versioned_docs/version-0.23.0/api/web/type-aliases/Track.md +++ /dev/null @@ -1,53 +0,0 @@ -# Type Alias: Track - -> **Track** = `object` - -Defined in: [react-client/src/types/public.ts:14](https://github.com/fishjam-cloud/web-client-sdk/blob/086057acaac6bb70cf3b439b0b98e1c0f9f80a67/packages/react-client/src/types/public.ts#L14) - -## Properties - -### encoding - -> **encoding**: [`Variant`](../enumerations/Variant.md) \| `null` - -Defined in: [react-client/src/types/public.ts:16](https://github.com/fishjam-cloud/web-client-sdk/blob/086057acaac6bb70cf3b439b0b98e1c0f9f80a67/packages/react-client/src/types/public.ts#L16) - -*** - -### metadata? - -> `optional` **metadata**: `TrackMetadata` - -Defined in: [react-client/src/types/public.ts:18](https://github.com/fishjam-cloud/web-client-sdk/blob/086057acaac6bb70cf3b439b0b98e1c0f9f80a67/packages/react-client/src/types/public.ts#L18) - -*** - -### simulcastConfig - -> **simulcastConfig**: [`SimulcastConfig`](../interfaces/SimulcastConfig.md) \| `null` - -Defined in: [react-client/src/types/public.ts:19](https://github.com/fishjam-cloud/web-client-sdk/blob/086057acaac6bb70cf3b439b0b98e1c0f9f80a67/packages/react-client/src/types/public.ts#L19) - -*** - -### stream - -> **stream**: `MediaStream` \| `null` - -Defined in: [react-client/src/types/public.ts:15](https://github.com/fishjam-cloud/web-client-sdk/blob/086057acaac6bb70cf3b439b0b98e1c0f9f80a67/packages/react-client/src/types/public.ts#L15) - -*** - -### track - -> **track**: `MediaStreamTrack` \| `null` - -Defined in: [react-client/src/types/public.ts:20](https://github.com/fishjam-cloud/web-client-sdk/blob/086057acaac6bb70cf3b439b0b98e1c0f9f80a67/packages/react-client/src/types/public.ts#L20) - -*** - -### trackId - -> **trackId**: [`TrackId`](TrackId.md) - -Defined in: [react-client/src/types/public.ts:17](https://github.com/fishjam-cloud/web-client-sdk/blob/086057acaac6bb70cf3b439b0b98e1c0f9f80a67/packages/react-client/src/types/public.ts#L17) diff --git a/versioned_docs/version-0.23.0/api/web/type-aliases/TrackId.md b/versioned_docs/version-0.23.0/api/web/type-aliases/TrackId.md deleted file mode 100644 index 9f82b78d..00000000 --- a/versioned_docs/version-0.23.0/api/web/type-aliases/TrackId.md +++ /dev/null @@ -1,5 +0,0 @@ -# Type Alias: TrackId - -> **TrackId** = [`Brand`](Brand.md)\<`string`, `"TrackId"`\> - -Defined in: [react-client/src/types/public.ts:11](https://github.com/fishjam-cloud/web-client-sdk/blob/086057acaac6bb70cf3b439b0b98e1c0f9f80a67/packages/react-client/src/types/public.ts#L11) diff --git a/versioned_docs/version-0.23.0/api/web/type-aliases/TrackMiddleware.md b/versioned_docs/version-0.23.0/api/web/type-aliases/TrackMiddleware.md deleted file mode 100644 index f35ddcf6..00000000 --- a/versioned_docs/version-0.23.0/api/web/type-aliases/TrackMiddleware.md +++ /dev/null @@ -1,5 +0,0 @@ -# Type Alias: TrackMiddleware - -> **TrackMiddleware** = (`track`) => [`MiddlewareResult`](MiddlewareResult.md) \| `Promise`\<[`MiddlewareResult`](MiddlewareResult.md)\> \| `null` - -Defined in: [react-client/src/types/public.ts:24](https://github.com/fishjam-cloud/web-client-sdk/blob/086057acaac6bb70cf3b439b0b98e1c0f9f80a67/packages/react-client/src/types/public.ts#L24) diff --git a/versioned_docs/version-0.23.0/api/web/type-aliases/TracksMiddlewareResult.md b/versioned_docs/version-0.23.0/api/web/type-aliases/TracksMiddlewareResult.md deleted file mode 100644 index 3142cc30..00000000 --- a/versioned_docs/version-0.23.0/api/web/type-aliases/TracksMiddlewareResult.md +++ /dev/null @@ -1,33 +0,0 @@ -# Type Alias: TracksMiddlewareResult - -> **TracksMiddlewareResult** = `object` - -Defined in: [react-client/src/types/public.ts:26](https://github.com/fishjam-cloud/web-client-sdk/blob/086057acaac6bb70cf3b439b0b98e1c0f9f80a67/packages/react-client/src/types/public.ts#L26) - -## Properties - -### audioTrack - -> **audioTrack**: `MediaStreamTrack` \| `null` - -Defined in: [react-client/src/types/public.ts:28](https://github.com/fishjam-cloud/web-client-sdk/blob/086057acaac6bb70cf3b439b0b98e1c0f9f80a67/packages/react-client/src/types/public.ts#L28) - -*** - -### onClear() - -> **onClear**: () => `void` - -Defined in: [react-client/src/types/public.ts:29](https://github.com/fishjam-cloud/web-client-sdk/blob/086057acaac6bb70cf3b439b0b98e1c0f9f80a67/packages/react-client/src/types/public.ts#L29) - -#### Returns - -`void` - -*** - -### videoTrack - -> **videoTrack**: `MediaStreamTrack` - -Defined in: [react-client/src/types/public.ts:27](https://github.com/fishjam-cloud/web-client-sdk/blob/086057acaac6bb70cf3b439b0b98e1c0f9f80a67/packages/react-client/src/types/public.ts#L27) diff --git a/versioned_docs/version-0.23.0/api/web/type-aliases/UseSandboxProps.md b/versioned_docs/version-0.23.0/api/web/type-aliases/UseSandboxProps.md deleted file mode 100644 index c1069a98..00000000 --- a/versioned_docs/version-0.23.0/api/web/type-aliases/UseSandboxProps.md +++ /dev/null @@ -1,17 +0,0 @@ -# Type Alias: UseSandboxProps - -> **UseSandboxProps** = `object` - -Defined in: [react-client/src/hooks/useSandbox.ts:12](https://github.com/fishjam-cloud/web-client-sdk/blob/086057acaac6bb70cf3b439b0b98e1c0f9f80a67/packages/react-client/src/hooks/useSandbox.ts#L12) - -## Properties - -### configOverride? - -> `optional` **configOverride**: `object` - -Defined in: [react-client/src/hooks/useSandbox.ts:14](https://github.com/fishjam-cloud/web-client-sdk/blob/086057acaac6bb70cf3b439b0b98e1c0f9f80a67/packages/react-client/src/hooks/useSandbox.ts#L14) - -| Name | Type | -| ------ | ------ | -| `sandboxApiUrl?` | `string` | diff --git a/versioned_docs/version-0.23.0/api/web/typedoc-sidebar.cjs b/versioned_docs/version-0.23.0/api/web/typedoc-sidebar.cjs deleted file mode 100644 index 3f4a788e..00000000 --- a/versioned_docs/version-0.23.0/api/web/typedoc-sidebar.cjs +++ /dev/null @@ -1,4 +0,0 @@ -// @ts-check -/** @type {import("@docusaurus/plugin-content-docs").SidebarsConfig} */ -const typedocSidebar = {items:[{type:"category",label:"Connection",items:[{type:"doc",id:"api/web/functions/useConnection",label:"useConnection"},{type:"doc",id:"api/web/functions/usePeers",label:"usePeers"},{type:"doc",id:"api/web/functions/useUpdatePeerMetadata",label:"useUpdatePeerMetadata"},{type:"doc",id:"api/web/functions/useVAD",label:"useVAD"},{type:"doc",id:"api/web/type-aliases/Metadata",label:"Metadata"}]},{type:"category",label:"Devices",items:[{type:"doc",id:"api/web/functions/useCamera",label:"useCamera"},{type:"doc",id:"api/web/functions/useInitializeDevices",label:"useInitializeDevices"},{type:"doc",id:"api/web/functions/useMicrophone",label:"useMicrophone"},{type:"doc",id:"api/web/functions/useScreenShare",label:"useScreenShare"}]},{type:"category",label:"Components",items:[{type:"doc",id:"api/web/functions/FishjamProvider",label:"FishjamProvider"},{type:"doc",id:"api/web/interfaces/FishjamProviderProps",label:"FishjamProviderProps"}]},{type:"category",label:"Livestream",items:[{type:"doc",id:"api/web/functions/useLivestreamStreamer",label:"useLivestreamStreamer"},{type:"doc",id:"api/web/functions/useLivestreamViewer",label:"useLivestreamViewer"},{type:"doc",id:"api/web/interfaces/UseLivestreamStreamerResult",label:"UseLivestreamStreamerResult"},{type:"doc",id:"api/web/interfaces/UseLivestreamViewerResult",label:"UseLivestreamViewerResult"},{type:"doc",id:"api/web/type-aliases/ConnectStreamerConfig",label:"ConnectStreamerConfig"},{type:"doc",id:"api/web/type-aliases/StreamerInputs",label:"StreamerInputs"}]},{type:"category",label:"Other",items:[{type:"doc",id:"api/web/functions/useCustomSource",label:"useCustomSource"},{type:"doc",id:"api/web/functions/useSandbox",label:"useSandbox"},{type:"doc",id:"api/web/enumerations/Variant",label:"Variant"},{type:"doc",id:"api/web/interfaces/JoinRoomConfig",label:"JoinRoomConfig"},{type:"doc",id:"api/web/interfaces/SimulcastConfig",label:"SimulcastConfig"},{type:"doc",id:"api/web/type-aliases/AuthErrorReason",label:"AuthErrorReason"},{type:"doc",id:"api/web/type-aliases/BandwidthLimits",label:"BandwidthLimits"},{type:"doc",id:"api/web/type-aliases/Brand",label:"Brand"},{type:"doc",id:"api/web/type-aliases/ConnectViewerConfig",label:"ConnectViewerConfig"},{type:"doc",id:"api/web/type-aliases/CustomSource",label:"CustomSource"},{type:"doc",id:"api/web/type-aliases/DeviceError",label:"DeviceError"},{type:"doc",id:"api/web/type-aliases/DeviceItem",label:"DeviceItem"},{type:"doc",id:"api/web/type-aliases/InitializeDevicesResult",label:"InitializeDevicesResult"},{type:"doc",id:"api/web/type-aliases/InitializeDevicesSettings",label:"InitializeDevicesSettings"},{type:"doc",id:"api/web/type-aliases/InitializeDevicesStatus",label:"InitializeDevicesStatus"},{type:"doc",id:"api/web/type-aliases/JoinErrorReason",label:"JoinErrorReason"},{type:"doc",id:"api/web/type-aliases/MiddlewareResult",label:"MiddlewareResult"},{type:"doc",id:"api/web/type-aliases/PeerId",label:"PeerId"},{type:"doc",id:"api/web/type-aliases/PeerStatus",label:"PeerStatus"},{type:"doc",id:"api/web/type-aliases/PeerWithTracks",label:"PeerWithTracks"},{type:"doc",id:"api/web/type-aliases/PersistLastDeviceHandlers",label:"PersistLastDeviceHandlers"},{type:"doc",id:"api/web/type-aliases/ReconnectConfig",label:"ReconnectConfig"},{type:"doc",id:"api/web/type-aliases/ReconnectionStatus",label:"ReconnectionStatus"},{type:"doc",id:"api/web/type-aliases/RoomType",label:"RoomType"},{type:"doc",id:"api/web/type-aliases/SimulcastBandwidthLimit",label:"SimulcastBandwidthLimit"},{type:"doc",id:"api/web/type-aliases/SimulcastBandwidthLimits",label:"SimulcastBandwidthLimits"},{type:"doc",id:"api/web/type-aliases/StreamConfig",label:"StreamConfig"},{type:"doc",id:"api/web/type-aliases/Track",label:"Track"},{type:"doc",id:"api/web/type-aliases/TrackBandwidthLimit",label:"TrackBandwidthLimit"},{type:"doc",id:"api/web/type-aliases/TrackId",label:"TrackId"},{type:"doc",id:"api/web/type-aliases/TrackMiddleware",label:"TrackMiddleware"},{type:"doc",id:"api/web/type-aliases/TracksMiddleware",label:"TracksMiddleware"},{type:"doc",id:"api/web/type-aliases/TracksMiddlewareResult",label:"TracksMiddlewareResult"},{type:"doc",id:"api/web/type-aliases/UseInitializeDevicesParams",label:"UseInitializeDevicesParams"},{type:"doc",id:"api/web/type-aliases/UseSandboxProps",label:"UseSandboxProps"},{type:"doc",id:"api/web/variables/SimulcastConfig",label:"SimulcastConfig"}]}]}; -module.exports = typedocSidebar.items; \ No newline at end of file diff --git a/versioned_docs/version-0.23.0/how-to/features/_category_.json b/versioned_docs/version-0.23.0/how-to/features/_category_.json deleted file mode 100644 index 4aaeb074..00000000 --- a/versioned_docs/version-0.23.0/how-to/features/_category_.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "label": "Features", - "position": 3 -} diff --git a/versioned_docs/version-0.23.0/how-to/react-native/_category_.json b/versioned_docs/version-0.23.0/how-to/react-native/_category_.json deleted file mode 100644 index 1fd79841..00000000 --- a/versioned_docs/version-0.23.0/how-to/react-native/_category_.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "label": "React Native", - "position": 1 -} diff --git a/versioned_docs/version-0.23.0/how-to/react-native/_components/configure-permissions.mdx b/versioned_docs/version-0.23.0/how-to/react-native/_components/configure-permissions.mdx deleted file mode 100644 index bd5debcc..00000000 --- a/versioned_docs/version-0.23.0/how-to/react-native/_components/configure-permissions.mdx +++ /dev/null @@ -1,91 +0,0 @@ -import Tabs from "@theme/Tabs"; -import TabItem from "@theme/TabItem"; - -Your app needs to have permissions configured in order to use the microphone and camera. - -### Android - -Permissions below are required to stream audio and video with Fishjam on Android. - -- `android.permission.CAMERA` -- `android.permission.RECORD_AUDIO` -- `android.permission.MODIFY_AUDIO_SETTINGS` - - - - - -Add required permissions to the `app.json` file. - -```json title='app.json' -{ - "expo": { - ... - "android": { - ... - "permissions": [ - "android.permission.CAMERA", - "android.permission.RECORD_AUDIO", - "android.permission.MODIFY_AUDIO_SETTINGS" - ] - } - } -} -``` - - - - -Add required permissions to the `AndroidManifest.xml` file. - -```xml title='AndroidManifest.xml' - - ... - - - - ... - -``` - - - - -### iOS - - - - - -You don't have to make any changes to run app on iOS. -To update default content of permission alert, you can add these settings to `app.json`: - -```json title='app.json' -{ - "expo": { - ... - "ios": { - ... - "infoPlist": { - "NSCameraUsageDescription": "Allow $(PRODUCT_NAME) to access your camera.", - "NSMicrophoneUsageDescription": "Allow $(PRODUCT_NAME) to access your microphone." - } - }, - } -} -``` - - - - -Ensure `Info.plist` contains camera and microphone usage description entries: - -```xml title='Info.plist' - NSCameraUsageDescription - Allow $(PRODUCT_NAME) to access your camera. - NSMicrophoneUsageDescription - Allow $(PRODUCT_NAME) to access your microphone. -``` - - - diff --git a/versioned_docs/version-0.23.0/how-to/react-native/_components/install-package.mdx b/versioned_docs/version-0.23.0/how-to/react-native/_components/install-package.mdx deleted file mode 100644 index 356da871..00000000 --- a/versioned_docs/version-0.23.0/how-to/react-native/_components/install-package.mdx +++ /dev/null @@ -1,27 +0,0 @@ -import Tabs from "@theme/Tabs"; -import TabItem from "@theme/TabItem"; - - - - -```bash npm2yarn -npm install @fishjam-cloud/react-native-client -``` - - - - - -### Install Expo dependencies - -Follow instructions from official [Expo documentation](https://docs.expo.dev/bare/installing-expo-modules/). - -### Install Fishjam - - ```sh - npx expo install @fishjam-cloud/react-native-client - ``` - - - - diff --git a/versioned_docs/version-0.23.0/how-to/react-native/connecting.mdx b/versioned_docs/version-0.23.0/how-to/react-native/connecting.mdx deleted file mode 100644 index e8d6481a..00000000 --- a/versioned_docs/version-0.23.0/how-to/react-native/connecting.mdx +++ /dev/null @@ -1,101 +0,0 @@ ---- -sidebar_position: 2 ---- - -import Tabs from "@theme/Tabs"; -import TabItem from "@theme/TabItem"; - -# Connecting - -This article will guide you through the process of connecting to a Fishjam room. - -## Getting URL and token - -In order to connect, you need to obtain a **Peer Token** (the token that will authenticate the peer in -your Room). - - - - - -Once you create your account on [Fishjam](https://fishjam.io), you will have access to the Sandbox environment as part of the Mini Jar plan. -While using the Sandbox environment, [you can use the Sandbox API](../../how-to/features/sandbox-api-testing) to generate peer tokens for testing or development purposes. -This is basically a service that will create a Room, add your app as -the Room's Peer, and return the token required to use that Room. - -```ts -import { useSandbox } from "@fishjam-cloud/react-native-client"; -const SANDBOX_FISHJAM_ID = "..."; -const roomName = "room"; -const peerName = "user"; -// ---cut--- - -// The `useSandbox` hook will work ONLY with the FISHJAM_ID of the Sandbox environment -const { getSandboxPeerToken } = useSandbox({ fishjamId: SANDBOX_FISHJAM_ID }); -const peerToken = await getSandboxPeerToken(roomName, peerName); -``` - - - - -For the production app, you need to implement your own backend service that will provide the user with a **Peer Token**. To do that, -follow our [server setup instructions](../../how-to/backend/server-setup). - - - - -## Connecting - -In order to connect, call [`joinRoom`](../../api/mobile/functions/useConnection#joinroom) method with the `peerToken` and the fishjam ID: - -```tsx -import React, { useCallback } from "react"; -import { Button } from "react-native"; -import { useConnection, useSandbox } from "@fishjam-cloud/react-native-client"; - -// Check https://fishjam.io/app/ for your Fishjam ID -const FISHJAM_ID = "..."; - -export function JoinRoomButton() { - const { joinRoom } = useConnection(); // [!code highlight] - const { getSandboxPeerToken } = useSandbox({ fishjamId: FISHJAM_ID }); - - const onPressJoin = useCallback(async () => { - // in production environment, get the peerToken from your backend - const peerToken = await getSandboxPeerToken("Room", "User"); - - await joinRoom({ fishjamId: FISHJAM_ID, peerToken }); // [!code highlight] - }, [joinRoom]); - - return ; -} -``` - -## Disconnecting - -In order to close connection, use the [`leaveRoom`](../../api/web/functions/useConnection#leaveroom) method -from [`useConnection`](../../api/web/functions/useConnection) hook. - -```tsx -import { useConnection } from "@fishjam-cloud/react-client"; -import React, { useCallback } from "react"; - -export function LeaveRoomButton() { - const { leaveRoom } = useConnection(); // [!code highlight] - - return ; -} -``` diff --git a/versioned_docs/version-0.23.0/how-to/react/installation.mdx b/versioned_docs/version-0.23.0/how-to/react/installation.mdx deleted file mode 100644 index ce903bb7..00000000 --- a/versioned_docs/version-0.23.0/how-to/react/installation.mdx +++ /dev/null @@ -1,49 +0,0 @@ ---- -sidebar_position: 1 ---- - -import Tabs from "@theme/Tabs"; -import TabItem from "@theme/TabItem"; - -# Installation - -## 1. Install the package - -```bash npm2yarn -npm install @fishjam-cloud/react-client -``` - -## 2. Setup Fishjam context - -Wrap your app in our [`FishjamProvider`](../../api/web/functions/FishjamProvider) component. Get your Fishjam ID from [Fishjam Dashboard](https://fishjam.io/app) and pass it to the provider. - -```tsx -const App = () => { - return
Hello world
; -}; - -// ---cut--- -import React from "react"; -import ReactDOM from "react-dom/client"; -// import App from "./App"; -import { FishjamProvider } from "@fishjam-cloud/react-client"; - -// Check https://fishjam.io/app/ for your Fishjam ID -const FISHJAM_ID = "your-fishjam-id"; - -ReactDOM.createRoot(document.getElementById("root")!).render( - // [!code highlight:5] - - - - - , -); -``` - -:::tip - -It's possible to have many independent Fishjam contexts in one app. -Just render many [`FishjamProvider`](../../api/web/functions/FishjamProvider) components and make sure they don't overlap. - -::: diff --git a/versioned_docs/version-0.23.0/how-to/react/list-other-peers.mdx b/versioned_docs/version-0.23.0/how-to/react/list-other-peers.mdx deleted file mode 100644 index ad5536df..00000000 --- a/versioned_docs/version-0.23.0/how-to/react/list-other-peers.mdx +++ /dev/null @@ -1,38 +0,0 @@ ---- -sidebar_position: 5 ---- - -# Display media of other peers - -To access data and media of other peers, use the [`usePeers`](../../api/web/functions/usePeers) hook. -It returns two properties, [`remotePeers`](../../api/web/functions/usePeers) and [`localPeer`](../../api/web/functions/usePeers). -They contain all the tracks of other peers and all the tracks of the local user, respectively. - -### Example of playing other peers' available media - -```tsx -import React, { FC } from "react"; - -const VideoRenderer: FC<{ stream?: MediaStream | null }> = (_) =>