Open
Bug 1543541
Opened 5 years ago
Updated 2 years ago
After seeking, the first audio data's sample time would be less than the start time of audio sink
Categories
(Core :: Audio/Video: Playback, defect, P3)
Core
Audio/Video: Playback
Tracking
()
NEW
People
(Reporter: alwu, Unassigned)
Details
When investigating bug1540746, I found that the sampleTime
[1] might be negetive after seeking, because the first audio data's mTime
would be slightly less than the mStartTime
due to the round error which is caused by trimming [2].
We should always keep sampleTime
possitive.
[1] https://searchfox.org/mozilla-central/rev/dd7e27f4a805e4115d0dbee70e1220b23b23c567/dom/media/mediasink/AudioSink.cpp#377
[2] https://searchfox.org/mozilla-central/rev/dd7e27f4a805e4115d0dbee70e1220b23b23c567/dom/media/MediaData.cpp#105
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•