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
As title states. There is no audio playing after alt-tabbing to another app in fullscreen mode. Audio still plays fine if you alt-tab while not in fullscreen mode.
The text was updated successfully, but these errors were encountered:
It looks like we need to manually integrate SMTC with the libvlc player for the sound to keep playing in the background. After reading the Microsoft docs system-media-transport-controls and background-audio. I came across the following:
If you are not using the automatic SMTC integration provided by MediaPlayer you must manually integrate with the SMTC to enable background audio. At a minimum, your app must enable the play and pause buttons by setting IsPlayEnabled and IsPauseEnabled to true. Your app must also handle the ButtonPressed event. If your app does not meet these requirements, audio playback will stop when your app moves to the background.
After reading some more documentation, it seems like manually integrating SMTC will enable us to use the build-in Windows media controls/hotkeys. If we do this, I think it should be optional to use the build-in media controls since not everyone likes them.
As title states. There is no audio playing after alt-tabbing to another app in fullscreen mode. Audio still plays fine if you alt-tab while not in fullscreen mode.
The text was updated successfully, but these errors were encountered: