appendBuffer() with overlapping audio segments not per spec.

Issue #7979810 • Assigned to Daniel T.

Details

Author
Timothy D.
Created
Jun 23, 2016
Privacy
This issue is public.
Reports
Reported by 3 people

Sign in to watch or report this issue.

Steps to reproduce

The MSE spec requires user agents to support overlapping audio segments in one of two ways:

  1. remove the overlapping samples, and insert silence in their place; or
  2. cross fade the overlapping samples.

(See https://w3c.github.io/media-source/#sourcebuffer-audio-splice-frame-algorithm.)

Edge does not seem to do either and instead just removes the overlapping samples entirely, leaving a gap in the buffer (SourceBuffer). This does not seem consistent with the MSE spec.

Repro:

Rationale: the first segment has a duration of 10.005333… seconds and the second segment begins at 9.952 seconds. The second segment should be spliced in yielding a single buffered range of 19.957333… seconds.

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Venkat K.”

      Changed Assigned To from “Venkat K.” to “Daniel T.”

    You need to sign in to your Microsoft account to add a comment.

    Sign in