[vlc-devel] SAP listener RFC violation

jhml at gmx.net jhml at gmx.net
Sun Sep 21 17:27:48 CEST 2003

Hi all,

RFC 2974 says:
   The payload type field is a MIME content type specifier, describing
   the format of the payload.  This is a variable length ASCII text
   string, followed by a single zero byte (ASCII NUL).  The payload type
   SHOULD be included in all packets.  If the payload type is
   `application/sdp' both the payload type and its terminating zero byte
   MAY be omitted, although this is intended for backwards compatibility
   with SAP v1 listeners only.

However, vlc 0.6.2 ignores SAP packets which do not include the payload type 
field and not even the NUL byte. While the RFC violation is not the problem 
for me, I have some VBrick MPEG2 (TS) encoders on my network which actually 
send SAP announcements without the payload type field, and it would be 
wonderful if I could see them in the playlist.

Cheers, Jonny

This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>

More information about the vlc-devel mailing list