'How can I convert Ros images to stream?

I'm trying to convert ROS Image to stream(not video format eg.mp4) and send it to the Janus webrtc server with python. The reason why I need stream is the params of 'MediaPlayer' in aiortc module which helps communicate with Janus(webrtc) server, can only receive video format and stream format(eg. /dev/video0) and I should not save it as video format.

So what I am thinking now is converting ros image to a gstreamer. How can I convert it? or is there any good solution?



Solution 1:[1]

try use web_video_server or jpeg_streamer

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 zhouyuan zhang