Open
Bug 1520023
Opened 6 years ago
Updated 2 years ago
Remove the ability to delay autoplay media from AudioChannelService
Categories
(Core :: Audio/Video: Playback, enhancement, P3)
Core
Audio/Video: Playback
Tracking
()
NEW
People
(Reporter: alwu, Assigned: alwu)
References
Details
There are two reasons I would like to remove delay-autoplay
from AudioChannel architecture.
- The main purporse of AudioChanngelAgent is used to notify AudioChannelAgentCallback to mute/unmute/pause/resume media while media is playing or has started playing
However, in order to achieve delay-autoplay
, what we did was to register AudioChannelAgent before it actually starts, because we need to keep reference for those AudioChannelAgentCallback in order to resume them.
That made the timing to use AudioChannelAgent unclear, and made the code too complex to understand easily.
- If we remove
delay-autoplay
from the AudioChannel architecture, it would be eaiser to changedelay-autoplay
to Fission compatiblem, because we could not resume media in different process in current architecture if we enable Fission.
Assignee | ||
Updated•6 years ago
|
Priority: P2 → P3
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•