lib/complexTypes/CodecConfiguration.js
function CodecConfiguration(codecConfigurationDict){
  if(!(this instanceof CodecConfiguration))
    return new CodecConfiguration(codecConfigurationDict)

  // Check codecConfigurationDict has the required fields
  checkType('String', 'codecConfigurationDict.name', codecConfigurationDict.name, {required: true});
  checkType('String', 'codecConfigurationDict.properties', codecConfigurationDict.properties);

  // Init parent class
  CodecConfiguration.super_.call(this, codecConfigurationDict)

  // Set object properties
  Object.defineProperties(this, {
    name: {
      writable: true,
      enumerable: true,
      value: codecConfigurationDict.name
    },
    properties: {
      writable: true,
      enumerable: true,
      value: codecConfigurationDict.properties
    }
  })
}
function CodecConfiguration(codecConfigurationDict){
  if(!(this instanceof CodecConfiguration))
    return new CodecConfiguration(codecConfigurationDict)

  // Check codecConfigurationDict has the required fields
  checkType('String', 'codecConfigurationDict.name', codecConfigurationDict.name, {required: true});
  checkType('String', 'codecConfigurationDict.properties', codecConfigurationDict.properties);

  // Init parent class
  CodecConfiguration.super_.call(this, codecConfigurationDict)

  // Set object properties
  Object.defineProperties(this, {
    name: {
      writable: true,
      enumerable: true,
      value: codecConfigurationDict.name
    },
    properties: {
      writable: true,
      enumerable: true,
      value: codecConfigurationDict.properties
    }
  })
}
function CodecConfiguration ( codecConfigurationDict ) { if ( ! ( this instanceof CodecConfiguration ) ) return new CodecConfiguration ( codecConfigurationDict ) // Check codecConfigurationDict has the required fields checkType ( 'String' , 'codecConfigurationDict.name' , codecConfigurationDict . name , { required : true } ) ; checkType ( 'String' , 'codecConfigurationDict.properties' , codecConfigurationDict . properties ) ; // Init parent class CodecConfiguration . super_ . call ( this , codecConfigurationDict ) // Set object properties Object . defineProperties ( this , { name : { writable : true , enumerable : true , value : codecConfigurationDict . name } , properties : { writable : true , enumerable : true , value : codecConfigurationDict . properties } } ) }
Defines specific configuration for codecs

@constructor module:core/complexTypes.CodecConfiguration

@property {external:String} name
Name of the codec defined as <encoding name>/<clock rate>[/<encoding
parameters>]
@property {external:String} properties
String used for tuning codec properties
Defines specific configuration for codecs