This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
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.
(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".
Changes committed. http://dvcs.w3.org/hg/html-media/rev/ca093bbbbefb