Skip to content
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

Failure to parse attribute leads to null pointer exception in toString method #7

Open
gizahNL opened this issue Jan 3, 2024 · 1 comment

Comments

@gizahNL
Copy link

gizahNL commented Jan 3, 2024

I have an SDP file that contains an "a=source-filter: incl IN IP4 239.1.2.1 192.168.10.50" line, which doesn't seem to get parsed correctly, however a null attribute is added is added in MediaDescription. Null isn't checked when MediaDescription toString method is called, leading to a null pointer exception.

@gizahNL
Copy link
Author

gizahNL commented Jan 4, 2024

It also fails to parse "a=ts-refclk:ptp=IEEE1588-2008:00-00-00-00-00-00-00-00:127", and also causes null pointer exceptions. I suspect it expects a space between the : and ptp in this case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant