You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
notificationContent: "Tap to return to the call.",
128
+
enableCamera: isCameraOn,
129
+
enableMicrophone: isMicrophoneOn,
130
+
// enableScreenSharing: true,
131
+
});
103
132
```
104
133
105
134
</TabItem>
106
135
<TabItemvalue="ios"label="iOS">
107
136
108
-
On iOS, background calls are achieved through CallKit integration. To enable background streaming on iOS:
137
+
On iOS, background calls are achieved through CallKit integration. You can use the CallKit hooks to manage VoIP calls that continue running in the background.
109
138
110
-
1. Enable VoIP background mode by setting `enableVoIPBackgroundMode: true` in the plugin configuration or adding the VoIP background mode to your `Info.plist`
111
-
2. The SDK will automatically handle CallKit integration for maintaining background audio/video sessions
139
+
### Manual CallKit Management
112
140
113
-
:::note
114
-
CallKit integration is handled automatically by the SDK when VoIP background mode is enabled. The call will appear in the iOS call history and can be managed through the native phone interface.
115
-
:::
141
+
Use the [`useCallKit`](../../api/mobile/variables/useCallKit) hook for fine-grained control over CallKit sessions:
Permissions are now handled automatically by the SDK. When you call initializeDevices(), the SDK will automatically request camera and microphone permissions if they haven't been granted yet.
CallKit integration is now handled automatically by the SDK when VoIP background mode is enabled. You no longer need to manually manage CallKit sessions.
Copy file name to clipboardExpand all lines: docs/how-to/client/screensharing.mdx
-8Lines changed: 0 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -210,14 +210,6 @@ Configuring screen sharing on iOS is a little complicated.
210
210
</TabItem>
211
211
</Tabs>
212
212
213
-
:::tip[Background streaming during screen sharing]
214
-
215
-
If you want to continue screen sharing when the app goes to the background, you need to enable VoIP background mode by setting `enableVoIPBackgroundMode: true` in the plugin configuration or adding the VoIP background mode to your `Info.plist`.
216
-
217
-
See the [background calls documentation](./background-streaming) for detailed instructions and code examples.
218
-
219
-
:::
220
-
221
213
## Usage
222
214
223
215
You can use [`useScreenShare`](../../api/mobile/variables/useScreenShare) hook to enable screen sharing.
0 commit comments