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
- New capture mode that captures frames only when screen content changes
- Configurable threshold, minInterval, maxInterval, sampleRate options
- New CHANGE_DETECTED event for debugging and monitoring
- ChangeDetector.kt with pixel sampling algorithm
- Updated example app with mode selection UI
- Updated documentation (README, configuration, events, usage-examples)
Copy file name to clipboardExpand all lines: CHANGELOG.md
+35Lines changed: 35 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,40 @@ All notable changes to this project will be documented in this file.
5
5
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
8
+
## [1.1.0] - 2025-02-09
9
+
10
+
### Added
11
+
12
+
#### Change Detection Capture Mode
13
+
14
+
- New capture mode that captures frames only when screen content changes
15
+
- Configurable change detection options:
16
+
-`threshold` - Percentage of pixels that must change to trigger capture (1-100%)
17
+
-`minInterval` - Minimum milliseconds between captures (100-60000ms)
18
+
-`maxInterval` - Maximum milliseconds before forced capture (0 = disabled)
19
+
-`sampleRate` - Pixel sampling rate for performance optimization (1-100)
20
+
-`detectionRegion` - Optional region to monitor for changes
21
+
- New `CHANGE_DETECTED` event for debugging and monitoring
22
+
- Pixel sampling algorithm for efficient frame comparison
23
+
24
+
### Example
25
+
26
+
```typescript
27
+
awaitFrameCapture.startCapture({
28
+
capture: {
29
+
mode: 'change-detection',
30
+
changeDetection: {
31
+
threshold: 15, // Capture when 15% of screen changes
32
+
minInterval: 500, // Poll every 500ms
33
+
maxInterval: 5000, // Force capture at least every 5s
34
+
},
35
+
},
36
+
image: { quality: 80, format: 'jpeg' },
37
+
});
38
+
```
39
+
40
+
---
41
+
8
42
## [1.0.0] - 2025-11-11
9
43
10
44
### Added
@@ -141,4 +175,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
141
175
142
176
This is the initial stable release of React Native Frame Capture. The library provides production-ready screen capture functionality with a focus on reliability, performance, and developer experience.
Reliable screen capture for React Native Android. Capture frames at intervals with customizable overlays and storage options.
8
+
Reliable screen capture for React Native Android. Capture frames at intervals or when screen content changes, with customizable overlays and storage options.
0 commit comments