media icon indicating copy to clipboard operation
media copied to clipboard

fix: end a record with \n\r

Open rianby64 opened this issue 10 months ago • 2 comments

As per RFC 4566, 5. SDP Specification:

Text fields such as the session name and information are octet strings that may contain any octet with the exceptions of 0x00 (Nul), 0x0a (ASCII newline), and 0x0d (ASCII carriage return). The sequence CRLF (0x0d0a) is used to end a record, although parsers SHOULD be tolerant and also accept records terminated with a single newline character.

rianby64 avatar Feb 12 '25 21:02 rianby64