I am working on the same kind of a project. Only that this is my final year Engineering project and so i have a time restraint of 2 months from today to get it working.
I am building a Quadcopter that will be autonomous and it would control a ground based multi robotic system. For this operation, i am using Raspi Cam along with Raspberry pi model B+. I want to wirelessly transmit a live video feed over Wifi and so i bought a TP-Link WN725N wifi v2 adapter and connected it to my pi. I was successful to establish internet connection with some additional installation of drivers (easy setup). For some reason, my kernel is not letting me download gstreamer, which i heard can give you latencies lower than 200ms over wifi. So, I tried out motion deamon which gave a latency of 5s and very low fps. I came across this video and tried the vlc streamer and it worked beautiful (1080p with 30fps & no distortion) except for a 2s latency. I'll post the link of the video below so it can help anyone who needs a solution to wifi streaming and would do with a latency of about 2s.
However, it is imperative for me to have a latency lower than 200ms for my project to work flawlessly. I have narrowed down some problems after a bit of brainstorming. If anyone has any inputs, please do comment. It would really help me alot.
So here are the problems that i could think of, that could possibly improve the stream latency. If you happen to know the solution, please do comment.
1) My wifi is designed to support 802.11n which can support upto 150mb/s speed. However, my iwconfig is showing me that my adapter is working at 72.2mb/s. How can i resolve this issue? I know that i will be needing a 40 MHz band for 150mbps but i dont know how to configure elements in my system to achieve that rate.
2)I dont know what bitrate the usb of the pi outputs the data at, im guessing 9600 standard. Is there any way to increase the bitrate and can that give a boost to my stream?
3) I heard that ad-hoc networks can give you better speeds. How can you configure an ad-hoc network to solve the problems specified above? Well, for my project i just need a piped stream from the pi to my laptop, i dont care if theres an AP in between or no, the lesser the delay, the better. So is there any way i can transmit data directly from the pi-wifi to my laptop without routing the data through any other element?
4) Any other transcoder than H264 that can give me faster rate?
5) Any other streaming protocols than http that will work faster? (there is a rtsp code for streaming using cvlc but unfortunately it isnt working for me as i cant see the stream either on vlc player or the site to where it is streamed at)
6) Any other alternative solutions?
And heres the link:
https://www.youtube.com/watch?v=JjPsW-7FUng
Thanks in advance,
Nikhil