Note about iOS screen sharing in README (#145)
This commit is contained in:
@@ -35,7 +35,6 @@ We built a multi-user conferencing app as an example in the [example/](example/)
|
|||||||
Include this package to your `pubspec.yaml`
|
Include this package to your `pubspec.yaml`
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
|
|
||||||
---
|
---
|
||||||
dependencies:
|
dependencies:
|
||||||
livekit_client: <version>
|
livekit_client: <version>
|
||||||
@@ -123,10 +122,14 @@ await room.localParticipant.setMicrophoneEnabled(true);
|
|||||||
|
|
||||||
### Screen sharing
|
### Screen sharing
|
||||||
|
|
||||||
|
Screen sharing is supported across all platforms. You can enable it with:
|
||||||
|
|
||||||
```dart
|
```dart
|
||||||
room.localParticipant.setScreenShareEnabled(true);
|
room.localParticipant.setScreenShareEnabled(true);
|
||||||
```
|
```
|
||||||
|
|
||||||
|
#### Android
|
||||||
|
|
||||||
On Android, you would have to define a foreground service in your AndroidManifest.xml.
|
On Android, you would have to define a foreground service in your AndroidManifest.xml.
|
||||||
|
|
||||||
```xml title="AndroidManifest.xml"
|
```xml title="AndroidManifest.xml"
|
||||||
@@ -142,6 +145,11 @@ On Android, you would have to define a foreground service in your AndroidManifes
|
|||||||
</manifest>
|
</manifest>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
#### iOS
|
||||||
|
|
||||||
|
On iOS, a broadcast extension is needed in order to capture screen content from
|
||||||
|
other apps. See [setup guide](https://github.com/flutter-webrtc/flutter-webrtc/wiki/iOS-Screen-Sharing#broadcast-extension-quick-setup) for instructions.
|
||||||
|
|
||||||
### Advanced track manipulation
|
### Advanced track manipulation
|
||||||
|
|
||||||
The setCameraEnabled/setMicrophoneEnabled helpers are wrappers around the Track API.
|
The setCameraEnabled/setMicrophoneEnabled helpers are wrappers around the Track API.
|
||||||
|
|||||||
Reference in New Issue
Block a user