xmpp-ftw / xmpp-ftw

The goal of this project is to make XMPP really simple to use for developers. This module takes away all of the XML and works by hooking to events which are passed between client and server using a transport in JSON. For example code see https://github.com/lloydwatkin/xmpp-ftw-demo.
http://xmpp-ftw.org
Apache License 2.0
254 stars 32 forks source link

Support for WebRTC DataChannel, XEP-0343 #84

Open missmotoko opened 9 years ago

missmotoko commented 9 years ago

Are there any plans for XEP-0343 DataChannel support?.

A strophe example: https://github.com/Sticky-Bit/strophe.jingle/commit/020ed2744a07982b01007cdc00b3d17d4a51f471

lloydwatkin commented 9 years ago

See https://github.com/xmpp-ftw/xmpp-ftw-jingle (obviously its XEP-0166 not XEP-0343). I'd be happy to support it but its not high on my priority list at present. I'm sure using an updated version of @legastero and @fippo's https://github.com/otalk/jingle.js and updating xmpp-ftw-jingle you'd get there quite quickly. I'm happy to accept pull requests at any time too :)

missmotoko commented 9 years ago

Thanks, I'll take a look. It's something I'd like very much as a feature but also not urgent so if I get to it first I'll send a PR. Cheers! And may I also use this as an opportunity to thank you for XMPP-FTW. I've tried all the JS/Jingle/XMPP libs out there and I am most productive with FTW.

fippo commented 9 years ago

note that we'll soon need to update xep-0343 in breaking ways to track some updates in the way the whole sctp stuff works in sdp :-/

lloydwatkin commented 9 years ago

@missmotoko thanks, you are very welcome <3

missmotoko commented 9 years ago

@fippo, regarding "we'll soon need to update xep-0343 in breaking ways ", is there a timescale for this to happen?

fippo commented 9 years ago

chrome currently parses the new data channel format in M38. I suppose they'll wait at least until M41 (6 months from now I think) before they start sending the new format as well. If Firefox follows the same path. So 6-9 months probably :-)