Skip to content

Ingesting multiple UDP/MPEG-TS streams #3379

Answered by aler9
baronlib asked this question in Questions
Discussion options

You must be logged in to vote

Hello,

Is there a way to support dynamic paths when ingesting MPEG-TS into MediaMTX, like with RTSP stream paths?

Unfortunately no, that's because raw MPEG-TS streams are stateless streams that don't contain a path name, they just contain the list of tracks, their codecs (PMT table) and the stream (PES data packets). Everything is sent repeatedly regardless of the number of readers.

On the contrary, RTSP sessions are stateful, they are addressed to a specific server, they transmit the path name, credentials and other parameters and then they wait for the green light from the server before starting streaming.

Another thing: keep in mind that MPEG-TS streams are slightly slower than RTSP …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by baronlib
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants