final participant = call.state.value.otherParticipants.first;
final screenshot = call.takeScreenshot(participant);
Screenshots
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.
In case you want to take a screenshot of a screen-sharing track, you can specify which track type you want to capture:
final participant = call.state.value.otherParticipants.first;
final screenshot = call.takeScreenshot(participant, trackType: SfuTrackType.screenShare);
- I'm working with the Stream Video Flutter SDK and would like to ask questions about this documentation page: https://getstream.io/video/docs/flutter/advanced/screenshots.md
- View as markdown
- Open in ChatGPT
- Open in Claude