I've been looking for days a solution to convert a video stream (video/webcam) from a web browser to a backend RTSP stream. All I could find was backwards, from RTSP to WebSockets (to display in a web page). I want the user to choose from a web browser client, a video or webcam locally and then send it to a nodejs server. Opening a webcam and send the chunks via websockets, seems easy, but how to "convert" these chunks of video to a RTSP server, and then connect via VLC to see the stream ?
Thank you in advance.