Giter Club home page Giter Club logo

Comments (8)

wolenetz avatar wolenetz commented on July 17, 2024

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.

davemevans avatar davemevans commented on July 17, 2024

@jyavenard

from media-source.

jdsmith3000 avatar jdsmith3000 commented on July 17, 2024

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.

wolenetz avatar wolenetz commented on July 17, 2024

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.

jyavenard avatar jyavenard commented on July 17, 2024

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.

wolenetz avatar wolenetz commented on July 17, 2024

@jyavenard, thanks for responding. Based on your response, I believe closing this issue as wontfix is the correct action.

from media-source.

wolenetz avatar wolenetz commented on July 17, 2024

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.

jdsmith3000 avatar jdsmith3000 commented on July 17, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.