windows 10 - SystemMediaTransportControl GetForCurrentView() fails in audio background task on Desktop Device Family (UWP C# -


i'm trying bring on c# wp 8.1 background audio task uwp , works, except trying uvc using windows.media.playback.systemmediatransportcontrols.getforcurrentview() throws current exception on desktop devices: "could not find appropriate view associated instance of mediaplaybackcontrol. please make sure view has been initialized". behavior has yet converged, or need control , update uvc via app on desktop class device?

there api change in windows 10. seems should use backgroundmediaplayer.current.systemmediatransportcontrols. not in documentation yet. can find in windows 10 sample repository: https://github.com/microsoft/windows-universal-samples/tree/master/backgroundaudio


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -