ffmpeginteropx / FFmpegInteropX

FFmpeg decoding library for Windows 10 UWP and WinUI 3 Apps
Apache License 2.0
205 stars 52 forks source link

Error 0xC00D36B2 when trying to change audio track for live sources #395

Open JezausTevas opened 9 months ago

JezausTevas commented 9 months ago

Hi!

I am implementing this player into my C# UWP project and have encountered an issue with changing audio tracks. This occurs when using the provided sample with using default player controls and when modifying playbackItem.AudioTracks.SelectedIndex programatically. The error is very non-descriptive (as usual for windows) and it states:

The request is invalid in the current state. (Exception from HRESULT: 0xC00D36B2)

I have tried many different inputs:

I have also tried the C++ sample. It also throws error when changing the audio tracks, but this time the error box is empty and the player has text "Error: Video could not be decoded" atop the player controls.

brabebhin commented 9 months ago

I don't think we fully support DASH and the like, but if you can provide some sample steps i can look into it.