@webex/webrtc-core
Advanced tools
Comparing version 1.2.0 to 1.3.0
@@ -9,2 +9,3 @@ /** | ||
createOffer(options?: RTCOfferOptions): Promise<RTCSessionDescriptionInit>; | ||
getStats(): Promise<any>; | ||
onconnectionstatechange: () => void; | ||
@@ -11,0 +12,0 @@ oniceconnectionstatechange: () => void; |
@@ -29,2 +29,3 @@ import { ConnectionState } from './connection-state-handler'; | ||
} | ||
declare type ConnectionType = 'UDP' | 'TCP' | 'TURN-TLS' | 'TURN-TCP' | 'TURN-UDP' | 'unknown'; | ||
/** | ||
@@ -188,2 +189,8 @@ * Manages a single RTCPeerConnection with the server. | ||
get iceGatheringState(): RTCIceGathererState; | ||
/** | ||
* Returns the type of a connection that has been established. | ||
* | ||
* @returns The connection type which would be `ConnectionType`. | ||
*/ | ||
getCurrentConnectionType(): Promise<ConnectionType>; | ||
} | ||
@@ -190,0 +197,0 @@ export { ConnectionState } from './connection-state-handler'; |
{ | ||
"name": "@webex/webrtc-core", | ||
"version": "1.2.0", | ||
"version": "1.3.0", | ||
"main": "dist/cjs/index.js", | ||
@@ -5,0 +5,0 @@ "module": "dist/esm/index.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
657213
15095