Tool/software: Linux
Hi,
Thank to your tuto :
WL18xx TI Bluetooth Stack AUDM Demo App, I managed to connect (and stream) my android phone and my iphone.
Now I want to use aac codec with my iphone. I checked BTPS_CONFIGURATION_AUD_SUPPORT_AAC was equal to 1, it was OK.
I add acc decoder (faad) in my gstreamer plugin list. I made sure the plugin works by listening to a local aac file.
gst-launch-1.0 -v --gst-debug-level=2 filesrc location=/etc/pa/Jumpin.aac ! faad ! volume volume=0.2 ! alsasink
I inspired from the command line in your tuto
gst-launch-1.0 -v --gst-debug-level=2 ss1a2dpsrc deccaps=aacdeccaps ! ss1rtplatmdepay checkmuxfragments=false ! capsfilter name=aacdeccaps ! faad ! alsasink device="hw:0,0"
with error :
gst-launch-1.0 -v --gst-debug-level=3 ss1a2dpsrc deccaps=aac ! ss1rtplatmdepay checkmuxfragments=false ! capsfilter name=aac ! faad ! alsasink device="hw:0,0" Setting pipeline to PAUSED ... Pipeline is live and does not need PREROLL ... Setting pipeline to PLAYING ... 0:00:00.172757917 3382 0x104c460 FIXME default gstutils.c:3766:gst_pad_create_stream_id_internal:<a2dpsource0:src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id New clock: GstSystemClock /GstPipeline:pipeline0/GstA2DPSource:a2dpsource0.GstPad:src: caps = "application/x-rtp\,\ media\=\(string\)audio\,\ payload\=\(int\)96\,\ clock-rate\=\(int\)4000\,\ encoding-name\=\(string\)MP4A-LATM" /GstPipeline:pipeline0/GstRtpLatmDepayload:rtplatmdepayload0.GstPad:sink: caps = "application/x-rtp\,\ media\=\(string\)audio\,\ payload\=\(int\)96\,\ clock-rate\=\(int\)4000\,\ encoding-name\=\(string\)MP4A-LATM" Device Flags: 0x80000008 Connect State: TRUE Device Name: iphone-5se-dev Device Flags: 0x80000009 Device Flags: 0x8000000D Paired State : TRUE Device Flags: 0x8000001D Encrypt State: TRUE /GstPipeline:pipeline0/GstCapsFilter:aac: caps = "audio/x-sbc\,\ rate\=\(int\)44100\,\ mode\=\(string\)stereo\,\ channels\=\(int\)2\,\ subbands\=\(int\)8\,\ blocks\=\(int\)16\,\ allocation\=\(string\)loudness\,\ bitpool\=\(int\)53" 0:00:22.629164211 3382 0x104c460 ERROR default LATM.c:447:ReadAudioSpecificConfig: RTP Depayload Error: Audio Object Type 23 is not supported. Depayloading Stopped. ^[[A^[[B^Chandling interrupt. Interrupt: Stopping pipeline ... Execution ended after 0:00:43.973116338 Setting pipeline to PAUSED ...
In my log I saw "audio/x-sbc", is it a negotiated capabilities problem ?
Best regards,
Thomas