-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
permissive parsing of a= line between session's c= and t= #10
Comments
That's annoying, but doing more permissive parsing here seems fine. SDP is an old standard and there's a lot of broken legacy software and hardware out there that does things wrong. Do you want to submit a PR for that? |
I could try, if you give me advice on how you'd like to handle it. A couple ideas:
|
I would vote for the second one |
scottlamb
added a commit
to scottlamb/sdp-types
that referenced
this issue
Sep 7, 2021
Merged
scottlamb
added a commit
to scottlamb/sdp-types
that referenced
this issue
Sep 7, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A Retina user reported an error trying to connect to an Anpviz IPC-D250 camera. This SDP wouldn't parse:
Apparently it contradicts RFC 8866 section 9 to have an
a=
between thec=
and thet=
:Are you open to
sdp-types
parsing this anyway? Either by default or with a permissive flag (I don't care which).More context at scottlamb/retina#26 and scottlamb/moonfire-nvr#151.
The text was updated successfully, but these errors were encountered: