Access and control PTZ webcam controls on ip cam with WebRTC?

854 views
Skip to first unread message

Hugh Reynolds

unread,
Jan 4, 2017, 2:40:16 AM1/4/17
to discuss-webrtc
Hi! I'm wondering if it is possible to use WebRTC to access the physical ptz controls on an ip cam from a webpage. Currently we have a small web app that we embed on a web page that allows a single user to control the position of the streaming cam through presets for about a 60 seconds. Any new/  additional users are put into a que and gain control once the 60 seconds for the previous user is up.  It's a little clunky and difficult to put into a responsive framework. We are looking to update this to something a little more streamlined, and mobile friendly. Any info would be appreciated. Thanks! -Hugh


Webmaster Webmaster

unread,
Jan 4, 2017, 3:45:29 AM1/4/17
to discuss-webrtc

Hugh Reynolds

unread,
Jan 4, 2017, 9:03:01 AM1/4/17
to discuss-webrtc
Very close yes! Only with programmable presets. Thanks!

Hugh Reynolds

unread,
Jan 4, 2017, 9:07:07 AM1/4/17
to discuss-webrtc
Oh just realized you posted that vid! Nice.. I'm entirely new to WebRTC any direction you could point me in as to how this was implemented? 

Eric Davies

unread,
Jan 4, 2017, 1:47:14 PM1/4/17
to discuss-webrtc
We did the same sort of thing about a year ago with a PTZ security camera.
The basic idea is that you have one client  whose job it is to control the camera and convert the streaming video into a webrtc media stream (the messier part).
For simply controlling the camera, the client took data channel messages and converted them to rest api calls that the security camera understood.
The latency of the rest api made interactive control not so great, but for going to preset positions, that wouldn't be an issue.

Tomasz Plebankiewicz

unread,
Apr 23, 2020, 6:13:52 AM4/23/20
to discuss-webrtc
Hello, I know that the topic is a bit archival, but I try to find a sensible solution to control an external camera on my website. At the end of last year, I was able to do something like this - while the delay between button click and camera movement was about 10-15 seconds - so it was meaningless. Now I read on the WOWZA forum - that the best way to get rid of delays is Webrtc - but I completely do not know this technology. I want to put the streaming from the camera on the website where it will be possible to control and no codecs in activex and other browsers will be needed. Would you be able to tell me something, or help me?

Eric Davies

unread,
Apr 23, 2020, 10:52:40 AM4/23/20
to discuss...@googlegroups.com
In asking this question, you need to also specify what your programming skills are and what type of api you have to access the camera's ptz.

--

---
You received this message because you are subscribed to a topic in the Google Groups "discuss-webrtc" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/discuss-webrtc/D0DgiBEXXZw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to discuss-webrt...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/discuss-webrtc/12549d7d-faf1-48ee-9295-ca8a5bf4fb92%40googlegroups.com.


--
Eric Davies
Reply all
Reply to author
Forward
0 new messages