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?