This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 28822 - [MSE] Spec is ambiguous as to event behavior of an explicit MediaSource duration of +Infinity
Summary: [MSE] Spec is ambiguous as to event behavior of an explicit MediaSource durat...
Status: RESOLVED MOVED
Alias: None
Product: HTML WG
Classification: Unclassified
Component: Media Source Extensions (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Matt Wolenetz
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-16 18:58 UTC by Bobby Holley (:bholley)
Modified: 2015-10-13 23:12 UTC (History)
5 users (show)

See Also:


Attachments

Description Bobby Holley (:bholley) 2015-06-16 18:58:26 UTC
"Update the media controller duration to new duration and run the HTMLMediaElement duration change algorithm."

By my reading, the specs are currently ambiguous as to what happens when the MediaSource.duration gets set to +Infinity. Do we fire durationchange or not?

mediasource-duration-boundaryconditions.html tests that we do, but the HTML5 spec uses +Infinity to denote "unknown duration", and we're only supposed to fire durationchange when the duration changes "to a known value". Should +Infinity have a different meaning when it comes from MediaSource?
Comment 1 Matt Wolenetz 2015-10-13 23:12:42 UTC
This bug has been migrated to the GitHub issue tracker. Please follow/update progress using the GitHub issue:
https://github.com/w3c/media-source/issues/27