title: Create MediaSource from AudioPlaybackConnection
body: <p>I'm trying to make my windows computer a valid output for bluetooth audio from my phone. Enabling the actual audio was easy enough using the winrt <a href="https://docs.microsoft.com/en-us/uwp/api/windows.media.audio.audioplaybackconnection?view=winrt-22621" rel="nofollow noreferrer">AudioPlaybackConnection</a>, but I'm trying to get metadata working and running into dead ends in the Windows UWP documentation. I'm familiar with the <a href="https://docs.microsoft.com/en-us/uwp/api/windows.media.playback.mediaplayer?view=winrt-22621" rel="nofollow noreferrer">MediaPlayer</a> class, but I can't see how to set the source to the AudioPlaybackConnection. My next thought was to create a MediaPlayer and handle the controls/metadata myself, but I can't see how to access the metadata for the AudioPlaybackConnection either. I tried getting the <a href="https://docs.microsoft.com/en-us/uwp/api/windows.devices.bluetooth.bluetoothdevice?view=winrt-22621" rel="nofollow noreferrer">BluetoothDevice</a> matching the same phone since I see the properties for the actual device list <code>AVRCP Transport</code> and <code>A2DP SNK</code> as two separate hardware &quot;devices&quot; making up the phone device, but I have no more luck accessing metadata with the BluetoothDevice. I know Windows 10 supports Bluetooth's AVRCP and can handle metadata/controls <a href="https://docs.microsoft.com/en-us/windows-hardware/drivers/bluetooth/bluetooth-support-in-previous-windows-versions" rel="nofollow noreferrer">(source)</a>, but I'm beginning to think it's under a different device in winrt and I don't have the winrt know-how to track it down.</p>