Closed BusinessDuck closed 2 months ago
0.2.4
Browser chrome Version 127.0.6533.101 (Official Build) (arm64)
Not tested
Create composer
composerRef.current = new MediaStreamComposer({ resolution: { width: Math.round(clientWidth * DPI), height: Math.round(clientHeight * DPI), }, });
Add stream to canvas
Start record
composer.startRecording({ videoName: userName, uploadToken: uploadToken, retries: 10, generateFileOnStop: true, });
Problem: Uploading hapen twice, because ondataavailable event caleed twice.
Here is one and second event details. I checked everything, i have only one call of each function on client side.
Also m3u called loop idk what is that
uploader called only one time m3u does not called
uploader called twice
No response
m3u looks like hls video requested, but i dont have any players on my side, i didn't use any kind of play requests...
The problem was in timeslice parameter of recorder
Version
0.2.4
Environment that reproduces the issue
Browser chrome Version 127.0.6533.101 (Official Build) (arm64)
Is it reproducible in the example application?
Not tested
Reproduction steps
Create composer
Add stream to canvas
Start record
Problem: Uploading hapen twice, because ondataavailable event caleed twice.
Here is one and second event details. I checked everything, i have only one call of each function on client side.
Also m3u called loop idk what is that
Expected result
uploader called only one time m3u does not called
Actual result
uploader called twice
Additional context
No response
Relevant logs output
No response