Storyboard-fm/little-media-box

`AudioTrack.from` should select first audio track in `Source` by default

agrathwohl opened this issue · 0 comments

We currently need to know the stream index of the audio track for the static method, AudioTrack.from, to successfully grab a valid audio track from the container.

When no opts.streamIndex is specified, the method should return the first audio track in the container by default. Only overwrite this behavior when the opts is specifically given.