Skip to content

Commit bf0a776

Browse files
committed
fix broken links (i guess?)
1 parent bcce4fe commit bf0a776

File tree

22 files changed

+48
-34
lines changed

22 files changed

+48
-34
lines changed

api/fishjam-server

docs/examples/react-native.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,4 +178,4 @@ Browse the full source: [video-player on GitHub](https://github.com/fishjam-clou
178178
- Follow the [React Native Quick Start](../tutorials/react-native-quick-start) if you haven't set up a project yet
179179
- Learn how to [handle screen sharing](../how-to/client/screensharing)
180180
- Learn how to [implement background streaming](../how-to/client/background-streaming)
181-
- Learn how to [work with data channels](../how-to/client/data-channels)
181+
- Learn how to [work with data channels](../explanation/data-channels)

docs/examples/react.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,5 +189,5 @@ Browse the full source: [fishjam-chat on GitHub](https://github.com/fishjam-clou
189189
## Next steps
190190

191191
- Follow the [React Quick Start](../tutorials/react-quick-start) if you haven't set up a project yet
192-
- Learn how to [work with data channels](../how-to/client/data-channels)
192+
- Learn how to [work with data channels](../explanation/data-channels)
193193
- Learn how to [implement screen sharing](../how-to/client/screensharing)

docs/how-to/client/background-streaming.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ On iOS, background calls are achieved through CallKit integration. You can use t
140140

141141
### Manual CallKit Management
142142

143-
Use the [`useCallKit`](../../api/mobile/variables/useCallKit) hook for fine-grained control over CallKit sessions:
143+
Use the `useCallKit` hook for fine-grained control over CallKit sessions:
144144

145145
```tsx
146146
import { useCallKit } from "@fishjam-cloud/react-native-client";
@@ -165,7 +165,7 @@ const handleLeaveRoom = async () => {
165165

166166
### Automatic CallKit Management
167167

168-
Use the [`useCallKitService`](../../api/mobile/variables/useCallKitService) hook for automatic session lifecycle management:
168+
Use the `useCallKitService` hook for automatic session lifecycle management:
169169

170170
```tsx
171171
import React from "react";
@@ -186,7 +186,7 @@ function CallScreen({ username }: { username: string }) {
186186

187187
### Listening to CallKit Events
188188

189-
Use the [`useCallKitEvent`](../../api/mobile/variables/useCallKitEvent) hook to respond to user interactions with the native CallKit interface:
189+
Use the `useCallKitEvent` hook to respond to user interactions with the native CallKit interface:
190190

191191
```tsx
192192
import {

docs/how-to/client/managing-devices.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ export function CameraControl() {
4646
</TabItem>
4747
<TabItem value="mobile" label="React Native (Mobile)">
4848

49-
To select the desired camera, use the [`selectCamera`](../../api/mobile/functions/useCamera#selectcamera) method.
50-
The list of the available camera devices is available via the [`cameraDevices`](../../api/mobile/functions/useCamera#cameradevices).
49+
To select the desired camera, use the `selectCamera` method.
50+
The list of the available camera devices is available via `cameraDevices`.
5151

5252
```tsx
5353
import React, { useCallback, useState } from "react";
@@ -103,7 +103,7 @@ export function CameraControl() {
103103
</TabItem>
104104
<TabItem value="mobile" label="React Native (Mobile)">
105105

106-
You can use [`toggleCamera`](../../api/mobile/functions/useCamera#togglecamera) to toggle the camera state, or use [`startCamera`](../../api/mobile/functions/useCamera#startcamera) and [`stopCamera`](../../api/mobile/functions/useCamera#stopcamera) for more explicit control.
106+
You can use `toggleCamera` to toggle the camera state, or use `startCamera` and `stopCamera` for more explicit control.
107107

108108
#### Using toggleCamera
109109

docs/how-to/client/screensharing.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ You can use [`useScreenShare`](../../api/mobile/variables/useScreenShare) hook t
218218

219219
:::tip[Permissions]
220220

221-
Permission request is handled for you as soon as you call [`startStreaming`](../../api/mobile/variables/useScreenShare#startstreaming).
221+
Permission request is handled for you as soon as you call `startStreaming`.
222222

223223
:::
224224

@@ -228,8 +228,8 @@ On Android API level >= 24, you must use a foreground service when screen sharin
228228

229229
:::
230230

231-
You can enable/disable screen sharing with [`startStreaming`](../../api/mobile/variables/useScreenShare#startstreaming) and [`stopStreaming`](../../api/mobile/variables/useScreenShare#stopstreaming) methods.
232-
And check current state by checking if [`stream`](../../api/mobile/variables/useScreenShare#stream) exists.
231+
You can enable/disable screen sharing with `startStreaming` and `stopStreaming` methods.
232+
And check current state by checking if `stream` exists.
233233

234234
```tsx
235235
import React, { useCallback } from "react";

docs/how-to/client/start-streaming.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ export function ExampleCameraPreview() {
9898
</TabItem>
9999
<TabItem value="mobile" label="React Native (Mobile)">
100100

101-
To manage users' camera and microphone devices, use the respective [`useCamera`](../../api/mobile/functions/useCamera) and [`useMicrophone`](../../api/mobile/variables/useMicrophone) hooks. Both of them have similar API. To keep things simple, we will just use the camera hook.
101+
To manage users' camera and microphone devices, use the respective [`useCamera`](../../api/mobile/variables/useCamera) and [`useMicrophone`](../../api/mobile/variables/useMicrophone) hooks. Both of them have similar API. To keep things simple, we will just use the camera hook.
102102

103103
You can preview your camera stream using the `RTCView` component.
104104

docs/how-to/features/text-chat.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ This guide shows how to implement text chat in your application using data chann
1616
Before implementing text chat, you must be [connected to a room](../client/connecting). Data channels only work after you have successfully joined a room.
1717

1818
:::tip
19-
For a deeper understanding of how data channels work, including channel types and broadcast behavior, see [Data Channels](../explanation/data-channels).
19+
For a deeper understanding of how data channels work, including channel types and broadcast behavior, see [Data Channels](../../explanation/data-channels).
2020
:::
2121

2222
---
2323

2424
## Step 1 — Set up the chat hook
2525

26-
Use the [`useDataChannel`](/api/web/functions/useDataChannel) (web) or [`useDataChannel`](/api/mobile/functions/useDataChannel) (mobile) hook to work with data channels. The typical flow is:
26+
Use the [`useDataChannel`](../../api/web/functions/useDataChannel) (web) or [`useDataChannel`](../../api/mobile/functions/useDataChannel) (mobile) hook to work with data channels. The typical flow is:
2727

2828
1. Initialize the data channel after connecting to a room
2929
2. Subscribe to incoming messages

docs/tutorials/livestreaming.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ We can now start sending media, which we can obtain from the user's camera, scre
205205
If you want to continue screen sharing when the app goes to the background, you need to:
206206

207207
1. Enable VoIP background mode by setting `enableVoIPBackgroundMode: true` in the plugin configuration or adding the VoIP background mode to your `Info.plist`
208-
2. Use the [`useCallKitService`](../../api/mobile/variables/useCallKitService) hook in your component to manage the CallKit session
208+
2. Use the `useCallKitService` hook in your component to manage the CallKit session
209209

210210
See the [background calls documentation](../how-to/client/background-streaming) for detailed instructions and code examples.
211211

0 commit comments

Comments
 (0)