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 18655 - audio gaps shouldn't be rendered as silence
Summary: audio gaps shouldn't be rendered as silence
Status: RESOLVED FIXED
Alias: None
Product: HTML WG
Classification: Unclassified
Component: Media Source Extensions (show other bugs)
Version: unspecified
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: Adrian Bateman [MSFT]
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-22 17:22 UTC by Ralph Giles
Modified: 2012-08-24 22:45 UTC (History)
4 users (show)

See Also:


Attachments

Description Ralph Giles 2012-08-22 17:22:12 UTC
Continuing discussion from bug 18571, the section "Media Segment Constraints" says:

"Gaps between media segments that are smaller than the audio frame size are allowed and should be rendered as silence. Such gaps should not be reflected by buffered.
Note: This is intended to simplify switching between audio streams where the frame boundaries don't always line up across encodings (e.g. Vorbis)."

Gaps should be allowed, but silence should not be specified. Silence is the minimum one can do, and implementations can offer higher quality switching through a variety of gap-concealment algorithms.

Likewise, overlaps should be allowed as well. The important thing is to preserve the sample alignment so synchronization is maintained.

I propose the clause "and should be rendered as silence" be removed.
Comment 1 Mark Watson 2012-08-22 17:29:53 UTC
(In reply to comment #0)
> Continuing discussion from bug 18571, the section "Media Segment Constraints"
> says:
> 
> "Gaps between media segments that are smaller than the audio frame size are
> allowed and should be rendered as silence. Such gaps should not be reflected by
> buffered.
> Note: This is intended to simplify switching between audio streams where the
> frame boundaries don't always line up across encodings (e.g. Vorbis)."
> 
> Gaps should be allowed, but silence should not be specified. Silence is the
> minimum one can do, and implementations can offer higher quality switching
> through a variety of gap-concealment algorithms.
> 
> Likewise, overlaps should be allowed as well. The important thing is to
> preserve the sample alignment so synchronization is maintained.
> 
> I propose the clause "and should be rendered as silence" be removed.

For clarity,"and should be rendered as silence" should be replaced with "and should not cause playback to stall".
Comment 2 Aaron Colwell (c) 2012-08-24 22:45:24 UTC
Changes committed.
http://dvcs.w3.org/hg/html-media/rev/ca093bbbbefb