microsoft / microsoft/FFmpegInterop
Add support for multiple audio streams
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 1.4k
- Forks
- 319
- PR merge metrics
- No merged PRs in 30d
Description
The WinRT side does support multiple audio streams (I think since creators update) and we could make use of that in this project as well. We just need to add more than one AudioStreamDescriptor to the MSS (and maybe give them some reasonable names and assign language tags), then the MediaPlayerElement should automatically show a UI to allow stream selection. Additionally, we'd need to listen to SwitchStreamsRequested, so we only decode those streams that are actually in use.
Has someone already investigated this?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the WinRT media setup that creates the MSS and adds AudioStreamDescriptor instances. Trace how MediaPlayerElement exposes stream selection and where SwitchStreamsRequested can control decoding. Done means multiple named or language-tagged streams are selectable and only selected streams are decoded.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- audio-video-rtc, desktop
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100