public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
To: Anna Richter <anna.richter1@gmx.net>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: Video Streaming over Bluetooth with bluez
Date: Mon, 28 Sep 2009 11:06:47 -0300	[thread overview]
Message-ID: <2d5a2c100909280706w19304a0u212bd5340cfb967a@mail.gmail.com> (raw)
In-Reply-To: <20090928091416.278260@gmx.net>

Hi,

On Mon, Sep 28, 2009 at 6:14 AM, Anna Richter <anna.richter1@gmx.net> wrote:
> Hi everyone!
>
> I am writing my master thesis now and a part of it deals with video streaming over bluetooth in linux and I have some questions about how to implement it with bluez. I am new with bluetooth programming and I tried to find answers to my questions in the internet, but all what I found is very general information. It would be great, if you could help me.
> My application consits of three units: server, gateway and client. The server sends the video packets (RTP/RTCP) to the gateway via Ethernet. Gateway receives them and should send them to the client over bluetooth.
>
> 1) As far as I could find in the internet, the Video Distribution Profile is not yet supported in the current version of bluez. Is that right? On the bluez wiki page I found, that VDP was a proposal for the Google Summer of Code this year. Did anybody take this project so that VDP could be supported in the near future?

Nope, nobody took the opportunity to implement it :(

> 2) Since the VDP is apparently not yet supported, I thought of several possible ways of realising video streaming over blueotooth: SPP/L2CAP, BNEP/L2CAP and HCI.

I would say only bnep is really convenient for you, because that would
make bluetooth transport transparent for you. But that will take all
of fun of implementation :D and perhaps you don't have enough material
to your thesis. In the other hand vdp wouldn't be that difficult to
fully support on BlueZ, we already implemented avdtp protocol for a2dp
profile, so you don't have to worry about inventing your own codec
negotiation protocol, also vdp uses better the bandwidth of bluetooth,
since there is only l2cap involved where on bnep there is l2cap+bnep.

> So for my application it seems to be the easiest and best way to use the SPP/L2CAP way with the send(...) and recv(...) commands to realise video streaming over bluetooth. Of course I know that the speed and the video quality may not be the best and until now it is better to use WLAN for video streaming instead of bluetooth. But my task is to do both and then compare them.

Not really, as I said either you go with bnep where you can handle
both Bluetooth and WLAN in the same way, in other words rtp over
tcp/udp, or you implement VDP which is basically rtp over l2cap.

Regards,

-- 
Luiz Augusto von Dentz
Engenheiro de Computação

      reply	other threads:[~2009-09-28 14:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-28  9:14 Video Streaming over Bluetooth with bluez Anna Richter
2009-09-28 14:06 ` Luiz Augusto von Dentz [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2d5a2c100909280706w19304a0u212bd5340cfb967a@mail.gmail.com \
    --to=luiz.dentz@gmail.com \
    --cc=anna.richter1@gmx.net \
    --cc=linux-bluetooth@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox