从 AudioPlaybackConnection 创建 MediaSource

Create MediaSource from AudioPlaybackConnection

我正在尝试让我的 windows 计算机成为我的 phone 的蓝牙音频的有效输出。使用 winrt AudioPlaybackConnection, but I'm trying to get metadata working and running into dead ends in the Windows UWP documentation. I'm familiar with the MediaPlayer 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 BluetoothDevice matching the same phone since I see the properties for the actual device list AVRCP Transport and A2DP SNK as two separate hardware "devices" 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 (source) 启用实际音频非常容易,但我开始认为它在 winrt 中的不同设备下,我没有 winrt 专业知识来追踪它。

我已经就此咨询了蓝牙团队。但目前 Windows 目前不支持这样的控制。您可以在反馈中心提交关于此的功能请求。请select开发者平台->API反馈作为您提交请求时的类别。相关团队将检查请求。