Re: [Bluez-devel] CVS audio-api.txt : 1st question

Fabien Chevalier
2007-07-06T17:07:41Z

Luiz Augusto von Dentz wrote:
> Hi again,
>
> On 7/6/07, Frederic Dalleau <frederic.dalleau@access-company.com> wrote:
>>> You need the power of Gstreamer in order to stream MP3 directly to the
>>> headset : you need a native Gstreamer bluetooth element.
>>>
>> In a desktop situation, you will want to mix streams this is not
>> possible using mp3.
>> Lots of a2dp devices do not handle mp3. And what if your music is not
>> mp3 encoded, say ogg?
>
> Yep, but Fabien probably mean that we gain more flexibility by having some
> native elements on gstreamer, and I agree with that.
> One of the problems
> that Im afraid of is the plugin having to handle encoding/decoding by it own

In my opinion the native elements wouldn't do any encoding/decoding
work: this is clearly GStreamer Job as a media converting framework.
I think we would have to:
- extend the already included RTP GStreamer element to accept sbc and
mp3 encoded streams.
- wrap libsbc into a GStreamer element to do convert to do PCM to sbc.
- create an a2dp Gstreamer element

..and that's all...
Then any enabled GStreamer application would be able to natively stream
mp3, or stream whatever other format using sbc. :-)

Cheers,

Fabien