windows - Streaming audio over a bluetooth socket -
i need stream audio on windows sockets bluetooth headset. able make socket connection bluetooth headset using rfcomm , a2dp / headset profile / hands-free profile. requirement stream audio (wav or mp3) on socket. possible writing audio data socket (using send())? or other ways it?
i required use same socket connection stream. if use media control interface apis, make separate connection , stream.
the a2dp profile layered on top of l2cap , sdp; sdp shall function while using l2cap transport protocol.
so if want implement communication send(s) through socket, need implement spd also, , should realize communication specified in
https://www.bluetooth.org/docman/handlers/downloaddoc.ashx?doc_id=8236
after have connected serially a2dp capable device, i. e. using:
http://simplebluetooth4win.sourceforge.net
(small library uses windows bluetooth networking api)
Comments
Post a Comment