-
Notifications
You must be signed in to change notification settings - Fork 16
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
update sjj to work with latest sdp examples #28
base: master
Are you sure you want to change the base?
Conversation
a8af734
to
8e4913a
Compare
applicationType: 'datachannel', | ||
port: mline.port, | ||
sctpPort: sctpPort, | ||
maxMessageSize: maxMessageSize |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is transported via xep-0343 which would need to be updated along with the stanza definitions?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm a bit unclear about what you mean by this. Is there something I need to do here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the xmpp way to transport this is currently from here
<sctpmap xmlns='urn:xmpp:jingle:transports:dtls-sctp:1' number='5000' protocol='webrtc-datachannel' streams='1024'/>
which doesn't transport things like maxMessageSize. So I expect that if you signal this you'll need to update the stanza.io version you're using as well.
@@ -194,6 +204,10 @@ exports.toMediaJSON = function (media, session, opts) { | |||
trans.fingerprints.push(fp); | |||
}); | |||
|
|||
if (parsers.findLine('a=ice-options:trickle', lines)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i'd do this in a separate PR/commit for atomicity
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
actually this shouldn't be mapped. First its not really relevant in the SDP, second, as xep-0371 explains we have disco for this kind of stuff.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with nits. @xdumaine can you take another look and handle the release cats?
I changed the sdp to be actual sdp from chrome.