A2DP Support
Ch4rg3r opened this issue · 4 comments
Hi,
this library and teh dbus support sounds awesome to auto connect devices. I need this on a raspberry pi, but i need the A2DP protocol for receiving/sending audio. Does Mono.Bluez support it, and how to connect. Or do i need to use dbus directly, as i have no idea how to get the audio source in C# via A2DP.
I have not touched A2DP yet, though it is something I plan to add because I need it as well.
In theory the way it would work would be you would define the various Media related interfaces (http://git.kernel.org/cgit/bluetooth/bluez.git/tree/doc/media-api.txt) and Register/Proxy them on DBus.
You would definitely need the file descriptor support that I added in my dbus-sharp fork. That should get submitted to the dbus-sharp repo eventually either by me or someone else, but for now the only place I know it exists is in my repo. Note that you also need to run a very new (like within the last month) mono build for it to work, it hasn't made it into a release yet.
Thanks for the reply. I will definetly take a look at it. Seems to be the only way to get it work. A Bluez setup like others did to make it work via pulseaudio is useless for me.
Maybe, if i get it to work before you implement it, i will give you the source code
Seems like this project is dead?
If not, i use a new version where i added newest mono/dbus-sharp
library. It has support for filedescriptor as UnixFD
(i use extension to create OpenAsStream
method).
If correctly using the media interfaces i added, A2DP should already work.