/ fm / liveswitch / WssWebSocketConnection
Class: WssWebSocketConnection
fm.liveswitch.WssWebSocketConnection
Hierarchy
WssWebSocketConnectionBase<WssWebSocketConnection, WebRtcStream, WebRtcAudioStream, WebRtcVideoStream, WebRtcDataStream, WebRtcDataChannel>
↳ WssWebSocketConnection
Implements
Table of contents
Constructors
Properties
Methods
- _getExternal
- addIceServer
- addIceServers
- addOnExternalIdChange
- addOnGatheringStateChange
- addOnIceConnectionStateChange
- addOnLocalCandidate
- addOnLocalDescription
- addOnRemoteCandidate
- addOnRemoteDescription
- addOnSignallingStateChange
- addOnStateChange
- addRemoteCandidate
- addToWebSocketConnection
- close
- createAnswer
- createOffer
- createWssManager
- fail
- getAudioStream
- getAudioStreams
- getBundlePolicy
- getCanonicalName
- getDataStream
- getDataStreams
- getDeadStreamTimeout
- getDynamicProperties
- getDynamicValue
- getError
- getExternalId
- getGatheringState
- getHasAudio
- getHasData
- getHasVideo
- getIceConnectionState
- getIceGatherPolicy
- getIceServer
- getIceServers
- getId
- getLegacyTimeout
- getLocalDescription
- getMediaProtocol
- getRemoteDescription
- getSignallingState
- getState
- getStats
- getStreams
- getTieBreaker
- getTimeout
- getTrickleIcePolicy
- getTypeString
- getVideoEnabledUpdateConnectionPolicy
- getVideoRetentionPolicy
- getVideoStream
- getVideoStreams
- isCapableOfReceiving
- isCapableOfSending
- removeIceServer
- removeIceServers
- removeOnExternalIdChange
- removeOnGatheringStateChange
- removeOnIceConnectionStateChange
- removeOnLocalCandidate
- removeOnLocalDescription
- removeOnRemoteCandidate
- removeOnRemoteDescription
- removeOnSignallingStateChange
- removeOnStateChange
- setBundlePolicy
- setDeadStreamTimeout
- setDynamicValue
- setError
- setExternalId
- setIceGatherPolicy
- setIceServer
- setIceServers
- setLegacyTimeout
- setLocalDescription
- setRemoteDescription
- setState
- setTieBreaker
- setTimeout
- setTrickleIcePolicy
- setVideoEnabledUpdateConnectionPolicy
- setVideoRetentionPolicy
- streamOverWebSocket
- unsetDynamicValue
- updateWebSocketConnection
Constructors
constructor
+ new WssWebSocketConnection(external
: IExternalConnection, localMediaForAudio
: LocalMedia, localMediaForVideo
: LocalMedia, remoteMedia
: RemoteMedia, streams
: WebRtcStream[]): WssWebSocketConnection
Parameters:
Name | Type |
---|---|
external |
IExternalConnection |
localMediaForAudio |
LocalMedia |
localMediaForVideo |
LocalMedia |
remoteMedia |
RemoteMedia |
streams |
WebRtcStream[] |
Returns: WssWebSocketConnection
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnection.ts:50
Properties
__localMediaForAudio
• Protected
__localMediaForAudio: LocalMedia
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnectionBase.ts:15
__localMediaForVideo
• Protected
__localMediaForVideo: LocalMedia
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnectionBase.ts:16
__remoteMedia
• Protected
__remoteMedia: RemoteMedia
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnectionBase.ts:37
Methods
_getExternal
▸ _getExternal(): IExternalConnection
Returns: IExternalConnection
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnection.ts:31
addIceServer
▸ addIceServer(iceServer
: IceServer): void
Parameters:
Name | Type |
---|---|
iceServer |
IceServer |
Returns: void
Implementation of: IInternalConnection
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnectionBase.ts:137
addIceServers
▸ addIceServers(iceServers
: IceServer[]): void
Parameters:
Name | Type |
---|---|
iceServers |
IceServer[] |
Returns: void
Implementation of: IInternalConnection
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnectionBase.ts:144
addOnExternalIdChange
▸ addOnExternalIdChange(value
: IAction2<string, string>): void
Parameters:
Name | Type |
---|---|
value |
IAction2<string, string> |
Returns: void
Implementation of: IInternalConnection
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnectionBase.ts:151
addOnGatheringStateChange
▸ addOnGatheringStateChange(value
: IAction1<WssWebSocketConnection>): void
Parameters:
Name | Type |
---|---|
value |
IAction1<WssWebSocketConnection> |
Returns: void
Implementation of: IInternalConnection
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnectionBase.ts:158
addOnIceConnectionStateChange
▸ addOnIceConnectionStateChange(value
: IAction1<WssWebSocketConnection>): void
Parameters:
Name | Type |
---|---|
value |
IAction1<WssWebSocketConnection> |
Returns: void
Implementation of: IInternalConnection
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnectionBase.ts:165
addOnLocalCandidate
▸ addOnLocalCandidate(value
: IAction2<WssWebSocketConnection, Candidate>): void
Parameters:
Name | Type |
---|---|
value |
IAction2<WssWebSocketConnection, Candidate> |
Returns: void
Implementation of: IInternalConnection
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnectionBase.ts:172
addOnLocalDescription
▸ addOnLocalDescription(value
: IAction2<WssWebSocketConnection, SessionDescription>): void
Parameters:
Name | Type |
---|---|
value |
IAction2<WssWebSocketConnection, SessionDescription> |
Returns: void
Implementation of: IInternalConnection
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnectionBase.ts:179
addOnRemoteCandidate
▸ addOnRemoteCandidate(value
: IAction2<WssWebSocketConnection, Candidate>): void
Parameters:
Name | Type |
---|---|
value |
IAction2<WssWebSocketConnection, Candidate> |
Returns: void
Implementation of: IInternalConnection
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnectionBase.ts:186
addOnRemoteDescription
▸ addOnRemoteDescription(value
: IAction2<WssWebSocketConnection, SessionDescription>): void
Parameters:
Name | Type |
---|---|
value |
IAction2<WssWebSocketConnection, SessionDescription> |
Returns: void
Implementation of: IInternalConnection
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnectionBase.ts:193
addOnSignallingStateChange
▸ addOnSignallingStateChange(value
: IAction1<WssWebSocketConnection>): void
Parameters:
Name | Type |
---|---|
value |
IAction1<WssWebSocketConnection> |
Returns: void
Implementation of: IInternalConnection
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnectionBase.ts:200
addOnStateChange
▸ addOnStateChange(value
: IAction1<WssWebSocketConnection>): void
Parameters:
Name | Type |
---|---|
value |
IAction1<WssWebSocketConnection> |
Returns: void
Implementation of: IInternalConnection
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnectionBase.ts:207
addRemoteCandidate
▸ addRemoteCandidate(remoteCandidate
: Candidate): Future<Candidate>
Parameters:
Name | Type |
---|---|
remoteCandidate |
Candidate |
Implementation of: IInternalConnection
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnectionBase.ts:214
addToWebSocketConnection
▸ addToWebSocketConnection(openArgs
: WssServiceOpenArgs): void
Parameters:
Name | Type |
---|---|
openArgs |
WssServiceOpenArgs |
Returns: void
Implementation of: IInternalConnection
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnectionBase.ts:251
close
▸ close(): boolean
Returns: boolean
Implementation of: IInternalConnection
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnectionBase.ts:260
createAnswer
▸ createAnswer(): Future<SessionDescription>
Returns: Future<SessionDescription>
Implementation of: IInternalConnection
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnectionBase.ts:267
createOffer
▸ createOffer(): Future<SessionDescription>
Returns: Future<SessionDescription>
Implementation of: IInternalConnection
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnectionBase.ts:274
createWssManager
▸ createWssManager(openArgs
: WssServiceOpenArgs): WssManager
Parameters:
Name | Type |
---|---|
openArgs |
WssServiceOpenArgs |
Returns: WssManager
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnection.ts:5
fail
▸ fail(error
: Error): void
Parameters:
Name | Type |
---|---|
error |
Error |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnectionBase.ts:283
getAudioStream
▸ getAudioStream(): WebRtcAudioStream
Returns: WebRtcAudioStream
Implementation of: IInternalConnection
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnectionBase.ts:291
getAudioStreams
▸ getAudioStreams(): WebRtcAudioStream[]
Returns: WebRtcAudioStream[]
Implementation of: IInternalConnection
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnection.ts:8
getBundlePolicy
▸ getBundlePolicy(): BundlePolicy
Returns: BundlePolicy
Implementation of: IInternalConnection
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnectionBase.ts:303
getCanonicalName
▸ getCanonicalName(): string
Returns: string
Implementation of: IInternalConnection
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnectionBase.ts:310
getDataStream
▸ getDataStream(): WebRtcDataStream
Returns: WebRtcDataStream
Implementation of: IInternalConnection
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnectionBase.ts:317
getDataStreams
▸ getDataStreams(): WebRtcDataStream[]
Returns: WebRtcDataStream[]
Implementation of: IInternalConnection
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnection.ts:11
getDeadStreamTimeout
▸ getDeadStreamTimeout(): number
Returns: number
Implementation of: IInternalConnection
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnectionBase.ts:329
getDynamicProperties
▸ getDynamicProperties(): Hash<string, Object>
Gets all dynamic properties on this instance.
Returns: Hash<string, Object>
Defined in: Generated/TypeScript/fm.liveswitch/Dynamic.ts:37
getDynamicValue
▸ getDynamicValue(key
: string): Object
Gets a property value from the local cache.
Parameters:
Name | Type | Description |
---|---|---|
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.
Defined in: Generated/TypeScript/fm.liveswitch/Dynamic.ts:61
getError
▸ getError(): Error
Returns: Error
Implementation of: IInternalConnection
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnectionBase.ts:336
getExternalId
▸ getExternalId(): string
Returns: string
Implementation of: IInternalConnection
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnection.ts:35
getGatheringState
▸ getGatheringState(): IceGatheringState
Returns: IceGatheringState
Implementation of: IInternalConnection
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnectionBase.ts:350
getHasAudio
▸ getHasAudio(): boolean
Returns: boolean
Implementation of: IInternalConnection
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnectionBase.ts:357
getHasData
▸ getHasData(): boolean
Returns: boolean
Implementation of: IInternalConnection
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnectionBase.ts:364
getHasVideo
▸ getHasVideo(): boolean
Returns: boolean
Implementation of: IInternalConnection
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnectionBase.ts:371
getIceConnectionState
▸ getIceConnectionState(): IceConnectionState
Returns: IceConnectionState
Implementation of: IInternalConnection
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnectionBase.ts:378
getIceGatherPolicy
▸ getIceGatherPolicy(): IceGatherPolicy
Returns: IceGatherPolicy
Implementation of: IInternalConnection
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnectionBase.ts:385
getIceServer
▸ getIceServer(): IceServer
Returns: IceServer
Implementation of: IInternalConnection
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnectionBase.ts:392
getIceServers
▸ getIceServers(): IceServer[]
Returns: IceServer[]
Implementation of: IInternalConnection
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnectionBase.ts:399
getId
▸ getId(): string
Returns: string
Implementation of: IInternalConnection
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnectionBase.ts:406
getLegacyTimeout
▸ getLegacyTimeout(): boolean
Returns: boolean
Implementation of: IInternalConnection
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnectionBase.ts:413
getLocalDescription
▸ getLocalDescription(): SessionDescription
Returns: SessionDescription
Implementation of: IInternalConnection
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnectionBase.ts:420
getMediaProtocol
▸ getMediaProtocol(): MediaProtocol
Returns: MediaProtocol
Implementation of: IInternalConnection
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnectionBase.ts:427
getRemoteDescription
▸ getRemoteDescription(): SessionDescription
Returns: SessionDescription
Implementation of: IInternalConnection
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnectionBase.ts:434
getSignallingState
▸ getSignallingState(): SignallingState
Returns: SignallingState
Implementation of: IInternalConnection
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnectionBase.ts:441
getState
▸ getState(): ConnectionState
Returns: ConnectionState
Implementation of: IInternalConnection
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnectionBase.ts:448
getStats
▸ getStats(): Future<ConnectionStats>
Returns: Future<ConnectionStats>
Implementation of: IInternalConnection
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnectionBase.ts:455
getStreams
▸ getStreams(): WebRtcStream[]
Returns: WebRtcStream[]
Implementation of: IInternalConnection
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnection.ts:17
getTieBreaker
▸ getTieBreaker(): string
Returns: string
Implementation of: IInternalConnection
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnectionBase.ts:470
getTimeout
▸ getTimeout(): number
Returns: number
Implementation of: IInternalConnection
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnectionBase.ts:477
getTrickleIcePolicy
▸ getTrickleIcePolicy(): TrickleIcePolicy
Returns: TrickleIcePolicy
Implementation of: IInternalConnection
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnectionBase.ts:484
getTypeString
▸ getTypeString(): string
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnectionBase.ts:6
getVideoEnabledUpdateConnectionPolicy
▸ getVideoEnabledUpdateConnectionPolicy(): IFunction1<number, number>
Returns: IFunction1<number, number>
Implementation of: IInternalConnection
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnection.ts:45
getVideoRetentionPolicy
▸ getVideoRetentionPolicy(): VideoRetentionPolicy
Returns: VideoRetentionPolicy
Implementation of: IInternalConnection
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnection.ts:39
getVideoStream
▸ getVideoStream(): WebRtcVideoStream
Returns: WebRtcVideoStream
Implementation of: IInternalConnection
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnectionBase.ts:491
getVideoStreams
▸ getVideoStreams(): WebRtcVideoStream[]
Returns: WebRtcVideoStream[]
Implementation of: IInternalConnection
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnection.ts:14
isCapableOfReceiving
▸ isCapableOfReceiving(): boolean
Returns: boolean
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnection.ts:25
isCapableOfSending
▸ isCapableOfSending(): boolean
Returns: boolean
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnection.ts:22
removeIceServer
▸ removeIceServer(iceServer
: IceServer): void
Parameters:
Name | Type |
---|---|
iceServer |
IceServer |
Returns: void
Implementation of: IInternalConnection
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnectionBase.ts:544
removeIceServers
▸ removeIceServers(iceServers
: IceServer[]): void
Parameters:
Name | Type |
---|---|
iceServers |
IceServer[] |
Returns: void
Implementation of: IInternalConnection
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnectionBase.ts:551
removeOnExternalIdChange
▸ removeOnExternalIdChange(value
: IAction2<string, string>): void
Parameters:
Name | Type |
---|---|
value |
IAction2<string, string> |
Returns: void
Implementation of: IInternalConnection
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnectionBase.ts:558
removeOnGatheringStateChange
▸ removeOnGatheringStateChange(value
: IAction1<WssWebSocketConnection>): void
Parameters:
Name | Type |
---|---|
value |
IAction1<WssWebSocketConnection> |
Returns: void
Implementation of: IInternalConnection
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnectionBase.ts:565
removeOnIceConnectionStateChange
▸ removeOnIceConnectionStateChange(value
: IAction1<WssWebSocketConnection>): void
Parameters:
Name | Type |
---|---|
value |
IAction1<WssWebSocketConnection> |
Returns: void
Implementation of: IInternalConnection
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnectionBase.ts:572
removeOnLocalCandidate
▸ removeOnLocalCandidate(value
: IAction2<WssWebSocketConnection, Candidate>): void
Parameters:
Name | Type |
---|---|
value |
IAction2<WssWebSocketConnection, Candidate> |
Returns: void
Implementation of: IInternalConnection
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnectionBase.ts:579
removeOnLocalDescription
▸ removeOnLocalDescription(value
: IAction2<WssWebSocketConnection, SessionDescription>): void
Parameters:
Name | Type |
---|---|
value |
IAction2<WssWebSocketConnection, SessionDescription> |
Returns: void
Implementation of: IInternalConnection
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnectionBase.ts:586
removeOnRemoteCandidate
▸ removeOnRemoteCandidate(value
: IAction2<WssWebSocketConnection, Candidate>): void
Parameters:
Name | Type |
---|---|
value |
IAction2<WssWebSocketConnection, Candidate> |
Returns: void
Implementation of: IInternalConnection
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnectionBase.ts:593
removeOnRemoteDescription
▸ removeOnRemoteDescription(value
: IAction2<WssWebSocketConnection, SessionDescription>): void
Parameters:
Name | Type |
---|---|
value |
IAction2<WssWebSocketConnection, SessionDescription> |
Returns: void
Implementation of: IInternalConnection
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnectionBase.ts:600
removeOnSignallingStateChange
▸ removeOnSignallingStateChange(value
: IAction1<WssWebSocketConnection>): void
Parameters:
Name | Type |
---|---|
value |
IAction1<WssWebSocketConnection> |
Returns: void
Implementation of: IInternalConnection
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnectionBase.ts:607
removeOnStateChange
▸ removeOnStateChange(value
: IAction1<WssWebSocketConnection>): void
Parameters:
Name | Type |
---|---|
value |
IAction1<WssWebSocketConnection> |
Returns: void
Implementation of: IInternalConnection
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnectionBase.ts:614
setBundlePolicy
▸ setBundlePolicy(value
: BundlePolicy): void
Parameters:
Name | Type |
---|---|
value |
BundlePolicy |
Returns: void
Implementation of: IInternalConnection
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnectionBase.ts:621
setDeadStreamTimeout
▸ setDeadStreamTimeout(value
: number): void
Parameters:
Name | Type |
---|---|
value |
number |
Returns: void
Implementation of: IInternalConnection
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnectionBase.ts:628
setDynamicValue
▸ setDynamicValue(key
: string, value
: Object): void
Sets a property value in the local cache.
Parameters:
Name | Type | Description |
---|---|---|
key |
string | The property key. This key is used internally only, but should be namespaced to avoid conflict with third-party extensions. |
value |
Object | The property value. This can be any object that needs to be stored for future use. |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/Dynamic.ts:98
setError
▸ setError(value
: Error): void
Parameters:
Name | Type |
---|---|
value |
Error |
Returns: void
Implementation of: IInternalConnection
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnectionBase.ts:636
setExternalId
▸ setExternalId(value
: string): void
Parameters:
Name | Type |
---|---|
value |
string |
Returns: void
Implementation of: IInternalConnection
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnectionBase.ts:643
setIceGatherPolicy
▸ setIceGatherPolicy(value
: IceGatherPolicy): void
Parameters:
Name | Type |
---|---|
value |
IceGatherPolicy |
Returns: void
Implementation of: IInternalConnection
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnectionBase.ts:650
setIceServer
▸ setIceServer(value
: IceServer): void
Parameters:
Name | Type |
---|---|
value |
IceServer |
Returns: void
Implementation of: IInternalConnection
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnectionBase.ts:657
setIceServers
▸ setIceServers(value
: IceServer[]): void
Parameters:
Name | Type |
---|---|
value |
IceServer[] |
Returns: void
Implementation of: IInternalConnection
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnectionBase.ts:664
setLegacyTimeout
▸ setLegacyTimeout(value
: boolean): void
Parameters:
Name | Type |
---|---|
value |
boolean |
Returns: void
Implementation of: IInternalConnection
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnectionBase.ts:679
setLocalDescription
▸ setLocalDescription(localDescription
: SessionDescription): Future<SessionDescription>
Parameters:
Name | Type |
---|---|
localDescription |
SessionDescription |
Returns: Future<SessionDescription>
Implementation of: IInternalConnection
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnectionBase.ts:686
setRemoteDescription
▸ setRemoteDescription(remoteDescription
: SessionDescription): Future<SessionDescription>
Parameters:
Name | Type |
---|---|
remoteDescription |
SessionDescription |
Returns: Future<SessionDescription>
Implementation of: IInternalConnection
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnectionBase.ts:693
setState
▸ setState(value
: ConnectionState): void
Parameters:
Name | Type |
---|---|
value |
ConnectionState |
Returns: void
Implementation of: IInternalConnection
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnectionBase.ts:700
setTieBreaker
▸ setTieBreaker(value
: string): void
Parameters:
Name | Type |
---|---|
value |
string |
Returns: void
Implementation of: IInternalConnection
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnectionBase.ts:757
setTimeout
▸ setTimeout(value
: number): void
Parameters:
Name | Type |
---|---|
value |
number |
Returns: void
Implementation of: IInternalConnection
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnectionBase.ts:764
setTrickleIcePolicy
▸ setTrickleIcePolicy(value
: TrickleIcePolicy): void
Parameters:
Name | Type |
---|---|
value |
TrickleIcePolicy |
Returns: void
Implementation of: IInternalConnection
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnectionBase.ts:772
setVideoEnabledUpdateConnectionPolicy
▸ setVideoEnabledUpdateConnectionPolicy(value
: IFunction1<number, number>): void
Parameters:
Name | Type |
---|---|
value |
IFunction1<number, number> |
Returns: void
Implementation of: IInternalConnection
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnection.ts:48
setVideoRetentionPolicy
▸ setVideoRetentionPolicy(value
: VideoRetentionPolicy): void
Parameters:
Name | Type |
---|---|
value |
VideoRetentionPolicy |
Returns: void
Implementation of: IInternalConnection
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnection.ts:42
streamOverWebSocket
▸ streamOverWebSocket(audioWebSocketStreamId
: number, videoWebSocketStreamId
: number, videoStreamInfo
: MediaStreamInfo): void
Parameters:
Name | Type |
---|---|
audioWebSocketStreamId |
number |
videoWebSocketStreamId |
number |
videoStreamInfo |
MediaStreamInfo |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnectionBase.ts:779
unsetDynamicValue
▸ unsetDynamicValue(key
: string): boolean
Removes a property value from the local cache. Returns true if the value was removed and returns false otherwise.
Parameters:
Name | Type | Description |
---|---|---|
key |
string | The property key. This key is used internally only, but should be namespaced to avoid conflict with third-party extensions. |
Returns: boolean
true
if the value was removed; otherwise, false
.
Defined in: Generated/TypeScript/fm.liveswitch/Dynamic.ts:125
updateWebSocketConnection
▸ updateWebSocketConnection(config
: ConnectionConfig, promise
: Promise<Object>): void
Parameters:
Name | Type |
---|---|
config |
ConnectionConfig |
promise |
Promise<Object> |
Returns: void
Implementation of: IInternalConnection
Defined in: Generated/TypeScript/fm.liveswitch/WssWebSocketConnectionBase.ts:882