mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-30 03:51:25 -08:00
fix(audio): [PKG-AUDIO-05] checkpoint zero-time resume and native buffering evidence
This commit is contained in:
1 parent
0218196df9
commit
d18c545675
25 files changed
+14373
-32
No files matched your search
@@ -26,6 +26,13 @@ pause audio; seeked synchronizes and resumes only if the video is playing. Nativ
|
||||
synchronizes again before resume. Ordinary playing timeupdate retains the strict drift
|
||||
threshold and offset rule. Rate and volume/mute follow the existing core properties.
|
||||
|
||||
The entry owns 15 subscriptions. Resume checks respect an explicit proxy video.playing
|
||||
boolean first. For native media they also accept an unpaused, non-ended video with
|
||||
readyState > 2 at currentTime zero: the historical art.playing getter requires time > 0,
|
||||
which can otherwise leave audio paused after the seek associated with a source switch.
|
||||
If seeked arrives before readiness, canplay synchronizes and resumes only paused audio
|
||||
whose host is playing. A paused host or proxy playing=false must never trigger recovery.
|
||||
|
||||
Destroy marks the entry inactive before removing listeners. The track then closes before
|
||||
pausing, removing the src attribute and loading the empty element. Cleanup attempts all
|
||||
steps even when a consumer-overridden method throws, then propagates the first cleanup error.
|
||||
|
||||
Reference in new issue
Block a user