Open Bug 1286787 Opened 9 years ago Updated 3 years ago

impossible to add/remove video/audio sourcebuffer on the fly for a different language

Categories

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

48 Branch
defect

Tracking

()

UNCONFIRMED

People

(Reporter: cristian.lorenzetto, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.106 Safari/537.36 Steps to reproduce: if i have different video /audio track with different language it is not possible to remove a sourcebuffer and add another with different language. It might works permitting to developer to keep the position of stream (for example developer could add again initialization data before to add the right segment) Actual results: none of this is currently supported. tracks change isn't supported. The first track in a mp4/webm of each type (either audio or video) is always selected, there is no ability to select a different track. You also can only have a single sourcebuffer of a given type (either audio or video) active, and the first one to receive an init segment will be the one used. So you can't have a sourcebuffer with mp4 video and another with webm and have them overlap.
Component: Untriaged → Audio/Video
Product: Firefox → Core
Component: Audio/Video → Audio/Video: Playback
Is anyone actually doing this?
Priority: -- → P3
sincerely i dont know but if you dont implement it , surely no one use it :) having many files in different languages for a unique movie is not surely the best. It is possible to have a unique file for all the languages. In addition you give possibilities to change audio language on the fly for user.
Using MSE now it is possible theoretically to do it .... there is now no limit for browser.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.