Live DASH video doesn't play on Windows

RESOLVED FIXED in Firefox 42

Status

()

RESOLVED FIXED
4 years ago
4 years ago

People

(Reporter: jya, Assigned: jya)

Tracking

(Blocks: 1 bug)

Trunk
mozilla42
Unspecified
Windows
Points:
---

Firefox Tracking Flags

(firefox42 fixed)

Details

(URL)

Attachments

(1 attachment)

(Assignee)

Description

4 years ago
This DASH file http://dash.bidi.int.bbc.co.uk/e/pseudolive/bbb/client_manifest.mpd

doesn't play on Windows.

The first sample timestamp for this stream is 31031251200000 (in microseconds)

The WMF decoder ; store the time of the first sample ever decoded in "Samples".

To convert 31031251200000 into Samples we do:
Convert 31031251200000 into 10nanoseconds = 310312512000000
310312512000000 * Sampling_Rate = 310312512000000 * 48000 <- this doesn't fit in a 64 bits.
Due to the overflow ; playback is interrupted.
(Assignee)

Comment 1

4 years ago
Decode time were stored in number of samples ; which could cause integer overflow when performing the conversion.
Attachment #8641706 - Flags: review?(cpearce)
(Assignee)

Updated

4 years ago
Assignee: nobody → jyavenard
Attachment #8641706 - Flags: review?(cpearce) → review+
https://hg.mozilla.org/mozilla-central/rev/b4a3696bed55
Status: NEW → RESOLVED
Last Resolved: 4 years ago
status-firefox42: affected → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla42
You need to log in before you can comment on or make changes to this bug.