-
Notifications
You must be signed in to change notification settings - Fork 70
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
Generated SDP not accepted in Chrome #4
Comments
Hey, thanks for this feedback. Yeah, sure, should not be hard to add grammar at this point. I'll try to add it later today. I'll add your input as a test case. :] |
Think I've covered all the bases now, and found 2 small grammar bugs. Please reopen if you still have issues :) |
Awesome - I'll check this out tonight :) |
I'm wondering if chrome's SDP parsing is in violation of the RFC. After reviewing your code I can see that you generate SDP in the order as defined by outerOrder, which matches the order as specified in the RFC4566. Additionally, reading the spec I see that ordering of the fields is important:
Interestingly, chrome (actually chromium) complains with the following error when trying to parse the
ccing @silviapfeiffer in on this as maybe she can raise this in the various W3C groups, and bring it to the attention of the various dev teams... Thanks again for adding support for the other required fields so quickly. |
One thing I will check before we go too much further though is against a later chrome/chromium version. Just checked the version complaining. It's version 28 which is quite old... |
Yes, still an issue in Chrome stable (30):
and also the dev channel (32):
|
Hmm apparently webrtc still follows an older rfc fro SDP: http://dev.w3.org/2011/webrtc/editor/webrtc.html#bib-SDP RFC3264 (see also this discussion on the standards list: http://lists.w3.org/Archives/Public/public-webrtc/2013Jul/0265.html ). So best to check http://www.ietf.org/rfc/rfc3264.txt |
Just had a go at using the library, which is exactly what I was looking for (npm package control, browserify friendly, etc, etc). Unfortunately in early testing it has proven to have trouble with Chrome.
After hitting some problems, I did a simple test to compare some SDP input with the generated output of the module, by running the following:
The resulting output and corresponding input files are available in a branch I've created:
https://github.com/DamonOehlman/sdp-transform/tree/datafiles/test/data
Just wondering if you were looking to extend the SDP parsing and generating capabilities to work in browser environments, or whether I should be having a look at @legastero's sdp library instead?
Thanks heaps,
Damon.
The text was updated successfully, but these errors were encountered: