New SDK Integration: Kurento

By Binoy Chemmagate on December 4, 2017

We’re thrilled to announce an integration with the Kurento SDK (now a part of Twilio).

Kurento, meaning “current”/“stream” in Esperanto!, is an open source WebRTC platform that adapts into many video uses cases, including group communications, transcoding, recording, mixing, broadcasting, and routing of audiovisual flows.

As of now, the integration works with Kurento Rooms, but in the coming weeks, we will make Kurento Media Server side stats available as well.

Many thanks to Dan Jenkins and the Nimble Ape team for getting this integration up and running!

How to Integrate

In the HTML

       <!-- Load library (it provides window.callstats -->
       <script src=""></script>
        <!-- Load Kurento Utils library -->
        <script src="bower_components/kurento-utils/js/kurento-utils.js"></script>
        <!-- Load callstats-kurento library (it provides window.callstatskurento) -->
        <script src="js/callstats-kurento.js"></script>
        <!-- Load our app code -->
        <script src="js/app.js"></script>

        <!-- your stuff -->


In app.js:

// Create a callstats-kurento App instance.
var ckApp;
var ckConference;
window.onload = function() {
    ckApp = callstatskurento( AppID, AppSecret, localUserID );
    // Create a callstats kurento conference interface, by supplying the CONFERENCE_ID
    ckConference = cskApp.createConference(CONFERENCE_ID);
    webRtcPeer = kurentoUtils.WebRtcPeer.WebRtcPeerSendonly(options, function(error) {
        if(error) return onError(error);
    // Create a callstats-kurento peer, by handling the the webrTc peer returned by kurentoUtils
    // and supplying a PEER_ID (a session ID).
         var ckPeer = ckConference.handle(webRtcPeer, PEER_ID);
NPM/Bower libraries have been published to the NPM/Bower registries.

Read here the full documentation

Sample app can be found here -

So, if you are a Kurento user, you can start using the integration by signing up for a free trial account at

Tags: WebRTC,, WebRTC Monitoring