kurento-module-datachannelexample
Version:
[](http://www.apache.org/licenses/LICENSE-2.0) [](http://doc-kurento.readthedocs.org/en/lat
85 lines (68 loc) • 2.09 kB
JavaScript
/* Autogenerated with Kurento Idl */
/*
* (C) Copyright 2013-2015 Kurento (https://kurento.openvidu.io/)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
var inherits = require('inherits');
var kurentoClient = require('kurento-client');
var disguise = kurentoClient.disguise;
var ChecktypeError = kurentoClient.checkType.ChecktypeError;
var MediaElement = kurentoClient.register.abstracts.MediaElement;
/**
* Create an element
*
* @classdesc
* KmsShowData interface. Documentation about the module
*
* @extends module:core/abstracts.MediaElement
*
* @constructor module:datachannelexample.KmsShowData
*/
function KmsShowData(){
KmsShowData.super_.call(this);
};
inherits(KmsShowData, MediaElement);
/**
* @alias module:datachannelexample.KmsShowData.constructorParams
*
* @property {module:core.MediaPipeline} mediaPipeline
* the parent {@link MediaPipeline}
*/
KmsShowData.constructorParams = {
mediaPipeline: {
type: 'kurento.MediaPipeline',
required: true
}
};
/**
* @alias module:datachannelexample.KmsShowData.events
*
* @extends module:core/abstracts.MediaElement.events
*/
KmsShowData.events = MediaElement.events;
/**
* Checker for {@link module:datachannelexample.KmsShowData}
*
* @memberof module:datachannelexample
*
* @param {external:String} key
* @param {module:datachannelexample.KmsShowData} value
*/
function checkKmsShowData(key, value)
{
if(!(value instanceof KmsShowData))
throw ChecktypeError(key, KmsShowData, value);
};
module.exports = KmsShowData;
KmsShowData.check = checkKmsShowData;