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

update sjj to work with latest sdp examples #28

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

jensengar
Copy link

I changed the sdp to be actual sdp from chrome.

lib/tosdp.js Outdated Show resolved Hide resolved
applicationType: 'datachannel',
port: mline.port,
sctpPort: sctpPort,
maxMessageSize: maxMessageSize
Copy link
Member

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?

Copy link
Author

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?

Copy link
Member

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)) {
Copy link
Member

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

Copy link
Member

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.

Copy link
Member

@fippo fippo left a 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?

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

Successfully merging this pull request may close these issues.

2 participants