[Live-devel] RTSP Range parser accepts smtpe instead of smpte

Qingyang Zhou qingyang.zhou at uwaterloo.ca
Thu Jul 2 12:31:51 PDT 2026


Hello everyone:

I noticed what looks like a small typo in the RTSP Range header parser in the latest LIVE555 source, version 2026.06.29.

In liveMedia/RTSPCommon.cpp, parseRangeParam() currently checks for:

    smtpe = %n

but the RTSP Range unit defined by RFC 2326 is:

    smpte

Impact: valid RTSP Range headers using the standard SMPTE range unit are rejected, while the misspelled non-standard unit "smtpe" is accepted.

For example, this valid header is treated as malformed:

    Range: smpte=0:10:20-

while this misspelled form is accepted by the parser:

    Range: smtpe=0:10:20-

The relevant code comment also says:

We accept "smtpe=" parameters, but currently do not interpret them.

I think both instances should be "smpte" instead of "smtpe".

Reference: RFC 2326 defines the Range header grammar with "smpte", "smpte-30-drop", and "smpte-25":
https://datatracker.ietf.org/doc/html/rfc2326#section-12.29

Best regards,
Zhou Qingyang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20260702/1227cafc/attachment.htm>


More information about the live-devel mailing list