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

SDP parsing error #217

Closed
ximex opened this issue Apr 21, 2020 · 3 comments
Closed

SDP parsing error #217

ximex opened this issue Apr 21, 2020 · 3 comments

Comments

@ximex
Copy link

ximex commented Apr 21, 2020

I got following error in the console if i start firefox from the console and open a WebRTC connection i'm currently working on. Not sure if it is a bug of this lib or the signaling server sends something wrong, but didn't get an error on Firefox stable

[2020-04-21T11:50:07Z ERROR rsdparsa_capi] Error parsing SDP in rust: Line error: Integer parsing error: cannot parse integer from empty string in line(22): a=fmtp:0 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=

OS: Kubuntu 19.10
FIrefox: 77.0a1 2020-04-21

@na-g
Copy link
Collaborator

na-g commented Apr 22, 2020

@ximex it looks like the profile-level-id is empty in the line above. I do not believe that is allowed to be empty. If one wants the default profile, profile-level-id should be omitted all together.

@na-g
Copy link
Collaborator

na-g commented Apr 22, 2020

The error message could be improved in the general case of missing parameter values.

@ximex
Copy link
Author

ximex commented Apr 22, 2020

ok you are right. the profile-level-id is missing. i don't know why i have not seen that.

@ximex ximex closed this as completed Apr 22, 2020
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

2 participants