-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Media related interfaces A2DP #2
base: master
Are you sure you want to change the base?
Conversation
Looking good, do you have an example of using these? Like a demo app or something? |
Not yet. it's pretty hard to convert all of these from Bluez docs. I used simple-endpoint example from docs (python). But i'm stuck on implementation of Endpoint. Basically, you need to get Bluez to work, and register the endpoint to the adapter with a new path like Also i have no idea how to get connection to work. In this case, the App needs to wait for a Device to connect (no idea what i need of Bluez for that to work) EDIT: |
Cool. If possible I'd like to have a working example before merging the PR. I should have time to play with it some next week if you don't beat me to it. |
EDIT:
I implemented everything needed like explained in above linked text. Added test to console, not yet tried it. |
enum -> static class with
Added Bluezutils -> converted from Python example Fixes
Delete A2Dp.cs from Mono.DBus (duplicate)
Added testproject (not yet tested) Added AudioSink & AudioSource interfaces Fixes
So i added a test project a while ago, but never was able to test it really. Now it got my RPi3 and i will rewrite it to check for connection to the adapter and endpoints... |
Added MediaEndpoint1
Added MediaTransport1
Added most A2Dp constants & properties