Description
Once we GA mobile replay:
In the event there were no changes in the UI, we skip taking a screenshot and reuse the last one. But we're still making video segments and sending them over the network.
The player expect these segments in order to play properly.
An improvement in recording and playback performance is to skip screenshots and making segments altogether. But extend the wire protocol to instruct the player how to continue the playback.
On Android, we know when there were no changes in the UI that triggered a re-render.
On iOS, we might be able to use swizzling on viewNeedsLayout
and viewNeedsDisplay
to set a flag if we need to take the screenshot.
This would affect native iOS/Android as well as any cross platform implementation on top such as React Native, Flutter.
Metadata
Assignees
Type
Projects
Status
No status