Page 1 of 1

Advice - local telepresence to internet - best latency

Posted: Sat Sep 15, 2018 2:47 pm
by TylerS
Hello,

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.

Tyler

Re: Advice - local telepresence to internet - best latency

Posted: Sun Sep 16, 2018 12:15 am
by RpiName
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.

Re: Advice - local telepresence to internet - best latency

Posted: Tue Sep 18, 2018 7:03 am
by Joel_Mckay