-
QuestionI have created and published a stream to an RTSP endpoint using mediamtx and ffmpeg. Here I am trying to just validate an RTSP EP
And while the function returns true |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Unless that FAQ is outdated and you're going by some working example, I don't see how https://ffmpegwasm.netlify.app/docs/faq/#is-rtsp-supported-by-ffmpegwasm |
Beta Was this translation helpful? Give feedback.
-
We don't support using WebSocket to pull RTSP streams from the server and we discourage using WASM FFmpeg for reading streams. This stack is difficult to install, power hungry, not robust. Just use WebRTC or HLS that are protocols meant to be used with browsers. In MediaMTX, conversion between protocols is automatic, so you can publish a stream with RTSP and read it with WebRTC or HLS. |
Beta Was this translation helpful? Give feedback.
We don't support using WebSocket to pull RTSP streams from the server and we discourage using WASM FFmpeg for reading streams. This stack is difficult to install, power hungry, not robust.
Just use WebRTC or HLS that are protocols meant to be used with browsers. In MediaMTX, conversion between protocols is automatic, so you can publish a stream with RTSP and read it with WebRTC or HLS.