Add track name support

This commit is contained in:
Vanilagy
2025-08-23 15:33:44 +02:00
parent 0e03779169
commit bb1b20afa7
17 changed files with 196 additions and 16 deletions
+1
View File
@@ -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',