@vidtreo/recorder 0.8.3 → 0.8.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -6
- package/dist/index.d.ts +466 -356
- package/dist/index.js +9768 -2483
- package/package.json +11 -7
package/README.md
CHANGED
|
@@ -634,7 +634,7 @@ Video transcoding configuration is managed through your backend API. The recorde
|
|
|
634
634
|
- Frame rate: 30 fps
|
|
635
635
|
- Resolution: 1280x720
|
|
636
636
|
- Bitrate: 500 kbps
|
|
637
|
-
- Audio codec:
|
|
637
|
+
- Audio codec: Opus
|
|
638
638
|
- Preset: Medium quality
|
|
639
639
|
|
|
640
640
|
These defaults are used when backend configuration is unavailable or during initialization.
|
|
@@ -665,14 +665,17 @@ The following browsers support core recording features but may have limitations:
|
|
|
665
665
|
### Required Browser APIs
|
|
666
666
|
|
|
667
667
|
- **WebCodecs API** - Required for real-time MP4 transcoding (via mediabunny)
|
|
668
|
-
- **
|
|
669
|
-
- **
|
|
670
|
-
- **
|
|
668
|
+
- **Web Workers** - Required for video processing (no fallback available)
|
|
669
|
+
- **MediaStreamTrackProcessor** - Required for track processing in workers
|
|
670
|
+
- **VideoFrame** - Required for video frame processing in workers
|
|
671
|
+
- **AudioData** - Required for audio processing in workers
|
|
671
672
|
- **Screen Capture API** (`getDisplayMedia`) - Required for screen recording
|
|
672
673
|
- **MediaDevices API** (`getUserMedia`) - Required for camera/microphone access
|
|
673
674
|
- **IndexedDB** - Required for persistent upload queue
|
|
674
675
|
- **Storage API** - Required for storage quota management
|
|
675
676
|
|
|
677
|
+
**Note:** This package requires modern browsers with full Web Worker support. There is no fallback for browsers without Web Workers, MediaStreamTrackProcessor, VideoFrame, or AudioData APIs.
|
|
678
|
+
|
|
676
679
|
### Feature Support by Browser
|
|
677
680
|
|
|
678
681
|
| Feature | Chrome 94+ | Edge 94+ | Firefox 130+ | Safari 26.0+ | Firefox 76-129 | Safari 16.4-25.x |
|
|
@@ -706,8 +709,8 @@ The following browsers support core recording features but may have limitations:
|
|
|
706
709
|
|
|
707
710
|
1. **HTTPS Required**: Media capture APIs require HTTPS (or localhost) in most browsers
|
|
708
711
|
2. **User Permissions**: Camera, microphone, and screen capture require explicit user permission
|
|
709
|
-
3. **
|
|
710
|
-
4. **
|
|
712
|
+
3. **Web Workers Required**: This package requires Web Workers for video processing. Browsers without Web Worker support (or missing MediaStreamTrackProcessor, VideoFrame, AudioData APIs) are not supported
|
|
713
|
+
4. **No Fallback**: The package does not include a fallback for browsers without Web Worker support. Ensure your target browsers meet the minimum requirements
|
|
711
714
|
|
|
712
715
|
For detailed browser compatibility information, API requirements, and known limitations, see [BROWSER_COMPATIBILITY.md](./BROWSER_COMPATIBILITY.md).
|
|
713
716
|
|