kurento-client-elements
Advanced tools
Comparing version 7.0.0 to 7.1.0
@@ -31,2 +31,4 @@ /* Autogenerated with Kurento Idl */ | ||
var DSCPValue = require('./DSCPValue'); | ||
var DtlsConnection = require('./DtlsConnection'); | ||
var DtlsConnectionState = require('./DtlsConnectionState'); | ||
var GapsFixMethod = require('./GapsFixMethod'); | ||
@@ -45,2 +47,4 @@ var IceCandidate = require('./IceCandidate'); | ||
exports.DSCPValue = DSCPValue; | ||
exports.DtlsConnection = DtlsConnection; | ||
exports.DtlsConnectionState = DtlsConnectionState; | ||
exports.GapsFixMethod = GapsFixMethod; | ||
@@ -47,0 +51,0 @@ exports.IceCandidate = IceCandidate; |
@@ -43,2 +43,20 @@ /* Autogenerated with Kurento Idl */ | ||
/** | ||
* Event fired when and ICE component DTLS connection state changes. | ||
* See :rom:cls:`DtlsComponentState` for a list of possible states. | ||
* | ||
* @event module:elements#DtlsConnectionStateChange | ||
* | ||
* @type {module:elements#event:Media} | ||
* | ||
* @property {external:String} streamId | ||
* The ID of the stream | ||
* @property {external:String} componentId | ||
* The ID of the component | ||
* @property {external:String} connectionId | ||
* ID of the underlying DTLS connection | ||
* @property {module:elements/complexTypes.DtlsConnectionState} state | ||
* The state of the component | ||
*/ | ||
/** | ||
* Event raised when the stream that the element sends out is finished. | ||
@@ -45,0 +63,0 @@ * |
@@ -29,3 +29,3 @@ /* Autogenerated with Kurento Idl */ | ||
Object.defineProperty(exports, 'name', {value: 'elements'}); | ||
Object.defineProperty(exports, 'version', {value: '7.0.0'}); | ||
Object.defineProperty(exports, 'version', {value: '7.1.0'}); | ||
@@ -32,0 +32,0 @@ |
@@ -355,2 +355,3 @@ /* Autogenerated with Kurento Idl */ | ||
* @fires {@link module:elements#event:DataChannelOpened DataChannelOpened} | ||
* @fires {@link module:elements#event:DtlsConnectionStateChange DtlsConnectionStateChange} | ||
* @fires {@link module:elements#event:IceCandidateFound IceCandidateFound} | ||
@@ -372,2 +373,34 @@ * @fires {@link module:elements#event:IceComponentStateChanged IceComponentStateChanged} | ||
/** | ||
* the DTLS connection state for all the connections. | ||
* | ||
* @alias module:elements.WebRtcEndpoint#getDtlsConnectionState | ||
* | ||
* @param {module:elements.WebRtcEndpoint~getDtlsConnectionStateCallback} [callback] | ||
* | ||
* @return {external:Promise} | ||
*/ | ||
WebRtcEndpoint.prototype.getDtlsConnectionState = function(callback){ | ||
var transaction = (arguments[0] instanceof Transaction) | ||
? Array.prototype.shift.apply(arguments) | ||
: undefined; | ||
var usePromise = false; | ||
if (callback == undefined) { | ||
usePromise = true; | ||
} | ||
if(!arguments.length) callback = undefined; | ||
callback = (callback || noop).bind(this) | ||
return disguise(this._invoke(transaction, 'getDtlsConnectionState', callback), this) | ||
}; | ||
/** | ||
* @callback module:elements.WebRtcEndpoint~getDtlsConnectionStateCallback | ||
* @param {external:Error} error | ||
* @param {module:elements/complexTypes.DtlsConnection} result | ||
*/ | ||
/** | ||
* External IPv4 address of the media server. | ||
@@ -1478,3 +1511,3 @@ * <p> | ||
*/ | ||
WebRtcEndpoint.events = BaseRtpEndpoint.events.concat(['DataChannelClosed', 'DataChannelOpened', 'IceCandidateFound', 'IceComponentStateChanged', 'IceGatheringDone', 'NewCandidatePairSelected']); | ||
WebRtcEndpoint.events = BaseRtpEndpoint.events.concat(['DataChannelClosed', 'DataChannelOpened', 'DtlsConnectionStateChange', 'IceCandidateFound', 'IceComponentStateChanged', 'IceGatheringDone', 'NewCandidatePairSelected']); | ||
@@ -1481,0 +1514,0 @@ |
{ | ||
"name": "kurento-client-elements", | ||
"version": "7.0.0", | ||
"version": "7.1.0", | ||
"description": "JavaScript Client API for Kurento Media Server", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -74,3 +74,3 @@ [![License badge](https://img.shields.io/badge/license-Apache2-orange.svg)](http://www.apache.org/licenses/LICENSE-2.0) | ||
code or new documentation. For contributing to the Kurento community, drop a | ||
post to the [Kurento Public Mailing List] providing full information about your | ||
post to the [Kurento discussion forum] providing full information about your | ||
contribution and its value. In your contributions, you must comply with the | ||
@@ -110,3 +110,3 @@ following guidelines | ||
[Kurento Netiquette Guidelines]: https://kurento.openvidu.io/blog/kurento-netiquette-guidelines | ||
[Kurento Public Mailing list]: https://groups.google.com/forum/#!forum/kurento | ||
[Kurento discussion forum]: https://github.com/orgs/Kurento/discussions | ||
[KurentoImage]: https://secure.gravatar.com/avatar/21a2a12c56b2a91c8918d5779f1778bf?s=120 | ||
@@ -113,0 +113,0 @@ [Apache 2.0 License]: http://www.apache.org/licenses/LICENSE-2.0 |
@@ -73,3 +73,3 @@ [![License badge](https://img.shields.io/badge/license-Apache2-orange.svg)](http://www.apache.org/licenses/LICENSE-2.0) | ||
code or new documentation. For contributing to the Kurento community, drop a | ||
post to the [Kurento Public Mailing List] providing full information about your | ||
post to the [Kurento discussion forum] providing full information about your | ||
contribution and its value. In your contributions, you must comply with the | ||
@@ -109,3 +109,3 @@ following guidelines | ||
[Kurento Netiquette Guidelines]: https://kurento.openvidu.io/blog/kurento-netiquette-guidelines | ||
[Kurento Public Mailing list]: https://groups.google.com/forum/#!forum/kurento | ||
[Kurento discussion forum]: https://github.com/orgs/Kurento/discussions | ||
[KurentoImage]: https://secure.gravatar.com/avatar/21a2a12c56b2a91c8918d5779f1778bf?s=120 | ||
@@ -112,0 +112,0 @@ [Apache 2.0 License]: http://www.apache.org/licenses/LICENSE-2.0 |
Sorry, the diff of this file is too big to display
249664
33
5745