Gets the amount of time (in milliseconds)
to wait for connectivity checks to re-establish
after they start to fail on a live connection.
Defaults to 15,000.
Returns number
getDynamicProperties
getDynamicProperties(): Hash<string, Object>
Gets the dynamic properties on this instance.
Returns Hash<string, Object>
getDynamicValue
getDynamicValue(key: string): Object
Gets a property value from the local cache.
Parameters
key: string
The property key. This key is used internally only, but should be namespaced to avoid conflict with third-party extensions.
Returns Object
The stored value, if found; otherwise null.
getError
getError(): Error
Gets the error.
Returns Error
Abstract getGatheringState
getGatheringState(): IceGatheringState
Gets the ICE gathering state.
Returns IceGatheringState
getHasAudio
getHasAudio(): boolean
Gets whether this connection has an audio stream.
Returns boolean
getHasData
getHasData(): boolean
Gets whether this connection has a data stream.
Returns boolean
getHasVideo
getHasVideo(): boolean
Gets whether this connection has a video stream.
Returns boolean
Abstract getIceConnectionState
getIceConnectionState(): IceConnectionState
Gets the ICE connection state.
Returns IceConnectionState
getIceGatherPolicy
getIceGatherPolicy(): IceGatherPolicy
Gets the ICE gather policy.
Returns IceGatherPolicy
getIceServer
getIceServer(): IceServer
Gets the ICE server.
Returns IceServer
getIceServers
getIceServers(): IceServer[]
Gets the ICE servers.
Returns IceServer[]
getId
getId(): string
Gets the identifier.
Returns string
ProtectedAbstract getInstance
getInstance(): TConnection
Gets the current instance.
Returns TConnection
getInternalId
getInternalId(): string
internal
Returns string
getIsDirty
getIsDirty(): boolean
Gets a value indicating whether this instance is dirty.
internal
Returns boolean
getIsInTerminatingOrTerminatedState
getIsInTerminatingOrTerminatedState(): boolean
internal
Returns boolean
getIsSerialized
getIsSerialized(): boolean
internal
Returns boolean
Abstract getLocalDescription
getLocalDescription(): SessionDescription
Gets the local description.
Returns SessionDescription
Abstract getRemoteDescription
getRemoteDescription(): SessionDescription
Gets the remote description.
Returns SessionDescription
getSerialized
getSerialized(): string
internal
Returns string
getSignallingState
getSignallingState(): SignallingState
Gets the state of the signalling.
Returns SignallingState
getState
getState(): ConnectionState
Gets the state of the connection.
Returns ConnectionState
Abstract getStats
getStats(): Future<ConnectionStats>
Gets the current connection stats.
Returns Future<ConnectionStats>
getStream
getStream(): TStream
Gets the first stream.
Returns TStream
Abstract getStreams
getStreams(): TStream[]
Gets the streams.
Returns TStream[]
getTieBreaker
getTieBreaker(): string
Gets the tie breaker.
Returns string
getTimeout
getTimeout(): number
Gets the amount of time (in milliseconds)
to wait for a connection to establish before
giving up and closing it. Defaults to 30,000.
Removes a handler that is raised when the connection state changes.
Parameters
value: IAction1<TConnection>
Returns void
setDeadStreamTimeout
setDeadStreamTimeout(value: number): void
Sets the amount of time (in milliseconds)
to wait for connectivity checks to re-establish
after they start to fail on a live connection.
Defaults to 15,000.