ROS web video

On Kinetic Ubuntu 16.04

git clone https://github.com/RobotWebTools/web_video_server.git
CMake Error at /opt/ros/kinetic/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
  Could not find a package configuration file provided by
  "async_web_server_cpp" with any of the following names:
git clone https://github.com/GT-RAIL/async_web_server_cpp.git

There are some deprecation warnings but builds

rosrun web_video_server web_video_server 
[ INFO] [/web_video_server] [/home/lucasw/catkin_ws/src/web_video_server/src/web_video_server.cpp]:[85] [Waiting For connections on 0.0.0.0:8080]

Then browse to http://127.0.0.1:8080

[ INFO] [/web_video_server] [/home/lucasw/catkin_ws/src/web_video_server/src/web_video_server.cpp]:[26] [Handling Request: /]
[ INFO] [/web_video_server] [/home/lucasw/catkin_ws/src/web_video_server/src/web_video_server.cpp]:[26] [Handling Request: /favicon.ico]

Works in android chrome app (didn’t work in android browser or opera, though opera may have been out of date), doesn’t seem like too much latency.

Any way to wrap the html to be able to full-screen the video? https://github.com/RobotWebTools/web_video_server/issues/27

Yes: https://github.com/lucasw/vimjay/blob/master/scripts/webcam.html

How to get the web video server to serve my html- do I have to fork it, or is it easier than that? Looks like it needs to be changed to allow other html in- maybe load a giant prefix/postfix parameter for everything that goes before and after the stream image.

Written on July 18, 2016