You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This code throws a No such interface supported error when trying to use the win api's MediaPlayer.PlaybackSession().BufferingProgress() (inside BufferingProgress).
This causes all of Win's music playback data to be lost due to this error, but in reality this BufferingProgress does very little for the data.
Minimal reproduction project
Provide a link here using one of two options:
Only change the music url to flac in some of this repo's example, and this error occurs
To Reproduce (i.e. user steps, not code)
Steps to reproduce the behavior:
Only change the music url to flac in some of this repo's example, and this error occurs
Error messages
No such interface supported
[just_audio_windows] Broadcast event error: 不支持此接口(in english: No such interface supported)
Expected behavior
No error and the playback data trans successfully.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Win 10 ltsc 21H2
Smartphone (please complete the following information):
? this repo only supports windows.?
Flutter SDK version
Not releated.
Additional context
None
The text was updated successfully, but these errors were encountered:
This is bug highly releated to win c++ api, I don't it is easy to fix.
But you do get around this by setting the value directly to 1 on BufferingProgress errors, note that this loses information about the buffering progress.
Which API doesn't behave as documented, and how does it misbehave?
The error occurs when playing a flac file from http url.
It is thrown by this line of code: L520
This code throws a
No such interface supported
error when trying to use the win api'sMediaPlayer.PlaybackSession().BufferingProgress()
(inside BufferingProgress).This causes all of Win's music playback data to be lost due to this error, but in reality this
BufferingProgress
does very little for the data.Minimal reproduction project
Provide a link here using one of two options:
To Reproduce (i.e. user steps, not code)
Steps to reproduce the behavior:
Error messages
No such interface supported
Expected behavior
No error and the playback data trans successfully.
Screenshots

If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Win 10 ltsc 21H2
Smartphone (please complete the following information):
? this repo only supports windows.?
Flutter SDK version
Additional context
None
The text was updated successfully, but these errors were encountered: