code: function (dataChannel, info, event) {
          if (event.data instanceof ArrayBuffer) {
            self.dispatchEvent('onReceived', {
              'channelLabel': info.label,
              'buffer': event.data
            });
          } else if (event.data instanceof Blob) {
            self.dispatchEvent('onReceived', {
              'channelLabel': info.label,
              'binary': event.data
            });
          } else if (typeof (event.data) === 'string') {
            self.dispatchEvent('onReceived', {
              'channelLabel': info.label,
              'text': event.data
            });
          }
        }
docs: Default on real message prints it to console.