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
You can take a picture of a VideoTrack at highest possible resolution. This can be useful for example if you want to take a screenshot of a screenshare at full resolution.
6
+
7
+
```dart
8
+
final participant = call.state.value.otherParticipants.first;
9
+
final screenshot = call.takeScreenshot(participant);
10
+
```
11
+
12
+
In case you want to take a screenshot of a screen-sharing track, you can specify which track type you want to capture:
13
+
14
+
```dart
15
+
final participant = call.state.value.otherParticipants.first;
16
+
final screenshot = call.takeScreenshot(participant, trackType: SfuTrackType.screenShare);
0 commit comments