Describe the bug
I am experiencing an issue with the vorbis decoder in the media player. The audio plays for a short time, but after roughly 30 seconds the audio stops and the MediaFailed event (regardless of position, if the audio is played at 00:01:00 for example, the error is raised at 00:01:28~30) is raised with the following error:
args.ExtendedErrorCode = "Connection to app service providing a media extension failed. (0xC00DB3B0)"
args.Error = "Decoding Error"
This issue only occurs with vorbis files and does not happen with MP3 files. Moreover I have tested this in UWP and the error does not occur. Only in WinAppSdk. The same file that gives an error in WinAppSdk also plays fine in the New Media Player, which I assume is made with UWP.
Steps to reproduce the bug
- Create a media player with a vorbis file as the source.
In my case:
//audioStreamStream is an arbitrary Stream class.
var randomAccessStream = audioStreamStream.AsRandomAccessStream();
var source = MediaSource.CreateFromStream(randomAccessStream , "audio/ogg");
- Play the audio
- Observe the audio stopping after roughly 30 seconds and the MediaFailed event being raised
Expected behavior
The audio should play continuously without stopping and the MediaFailed event should not be raised, but the audio stops after roughly 30 seconds and the MediaFailed event is raised.
Screenshots
N/A
NuGet package version
Windows App SDK 1.2.2: 1.2.221209.1
Packaging type
Packaged (MSIX)
Windows version
Insider Build (xxxxx)
IDE
Visual Studio 2022
Additional context
No response
Describe the bug
I am experiencing an issue with the vorbis decoder in the media player. The audio plays for a short time, but after roughly 30 seconds the audio stops and the MediaFailed event (regardless of position, if the audio is played at 00:01:00 for example, the error is raised at 00:01:28~30) is raised with the following error:
This issue only occurs with vorbis files and does not happen with MP3 files. Moreover I have tested this in UWP and the error does not occur. Only in WinAppSdk. The same file that gives an error in WinAppSdk also plays fine in the New Media Player, which I assume is made with UWP.
Steps to reproduce the bug
In my case:
Expected behavior
The audio should play continuously without stopping and the MediaFailed event should not be raised, but the audio stops after roughly 30 seconds and the MediaFailed event is raised.
Screenshots
N/A
NuGet package version
Windows App SDK 1.2.2: 1.2.221209.1
Packaging type
Packaged (MSIX)
Windows version
Insider Build (xxxxx)
IDE
Visual Studio 2022
Additional context
No response