Re: Video Streaming over Bluetooth with bluez

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Mon, Sep 28, 2009 at 6:14 AM, Anna Richter <anna.richter1@xxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux