code: function commitSerial(params, callback) {
      if (transactionsManager.length)
        return transactionOperation.call(transactionsManager, 'transaction',
          params, callback);
  
      var operations = params.operations;
  
      async.each(operations, function (operation) {
          switch (operation.method) {
          case 'create':
            encodeCreate(undefined, operation.params, operation.callback);
            break;
  
          case 'transaction':
            commitSerial(operation.params.operations, operation.callback);
            break;
  
          default:
            encodeRpc(undefined, operation.method, operation.params,
              operation.callback);
          }
        },
        callback)
    }
docs: @function module:kurentoClient.KurentoClient~commitSerial
  
  @param {external:Object} params
  @param {external:Function} callback