On a single GlobalSystemMediaTransportControlsSessionManager instance, CurrentSessionChanged and SessionsChanged event won't fire. GetCurrentSesssion and GetSessions always return the same result even when sessions have been updated.
Calling GlobalSystemMediaTransportControlsSessionManager::RequestAsync will get the latest session info. I had to call it in a loop.
Version
2.0.230225.1
Summary
On a single
GlobalSystemMediaTransportControlsSessionManager
instance,CurrentSessionChanged
andSessionsChanged
event won't fire.GetCurrentSesssion
andGetSessions
always return the same result even when sessions have been updated.Calling
GlobalSystemMediaTransportControlsSessionManager::RequestAsync
will get the latest session info. I had to call it in a loop.