code: function checkVideoCodec(key, value)
  {
    if(typeof value != 'string')
      throw SyntaxError(key+' param should be a String, not '+typeof value);
  
    if(!value.match('VP8|H264|RAW'))
      throw SyntaxError(key+' param is not one of [VP8|H264|RAW] ('+value+')');
  }
docs: Codec used for transmission of video.
  
  @typedef core/complexTypes.VideoCodec
  
  @type {(VP8|H264|RAW)}
   
  Checker for {@link module:core/complexTypes.VideoCodec}
  
  @memberof module:core/complexTypes
  
  @param {external:String} key
  @param {module:core/complexTypes.VideoCodec} value