Closed
Bug 1415069
Opened 8 years ago
Closed 8 years ago
Add a member to ChannelMediaResource to remember seekability of the channel
Categories
(Core :: Audio/Video: Playback, enhancement, P3)
Core
Audio/Video: Playback
Tracking
()
RESOLVED
FIXED
mozilla58
Tracking | Status | |
---|---|---|
firefox58 | --- | fixed |
People
(Reporter: jwwang, Assigned: jwwang)
References
Details
Attachments
(1 file)
So it doesn't need to call mCacheStream.IsTransportSeekable() which needs to take the lock and might block the main thread.
Assignee | ||
Updated•8 years ago
|
Comment hidden (mozreview-request) |
Assignee | ||
Updated•8 years ago
|
Attachment #8926740 -
Flags: review?(bechen)
Comment 2•8 years ago
|
||
mozreview-review |
Comment on attachment 8926740 [details]
Bug 1415069 - Add a member to ChannelMediaResource to remember seekability of the channel.
https://reviewboard.mozilla.org/r/197982/#review203164
::: dom/media/ChannelMediaResource.cpp:297
(Diff revision 1)
> // This is important, we want to make sure all principals are updated before
> // any consumer can see the new data.
> UpdatePrincipal();
>
> mCacheStream.NotifyDataStarted(mLoadID, startOffset, seekable);
> + mIsTransportSeekable = seekable;
Do we need to set the mIsTransportSeekable in ChannelMediaResource::CloneData() for the clone case?
Attachment #8926740 -
Flags: review?(bechen) → review+
Assignee | ||
Comment 3•8 years ago
|
||
mozreview-review-reply |
Comment on attachment 8926740 [details]
Bug 1415069 - Add a member to ChannelMediaResource to remember seekability of the channel.
https://reviewboard.mozilla.org/r/197982/#review203164
> Do we need to set the mIsTransportSeekable in ChannelMediaResource::CloneData() for the clone case?
Yes. Good catch!
Assignee | ||
Updated•8 years ago
|
Attachment #8926740 -
Flags: review?(gsquelart)
Comment 4•8 years ago
|
||
mozreview-review |
Comment on attachment 8926740 [details]
Bug 1415069 - Add a member to ChannelMediaResource to remember seekability of the channel.
https://reviewboard.mozilla.org/r/197982/#review203170
Attachment #8926740 -
Flags: review?(gsquelart) → review+
Comment hidden (mozreview-request) |
Assignee | ||
Comment 6•8 years ago
|
||
Thanks for the reviews!
Pushed by jwwang@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2f059a9dbd9d
Add a member to ChannelMediaResource to remember seekability of the channel. r=bechen,gerald
Comment 8•8 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox58:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla58
You need to log in
before you can comment on or make changes to this bug.
Description
•