mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-10-09 16:53:47 +02:00
Add track name support
This commit is contained in:
@@ -55,6 +55,7 @@ output.addVideoTrack(videoSource, {
|
||||
// This adds two audio tracks; one in English and one in German.
|
||||
output.addAudioTrack(audioSourceEng, {
|
||||
language: 'eng', // ISO 639-2/T language code
|
||||
name: 'Developer Commentary', // Sets a user-defined track name
|
||||
});
|
||||
output.addAudioTrack(audioSourceGer, {
|
||||
language: 'ger',
|
||||
|
||||
Reference in New Issue
Block a user