Closed
Bug 1391142
Opened 7 years ago
Closed 7 years ago
Remove MediaResource::IsLiveStream()
Categories
(Core :: Audio/Video: Playback, enhancement, P3)
Core
Audio/Video: Playback
Tracking
()
RESOLVED
FIXED
mozilla57
Tracking | Status | |
---|---|---|
firefox57 | --- | fixed |
People
(Reporter: jwwang, Assigned: jwwang)
References
Details
Attachments
(3 files)
http://searchfox.org/mozilla-central/rev/5ce320a16f6998dc2b36e30458131d029d107077/dom/media/MediaDecoderStateMachine.cpp#2484 MDSM is the only caller which checks IsLiveStream() to determine whether seek has reached the end of the resource. We want to remove the dependency on MediaResource from MDSM since MediaResource should be an internal detail of MediaDecoder. I will add a UpdateIsLiveStream() function to MDSM so MediaDecoder can call it to update the status of live stream.
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Assignee | ||
Updated•7 years ago
|
Attachment #8898616 -
Flags: review?(gsquelart)
Attachment #8898617 -
Flags: review?(gsquelart)
Attachment #8898618 -
Flags: review?(gsquelart)
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → jwwang
Comment 4•7 years ago
|
||
mozreview-review |
Comment on attachment 8898616 [details] Bug 1391142. P1 - dispatch IsLiveStream changes from MediaDecoder to MDSM. https://reviewboard.mozilla.org/r/170004/#review176166
Attachment #8898616 -
Flags: review?(gsquelart) → review+
Comment 5•7 years ago
|
||
mozreview-review |
Comment on attachment 8898617 [details] Bug 1391142. P2 - remove MDSM::mResource and related functions. https://reviewboard.mozilla.org/r/170006/#review176168
Attachment #8898617 -
Flags: review?(gsquelart) → review+
Comment 6•7 years ago
|
||
mozreview-review |
Comment on attachment 8898618 [details] Bug 1391142. P3 - remove IsLiveStream() from MediaResource. https://reviewboard.mozilla.org/r/170008/#review176170
Attachment #8898618 -
Flags: review?(gsquelart) → review+
Assignee | ||
Comment 7•7 years ago
|
||
Thanks!
Pushed by jwwang@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5ee6c8012b97 P1 - dispatch IsLiveStream changes from MediaDecoder to MDSM. r=gerald https://hg.mozilla.org/integration/autoland/rev/332a6f47a270 P2 - remove MDSM::mResource and related functions. r=gerald https://hg.mozilla.org/integration/autoland/rev/7518bf7c05bc P3 - remove IsLiveStream() from MediaResource. r=gerald
Comment 9•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/5ee6c8012b97 https://hg.mozilla.org/mozilla-central/rev/332a6f47a270 https://hg.mozilla.org/mozilla-central/rev/7518bf7c05bc
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox57:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla57
You need to log in
before you can comment on or make changes to this bug.
Description
•