Posts: 1
Joined: Sat Sep 15, 2018 2:39 pm

Advice - local telepresence to internet - best latency

Sat Sep 15, 2018 2:47 pm


I'm new here, but I've been searching the forums and playing with RPis for a couple of years. My first project was rpi controlled Christmas lights and since then I've tinkered with a few other things.

Right now I'm working on a telepresence bot. I've gotten everything to work locally (video stream, GPIO control) - but I'm doing these two things separately (python for GPIO and WebRTC for video stream). I would like to take this over the internet, so that I can control my bot and terrorize my dogs when I'm away from home (I'm kidding, the dogs love it).

I'm hoping that someone might have done something similar and be able to point me to the method(s) that will reduce latency/lag (in both video and GPIO control). I could use remote access, but I've read that this isn't ideal and when I did this, there was a lot of lag. Would a web server be the best option (I could bring the streaming and control onto one page, which would be great)? If a server is the best, is the UV4L server my best bet?

Thanks in advance for any help!

If I happened to miss an answer directly related to this, I do apologize. I've searched for a while and haven't found anything that answers my specific question.


Posts: 725
Joined: Sat Jul 06, 2013 3:14 am

Re: Advice - local telepresence to internet - best latency

Sun Sep 16, 2018 12:15 am

UV4L is being used in many telepresence projects. It also supports bidirectional webrtc data channels which could be used to write/read the GPIOs from the browser. More informations at https://linux-projects.org.

Return to “Automation, sensing and robotics”