Implement Audio Splice Frame Algorithm

NEW
Unassigned

Status

()

4 years ago
2 years ago

People

(Reporter: jya, Unassigned)

Tracking

(Blocks: 1 bug)

Trunk
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(firefox41 affected)

Details

(Reporter)

Description

4 years ago
Part of the MSE spec:
http://w3c.github.io/media-source/index.html#sourcebuffer-audio-splice-frame-algorithm

When audio data is appended to a source buffer and is about to replace an existing range of audio, the overlapped frames are supposed to be spliced according to the audio splice frame algorithm.

I got an idea on how this could be very easily implemented without much overhead in the new MSE architecture (bug 1119208)
(Reporter)

Comment 1

4 years ago
This bug is about supporting cross-fading, and not just the "splicing"
Component: Audio/Video → Audio/Video: Playback

Comment 2

2 years ago
Is there anything blocking this bug?
Flags: needinfo?(jyavenard)
(Reporter)

Comment 3

2 years ago
(In reply to Florian Bender from comment #2)
> Is there anything blocking this bug?

someone to write the code maybe?

That would involved either:
1- decoding the data as it's being added so that the cross-fading is done during appendBuffer phase
2- Do it at playback time.

In any case, it's not compulsory, and I'm not sure we should care about it.
Flags: needinfo?(jyavenard)
You need to log in before you can comment on or make changes to this bug.