Need to eliminate incorrect SDP
FireTiger23 opened this issue · comments
There is a device that, after restarting, the SDP of the stream is incorrect, and the stream can be pulled normally, but there is no picture playing
Abnormal SDP
SDP incorrect, streamed successfully, no screen played。
Can we discard this SDP and return a failure for the client to pull the stream again
Hello,
You're perfectly right about checking the consistency of incoming tracks, the problem is that there are a lot of metadata tracks that are advertised in a way very similar to the one of the invalid video track you posted, and these tracks are valid.
I'll add a consistency check on non-metadata tracks, but if it causes troubles i'll be forced to perform a roll-back.
added in MediaMTX v1.0.1