Open Bug 1169559 Opened 5 years ago Updated 3 years ago

Implement Audio Splice Frame Algorithm

Categories

(Core :: Audio/Video: Playback, defect)

defect
Not set
normal

Tracking

()

Tracking Status
firefox41 --- affected

People

(Reporter: jya, Unassigned)

References

(Blocks 1 open bug)

Details

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)
This bug is about supporting cross-fading, and not just the "splicing"
Component: Audio/Video → Audio/Video: Playback
Is there anything blocking this bug?
Flags: needinfo?(jyavenard)
(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.