Comments (8)
Specifically, we need input from Jean-Yves Avenard on this (and we need to find the right GH account to ping to get that input).
from media-source.
from media-source.
We have an existing commit on this that attempts to re-use sourceBuffer objects if the content hasn't changed, but that behavior specifically does not match that of HTMLMediaElements. I believe we should consider reverting the commit and closing this issue won't fix.
from media-source.
I'll prepare a PR shortly with non-normative note indicating the potentially ambiguous text "does not mean" what @jyavenard interpreted in original bug's comment 14.
from media-source.
Sorry for the delay in responding.
Let me first say that Firefox/Gecko has a change pending (https://bugzilla.mozilla.org/show_bug.cgi?id=1150305) that implements sourcebuffer.buffered as describe in that bug: we return the same TimeRange object if the buffered range hasn't change since it was last queried ; otherwise it returns a new object.
It should be committed in gecko's tree shortly.
Upon further discussion with some colleagues, I believe the text as it is, is okay.
(The source of my confusion is likely because I'm a C++ developer and I distinguish the concept of returning an object by value or by reference ; while JS always mean by reference)
from media-source.
@jyavenard, thanks for responding. Based on your response, I believe closing this issue as wontfix is the correct action.
from media-source.
Since the original bugzilla bug was fixed by a commit and the subsequent discussion on that same bug and continued into this GitHub issue was around further improving clarity (which was determined unnecessary in recent comments here), I'm removing the "wontfix" and just closing the issue.
from media-source.
I agree with doing this.
From: wolenetz [mailto:[email protected]]
Sent: Wednesday, October 21, 2015 10:01 AM
To: w3c/media-source [email protected]
Cc: Jerry Smith (IEP) [email protected]
Subject: Re: [media-source] Some of the attributes returning TimeRanges objects seem to return a new object each time the getter is invoked (#16)
Since the original bugzilla bug was fixed by a commit and the subsequent discussion on that same bug and continued into this GitHub issue was around further improving clarity (which was determined unnecessary in recent comments here), I'm removing the "wontfix" and just closing the issue.
—
Reply to this email directly or view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3a%2f%2fgithub.com%2fw3c%2fmedia-source%2fissues%2f16%23issuecomment-149962443&data=01%7c01%7cjdsmith%40microsoft.com%7c7ddb48c5482f497498da08d2da393b6c%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=vM%2byMi0qgk4HaKCbqhplRn8rh0hzqgpPnHEVPYfxDjI%3d.
from media-source.
Related Issues (20)
- Standardize expectations around endOfStream followed by later re-opening of MediaSource
- MSE-for-WebCodecs: detection of mismatch of append format (WC vs BSF) is deferred and could produce decode err
- Editorial accessibility concerns and suggestions HOT 4
- Working draft auto-publishing seems working, but editor's draft is now out-of-date HOT 2
- Editorial: Add image description text for the audio splice rendering image (in current WD section 4.5.12)
- Editorial: use the descriptive "summing junction" instead of "green circle with an X" in pipeline model text description
- Broken link on random access points section of ISO BMFF Byte Stream Format
- ManagedMediaSource (jya) HOT 1
- Proposal: ManagedMediaSource API HOT 52
- Proposal: Add quality attribute to ManagedMediaSource API
- Move extensions to HTML to HTML spec
- Redundancies, duplications, and general spec health HOT 7
- Editorial: bullet numbering skips over numbers and renders poorly, needs rework to comply with [Infra] #algorithm-conditional-statements HOT 1
- Consider updating Acknowledgements section HOT 3
- HTMLMediaElement Extensions missing WebIDL? HOT 1
- Describe eviction policy HOT 1
- Specify constructor for MediaSource, ManagedMediaSource, BufferedChangeEvent
- Normative or informative definitions HOT 2
- No handling for when the MediaSource constructed in a DedicatedWorkerGlobalScope goes out of scope
- BufferedChangeEventInit shouldn't be optional in BufferedChangeEvent constructor HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from media-source.