Skip to content
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

Direct Access to SCO Audio Streams #1

Closed
lohchab opened this issue May 24, 2021 · 3 comments
Closed

Direct Access to SCO Audio Streams #1

lohchab opened this issue May 24, 2021 · 3 comments

Comments

@lohchab
Copy link

lohchab commented May 24, 2021

Hello, I am struggling to find a solution to access the Raw Audio Packets either in some other codecs or PCM format with the help of 32feet .NET Library I am able to dial/receive the calls via my Android Phone. But needs a way to access the Audio Stream so I can directly play some recorded sound files back to the caller automatically on call answer. But Windows 10 Bluetooth Drivers handle the SCO Connection within the driver. It will be great if you can help in getting the access to the Audio Packets/Stream someway either by the Default Microsoft Bluetooth Driver or some other custom simple driver giving SCO Connection access to the User-Space Application.

@lohchab
Copy link
Author

lohchab commented May 24, 2021

The APIs you used in your program can be only used for the Call Control.

@BestOwl
Copy link
Owner

BestOwl commented May 25, 2021

You can't do that with the default Microsoft driver. You need to install third-party drivers or write a custom profile driver (user-mode).

See also:
https://github.com/MicrosoftDocs/windows-driver-docs/blob/staging/windows-driver-docs-pr/bluetooth/bluetooth-driver-stack.md
https://docs.microsoft.com/en-us/windows-hardware/drivers/bluetooth/accepting-sco-connections-in-a-bluetooth-profile-driver

@lohchab
Copy link
Author

lohchab commented May 26, 2021

You can't do that with the default Microsoft driver. You need to install third-party drivers or write a custom profile driver (user-mode).

See also:
https://github.com/MicrosoftDocs/windows-driver-docs/blob/staging/windows-driver-docs-pr/bluetooth/bluetooth-driver-stack.md
https://docs.microsoft.com/en-us/windows-hardware/drivers/bluetooth/accepting-sco-connections-in-a-bluetooth-profile-driver

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants