FFmpegInteropX icon indicating copy to clipboard operation
FFmpegInteropX copied to clipboard

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

Open JezausTevas opened this issue 7 months ago • 1 comments

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:

  • HLS master playlists
  • HLS with multi-track segments
  • MPEGTS
  • DASH All give the same issue as long as they have live content. VOD seems to not be affected.

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.

JezausTevas avatar Dec 15 '23 11:12 JezausTevas

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

brabebhin avatar Dec 17 '23 19:12 brabebhin