ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Hello,
You were not doing anything wrong but it was because the code is just out dated.
Instead of using rosbridge to stream a image topic through video, I would recommend to use mjpeg_server to stream a image topic to the web. It provides more promising way to transport image to web.
Check out http://www.ros.org/wiki/mjpeg_server
If you like to use Procesingjs capability on top of video stream, You can use MJPEG camera example, which requires both mjpeg_server and rosbridge.
Regards, Jihoon