RobotWebTools / web_video_server

HTTP Streaming of ROS Image Topics in Multiple Formats
http://ros.org/wiki/web_video_server
Other
269 stars 187 forks source link

client and server issue #126

Open khaledgabr77 opened 2 years ago

khaledgabr77 commented 2 years ago

I'm trying to publish a compressed image from a client and uncompressed it over the server.
i tried publishing the image_raw to the server and it's working normally. and this the line i was publishing the topic let img = "http://"+this.robos_ip[i]+":8081/stream?topic=/"+ this.robos_name[i] +"/rgb_camera/image_raw"; i change the web_video_server parameter default_transport=compressed and tried to publish a compressed image by using this line let img = "<http://"+this.robos_ip[i]+":8081/stream?topic=/"+> this.robos_name[i] +"/rgb_camera/image_raw&type=ros_compressed"; but i can't get any images. when i use the last line this will publish a compressed images? or it will compressed the image then will uncompressed to image_raw?