code: function CCStreamEncoder( settings ) {
  
  	CCFrameEncoder.call( this, settings );
  
  	this.framerate = this.settings.framerate;
  	this.type = 'video/webm';
  	this.extension = '.webm';
  	this.stream = null;
  	this.mediaRecorder = null;
  	this.chunks = [];
  
  }
docs: /*
  HTMLCanvasElement.captureStream()