Fwd: ANN: strophe.jingle - a webrtc connection plugin for the strophe.js xmpp library

346 views
Skip to first unread message

Philipp Hancke

unread,
Jun 13, 2013, 2:56:15 PM6/13/13
to str...@googlegroups.com
probably of interest here, too. Of course, on this everyone knows what strophe is so you can skip the first paragraph :-)

---------- Forwarded message ----------
From: Philipp Hancke <philipp...@googlemail.com>
Date: Thu, Jun 13, 2013 at 12:53 PM
Subject: ANN: strophe.jingle - a webrtc connection plugin for the strophe.js xmpp library
To: discuss...@googlegroups.com


strophe.jingle is a webrtc connection plugin for strophe.js. Strophe is a popular library for writing XMPP client applications that run on any of the current popular browsers. Instead of the native TCP binding, strophe.js uses BOSH (Bidirectional-streams Over Synchronous HTTP, a variant of long polling) to connect to an XMPP server. Besides enabling anyone to build (federated) IM applications, this opens up the browser as an addressable endpoint for two-way exchange of structured messages, including presence and publish-subscribe applications.

Fork it at https://github.com/ESTOS/strophe.jingle

This plugin makes it possible to negotiate audio/video streams via XMPP and then relinquish control to the WebRTC support of browsers like Firefox and Chrome for the actual out-of-band media streams. With XMPP/Jingle you get the authenticated, secured and federated media signaling, whereas WebRTC gives you an API to set up the media streams using RTP/ICE/STUN and provide access to cameras and microphones.

Features:

  • mostly standards-compliant jingle, mapping from WebRTCs SDP to Jingle and vice versa. Aiming for full compliance.
  • tested with chrome and firefox.
  • trickle and non-trickle modes for ICE (XEP-0176). Even supports early candidates from peer using PRANSWER.
  • support for fetching time-limited STUN/TURN credentials through XEP-0215. rfc5766-turn-server is a TURN server which implements this method.
  • a sample demonstrating the use of this to build a federated multi-user conference (in full-mesh mode).

Thanks to my employer for the permission to release this under MIT license.

Steffen Larsen

unread,
Jun 14, 2013, 2:27:21 PM6/14/13
to str...@googlegroups.com
Super job Fippo!

/Steffen

--
You received this message because you are subscribed to the Google Groups "Strophe" group.
To unsubscribe from this group and stop receiving emails from it, send an email to strophe+u...@googlegroups.com.
To post to this group, send email to str...@googlegroups.com.
Visit this group at http://groups.google.com/group/strophe.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Olemis Lang

unread,
Jun 14, 2013, 5:39:00 PM6/14/13
to str...@googlegroups.com
On 6/13/13, Philipp Hancke <philipp...@googlemail.com> wrote:
> probably of interest here, too. Of course, on this everyone knows what
> strophe is so you can skip the first paragraph :-)
>
> ---------- Forwarded message ----------
> From: Philipp Hancke <philipp...@googlemail.com>
> Date: Thu, Jun 13, 2013 at 12:53 PM
> Subject: ANN: strophe.jingle - a webrtc connection plugin for the
> strophe.js xmpp library
> To: discuss...@googlegroups.com
>
>
[...]
>
> Fork it at https://github.com/ESTOS/strophe.jingle
>
> This plugin makes it possible to negotiate audio/video streams via XMPP and
> then relinquish control to the WebRTC support of browsers like Firefox and
> Chrome for the actual out-of-band media streams. With XMPP/Jingle you get
> the authenticated, secured and federated media signaling, whereas WebRTC
> gives you an API to set up the media streams using RTP/ICE/STUN and provide
> access to cameras and microphones.
>

Incredibly awesome !

[...]

>
> Thanks to my employer for the permission to release this under MIT license.
>

Thank you and your employer for releasing this beauty under the terms
of an open source license .

Thank you , thank you , thank you !

[...]

--
Regards,

Olemis.

Apache™ Bloodhound contributor
http://issues.apache.org/bloodhound

Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/

Featured article:

Jack Moffitt

unread,
Jun 14, 2013, 5:48:41 PM6/14/13
to strophe
Just wanted to say that this project sounds really exciting and sort
of hits all the right notes of what got me excited about XMPP and the
web originally.

Please tell me you're going to be presenting this work at conferences,
because I would love to see a talk on this and would love for more
people to hear about it as well.

jack.

Olemis Lang

unread,
Jun 15, 2013, 3:00:08 PM6/15/13
to str...@googlegroups.com
On 6/14/13, Jack Moffitt <ja...@metajack.im> wrote:
>
[...]
>
> Please tell me you're going to be presenting this work at conferences,
> because I would love to see a talk on this and would love for more
> people to hear about it as well.
>
[...]

A good target for (at least) an appendix in (a new edition) of XMPP book ?
;)

http://professionalxmpp.com/

--
Regards,

Olemis.

Apache™ Bloodhound contributor
http://issues.apache.org/bloodhound

Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/

Featured article:
KnockoutJS

Philipp Hancke

unread,
Jun 15, 2013, 3:20:41 PM6/15/13
to str...@googlegroups.com
On Fri, Jun 14, 2013 at 11:48 PM, Jack Moffitt <ja...@metajack.im> wrote:
Just wanted to say that this project sounds really exciting and sort
of hits all the right notes of what got me excited about XMPP and the
web originally.

Yeah, bringing voice and video to the open web platform is a really great idea (see the link to Justin Ubertis Talk at last years I/O in the slides below)
And I'm still wondering why more people are using sip (and if people claim that xmpp wasn't built for the web, sip is absolutely worse) for webrtc -- but then, most webrtc stuff is currently limited to simple demos where the advantage of using a full-blown protocol like xmpp is not clear to the developer.

The recent claim by a google spokesperson that "audio and video are not well defined" in xmpp has helped alot. See for example the the jingle<->sdp mapping in phono or the sdpToJingle stuff from Michael Weibel -- didn't get enough attention unfortunately.
 
Please tell me you're going to be presenting this work at conferences,
because I would love to see a talk on this and would love for more
people to hear about it as well.

Slides from the Brussels XMPP are summit are available at http://hancke.name/jabber/webrtc-xmpp-summit-13ph.pdf -- they're mostly up-to-date even. I missed the EU realtime conf (without source to show...) but I hope I make it to Portland. In case I don't make it Lance will surely mention this plugin when talking about stanza.io -- I am really looking forward to some friendly competion :-)
Reply all
Reply to author
Forward
0 new messages