/ fm / liveswitch / Channel
Class: Channel
fm.liveswitch.Channel
A channel.
Hierarchy
-
↳ Channel
Table of contents
Methods
- addOnClaimUpdate
- addOnClientMessage
- addOnDeviceMessage
- addOnKick
- addOnMcuVideoLayout
- addOnMessage
- addOnPeerConnectionOffer
- addOnRemoteClientJoin
- addOnRemoteClientLeave
- addOnRemoteClientUpdate
- addOnRemoteUpstreamConnectionClose
- addOnRemoteUpstreamConnectionOpen
- addOnRemoteUpstreamConnectionUpdate
- addOnUserMessage
- closeAll
- createMcuConnection
- createPeerConnection
- createSfuDownstreamConnection
- createSfuDownstreamConnectionWithRemoteInternalId
- createSfuUpstreamConnection
- createSfuUpstreamConnectionWithRemoteInternalId
- fmliveswitchChannelInit
- getApplicationId
- getClaim
- getClientId
- getClientRoles
- getClientTag
- getConnections
- getDeviceAlias
- getDeviceId
- getDynamicProperties
- getDynamicValue
- getId
- getMessageBytesReceived
- getMessageBytesSent
- getMessagesReceived
- getMessagesSent
- getRemoteClientInfo
- getRemoteClientInfos
- getRemoteConnectionInfo
- getRemoteUpstreamConnectionInfos
- getTypeString
- getUserAlias
- getUserId
- getWebSocketAccessToken
- getWebSocketServerEndpointUrl
- invite
- kick
- kickClient
- kickConnection
- kickDevice
- kickUser
- rejectPeerConnection
- removeOnClaimUpdate
- removeOnClientMessage
- removeOnDeviceMessage
- removeOnKick
- removeOnMcuVideoLayout
- removeOnMessage
- removeOnPeerConnectionOffer
- removeOnRemoteClientJoin
- removeOnRemoteClientLeave
- removeOnRemoteClientUpdate
- removeOnRemoteUpstreamConnectionClose
- removeOnRemoteUpstreamConnectionOpen
- removeOnRemoteUpstreamConnectionUpdate
- removeOnUserMessage
- sendClientMessage
- sendDeviceMessage
- sendMessage
- sendUserMessage
- setDynamicValue
- unsetDynamicValue
- update
- updateClient
- updateClientLayout
- updateConnection
- updateConnectionLayout
- updateDevice
- updateDeviceLayout
- updateLayout
- updateUser
- updateUserLayout
Methods
addOnClaimUpdate
▸ addOnClaimUpdate(value
: IAction2<ChannelClaim, ChannelClaim>): void
Adds a handler that is raised when the client's channel claim has been updated. Parameters:
- oldConnectionInfo - the old channel claim
- newConnectionInfo - the new channel claim
Parameters:
Name | Type |
---|---|
value |
IAction2<ChannelClaim, ChannelClaim> |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:239
addOnClientMessage
▸ addOnClientMessage(value
: IAction2<ClientInfo, string>): void
Adds a handler that is raised when a channel/client-scope message is received from the server. Parameters:
- clientInfo - the sending client information
- message - the message
Parameters:
Name | Type |
---|---|
value |
IAction2<ClientInfo, string> |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:254
addOnDeviceMessage
▸ addOnDeviceMessage(value
: IAction2<ClientInfo, string>): void
Adds a handler that is raised when a channel/device-scope message is received from the server. Parameters:
- clientInfo - the sending client information
- message - the message
Parameters:
Name | Type |
---|---|
value |
IAction2<ClientInfo, string> |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:269
addOnKick
▸ addOnKick(value
: IAction0): void
Adds a handler that is raised when the client is kicked from the channel.
Parameters:
Name | Type |
---|---|
value |
IAction0 |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:281
addOnMcuVideoLayout
▸ addOnMcuVideoLayout(value
: IAction1<VideoLayout>): void
Adds a handler that is raised when a new MCU video layout is received from the server. Parameters:
- videoLayout - the new MCU video layout
Parameters:
Name | Type |
---|---|
value |
IAction1<VideoLayout> |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:303
addOnMessage
▸ addOnMessage(value
: IAction2<ClientInfo, string>): void
Adds a handler that is raised when a channel-scope message is received from the server. Parameters:
- clientInfo - the sending client information
- message - the message
Parameters:
Name | Type |
---|---|
value |
IAction2<ClientInfo, string> |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:318
addOnPeerConnectionOffer
▸ addOnPeerConnectionOffer(value
: IAction1<PeerConnectionOffer>): void
Adds a handler that is raised when a remote client wants to open a peer connection. Parameters:
- peerConnectionOffer - the peer connection offer
Parameters:
Name | Type |
---|---|
value |
IAction1<PeerConnectionOffer> |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:332
addOnRemoteClientJoin
▸ addOnRemoteClientJoin(value
: IAction1<ClientInfo>): void
Adds a handler that is raised when a remote client joins this channel. Parameters:
- clientInfo - the remote client information
Parameters:
Name | Type |
---|---|
value |
IAction1<ClientInfo> |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:346
addOnRemoteClientLeave
▸ addOnRemoteClientLeave(value
: IAction1<ClientInfo>): void
Adds a handler that is raised when a remote client leaves this channel. Parameters:
- clientInfo - the remote client information
Parameters:
Name | Type |
---|---|
value |
IAction1<ClientInfo> |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:360
addOnRemoteClientUpdate
▸ addOnRemoteClientUpdate(value
: IAction2<ClientInfo, ClientInfo>): void
Adds a handler that is raised when a remote client updates their config. Parameters:
- oldClientInfo - the old remote client information
- newClientInfo - the new remote client information
Parameters:
Name | Type |
---|---|
value |
IAction2<ClientInfo, ClientInfo> |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:375
addOnRemoteUpstreamConnectionClose
▸ addOnRemoteUpstreamConnectionClose(value
: IAction1<ConnectionInfo>): void
Adds a handler that is raised when a remote upstream (SFU or MCU) connection is closed by a remote client. Parameters:
- connectionInfo - the remote connection information
Parameters:
Name | Type |
---|---|
value |
IAction1<ConnectionInfo> |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:390
addOnRemoteUpstreamConnectionOpen
▸ addOnRemoteUpstreamConnectionOpen(value
: IAction1<ConnectionInfo>): void
Adds a handler that is raised when a remote upstream (SFU or MCU) connection is opened by a remote client. Parameters:
- connectionInfo - the remote connection information
Parameters:
Name | Type |
---|---|
value |
IAction1<ConnectionInfo> |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:405
addOnRemoteUpstreamConnectionUpdate
▸ addOnRemoteUpstreamConnectionUpdate(value
: IAction2<ConnectionInfo, ConnectionInfo>): void
Adds a handler that is raised when a remote upstream (SFU or MCU) connection is updated by a remote client. Parameters:
- oldConnectionInfo - the old remote connection information
- newConnectionInfo - the new remote connection information
Parameters:
Name | Type |
---|---|
value |
IAction2<ConnectionInfo, ConnectionInfo> |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:421
addOnUserMessage
▸ addOnUserMessage(value
: IAction2<ClientInfo, string>): void
Adds a handler that is raised when a channel/user-scope message is received from the server. Parameters:
- clientInfo - the sending client information
- message - the message
Parameters:
Name | Type |
---|---|
value |
IAction2<ClientInfo, string> |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:436
closeAll
▸ closeAll(): Future<Object>
Closes all active connections.
Returns: Future<Object>
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:448
createMcuConnection
▸ createMcuConnection(audioStream
: AudioStream): McuConnection
Creates an audio-only MCU connection.
Parameters:
Name | Type | Description |
---|---|---|
audioStream |
AudioStream | The audio stream. |
Returns: McuConnection
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:470
▸ createMcuConnection(audioStream
: AudioStream, dataStream
: DataStream): McuConnection
Creates an audio/data MCU connection.
Parameters:
Name | Type | Description |
---|---|---|
audioStream |
AudioStream | The audio stream. |
dataStream |
DataStream | The data stream. |
Returns: McuConnection
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:478
▸ createMcuConnection(audioStream
: AudioStream, dataStream
: DataStream, mediaId
: string): McuConnection
Creates an audio/data MCU connection with a specific media identifier that can be targeted by SFU downstream connections. The media identifer is only relevant if this connection will send media.
Parameters:
Name | Type | Description |
---|---|---|
audioStream |
AudioStream | The audio stream. |
dataStream |
DataStream | The data stream. |
mediaId |
string | The media identifier, unique to this channel, for persistent SFU downstream connections. |
Returns: McuConnection
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:489
▸ createMcuConnection(audioStream
: AudioStream, mediaId
: string): McuConnection
Creates an audio-only MCU connection with a specific media identifier that can be targeted by SFU downstream connections. The media identifer is only relevant if this connection will send media.
Parameters:
Name | Type | Description |
---|---|---|
audioStream |
AudioStream | The audio stream. |
mediaId |
string | The media identifier, unique to this channel, for persistent SFU downstream connections. |
Returns: McuConnection
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:499
▸ createMcuConnection(audioStream
: AudioStream, videoStream
: VideoStream): McuConnection
Creates an audio/video MCU connection.
Parameters:
Name | Type | Description |
---|---|---|
audioStream |
AudioStream | The audio stream. |
videoStream |
VideoStream | The video stream. |
Returns: McuConnection
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:507
▸ createMcuConnection(audioStream
: AudioStream, videoStream
: VideoStream, dataStream
: DataStream): McuConnection
Creates an audio/video/data MCU connection.
Parameters:
Name | Type | Description |
---|---|---|
audioStream |
AudioStream | The audio stream. |
videoStream |
VideoStream | The video stream. |
dataStream |
DataStream | The data stream. |
Returns: McuConnection
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:516
▸ createMcuConnection(audioStream
: AudioStream, videoStream
: VideoStream, dataStream
: DataStream, mediaId
: string): McuConnection
Creates an audio/video MCU connection with a specific media identifier that can be targeted by SFU downstream connections. The media identifer is only relevant if this connection will send media.
Parameters:
Name | Type | Description |
---|---|---|
audioStream |
AudioStream | The audio stream. |
videoStream |
VideoStream | The video stream. |
dataStream |
DataStream | The data stream. |
mediaId |
string | The media identifier, unique to this channel, for persistent SFU downstream connections. |
Returns: McuConnection
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:528
▸ createMcuConnection(audioStream
: AudioStream, videoStream
: VideoStream, mediaId
: string): McuConnection
Creates an audio/video MCU connection with a specific media identifier that can be targeted by SFU downstream connections. The media identifer is only relevant if this connection will send media.
Parameters:
Name | Type | Description |
---|---|---|
audioStream |
AudioStream | The audio stream. |
videoStream |
VideoStream | The video stream. |
mediaId |
string | The media identifier, unique to this channel, for persistent SFU downstream connections. |
Returns: McuConnection
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:539
▸ createMcuConnection(dataStream
: DataStream): McuConnection
Creates a data-only MCU connection.
Parameters:
Name | Type | Description |
---|---|---|
dataStream |
DataStream | The data stream. |
Returns: McuConnection
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:546
▸ createMcuConnection(dataStream
: DataStream, mediaId
: string): McuConnection
Creates a data-only MCU connection with a specific media identifier that can be targeted by SFU downstream connections. The media identifer is only relevant if this connection will send media.
Parameters:
Name | Type | Description |
---|---|---|
dataStream |
DataStream | The data stream. |
mediaId |
string | The media identifier, unique to this channel, for persistent SFU downstream connections. |
Returns: McuConnection
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:556
▸ createMcuConnection(videoStream
: VideoStream): McuConnection
Creates a video-only MCU connection.
Parameters:
Name | Type | Description |
---|---|---|
videoStream |
VideoStream | The video stream. |
Returns: McuConnection
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:563
▸ createMcuConnection(videoStream
: VideoStream, dataStream
: DataStream): McuConnection
Creates a video/data MCU connection.
Parameters:
Name | Type | Description |
---|---|---|
videoStream |
VideoStream | The video stream. |
dataStream |
DataStream | The data stream. |
Returns: McuConnection
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:571
▸ createMcuConnection(videoStream
: VideoStream, dataStream
: DataStream, mediaId
: string): McuConnection
Creates a video/data MCU connection with a specific media identifier that can be targeted by SFU downstream connections. The media identifer is only relevant if this connection will send media.
Parameters:
Name | Type | Description |
---|---|---|
videoStream |
VideoStream | The video stream. |
dataStream |
DataStream | The data stream. |
mediaId |
string | The media identifier, unique to this channel, for persistent SFU downstream connections. |
Returns: McuConnection
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:582
▸ createMcuConnection(videoStream
: VideoStream, mediaId
: string): McuConnection
Creates a video-only MCU connection with a specific media identifier that can be targeted by SFU downstream connections. The media identifer is only relevant if this connection will send media.
Parameters:
Name | Type | Description |
---|---|---|
videoStream |
VideoStream | The video stream. |
mediaId |
string | The media identifier, unique to this channel, for persistent SFU downstream connections. |
Returns: McuConnection
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:592
createPeerConnection
▸ createPeerConnection(peerConnectionOffer
: PeerConnectionOffer, audioStream
: AudioStream): PeerConnection
Creates an audio-only peer connection in the answering role.
Parameters:
Name | Type | Description |
---|---|---|
peerConnectionOffer |
PeerConnectionOffer | The peer connection offer. |
audioStream |
AudioStream | The audio stream. |
Returns: PeerConnection
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:678
▸ createPeerConnection(peerConnectionOffer
: PeerConnectionOffer, audioStream
: AudioStream, dataStream
: DataStream): PeerConnection
Creates an audio/data peer connection in the answering role.
Parameters:
Name | Type | Description |
---|---|---|
peerConnectionOffer |
PeerConnectionOffer | The peer connection offer. |
audioStream |
AudioStream | The audio stream. |
dataStream |
DataStream | The data stream. |
Returns: PeerConnection
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:687
▸ createPeerConnection(peerConnectionOffer
: PeerConnectionOffer, audioStream
: AudioStream, videoStream
: VideoStream): PeerConnection
Creates an audio/video peer connection in the answering role.
Parameters:
Name | Type | Description |
---|---|---|
peerConnectionOffer |
PeerConnectionOffer | The peer connection offer. |
audioStream |
AudioStream | The audio stream. |
videoStream |
VideoStream | The video stream. |
Returns: PeerConnection
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:696
▸ createPeerConnection(peerConnectionOffer
: PeerConnectionOffer, audioStream
: AudioStream, videoStream
: VideoStream, dataStream
: DataStream): PeerConnection
Creates an audio/video/data peer connection in the answering role.
Parameters:
Name | Type | Description |
---|---|---|
peerConnectionOffer |
PeerConnectionOffer | The peer connection offer. |
audioStream |
AudioStream | The audio stream. |
videoStream |
VideoStream | The video stream. |
dataStream |
DataStream | The data stream. |
Returns: PeerConnection
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:706
▸ createPeerConnection(peerConnectionOffer
: PeerConnectionOffer, dataStream
: DataStream): PeerConnection
Creates a data-only peer connection in the answering role.
Parameters:
Name | Type | Description |
---|---|---|
peerConnectionOffer |
PeerConnectionOffer | The peer connection offer. |
dataStream |
DataStream | The data stream. |
Returns: PeerConnection
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:714
▸ createPeerConnection(peerConnectionOffer
: PeerConnectionOffer, videoStream
: VideoStream): PeerConnection
Creates a video-only peer connection in the answering role.
Parameters:
Name | Type | Description |
---|---|---|
peerConnectionOffer |
PeerConnectionOffer | The peer connection offer. |
videoStream |
VideoStream | The video stream. |
Returns: PeerConnection
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:722
▸ createPeerConnection(peerConnectionOffer
: PeerConnectionOffer, videoStream
: VideoStream, dataStream
: DataStream): PeerConnection
Creates a video/data peer connection in the answering role.
Parameters:
Name | Type | Description |
---|---|---|
peerConnectionOffer |
PeerConnectionOffer | The peer connection offer. |
videoStream |
VideoStream | The video stream. |
dataStream |
DataStream | The data stream. |
Returns: PeerConnection
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:731
▸ createPeerConnection(remoteClientInfo
: ClientInfo, audioStream
: AudioStream): PeerConnection
Creates an audio-only peer connection in the offering role.
Parameters:
Name | Type | Description |
---|---|---|
remoteClientInfo |
ClientInfo | The remote client information. |
audioStream |
AudioStream | The audio stream. |
Returns: PeerConnection
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:739
▸ createPeerConnection(remoteClientInfo
: ClientInfo, audioStream
: AudioStream, dataStream
: DataStream): PeerConnection
Creates an audio/data peer connection in the offering role.
Parameters:
Name | Type | Description |
---|---|---|
remoteClientInfo |
ClientInfo | The remote client information. |
audioStream |
AudioStream | The audio stream. |
dataStream |
DataStream | The data stream. |
Returns: PeerConnection
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:748
▸ createPeerConnection(remoteClientInfo
: ClientInfo, audioStream
: AudioStream, videoStream
: VideoStream): PeerConnection
Creates an audio/video peer connection in the offering role.
Parameters:
Name | Type | Description |
---|---|---|
remoteClientInfo |
ClientInfo | The remote client information. |
audioStream |
AudioStream | The audio stream. |
videoStream |
VideoStream | The video stream. |
Returns: PeerConnection
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:757
▸ createPeerConnection(remoteClientInfo
: ClientInfo, audioStream
: AudioStream, videoStream
: VideoStream, dataStream
: DataStream): PeerConnection
Creates an audio/video/data peer connection in the offering role.
Parameters:
Name | Type | Description |
---|---|---|
remoteClientInfo |
ClientInfo | The remote client information. |
audioStream |
AudioStream | The audio stream. |
videoStream |
VideoStream | The video stream. |
dataStream |
DataStream | The data stream. |
Returns: PeerConnection
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:767
▸ createPeerConnection(remoteClientInfo
: ClientInfo, dataStream
: DataStream): PeerConnection
Creates a data-only peer connection in the offering role.
Parameters:
Name | Type | Description |
---|---|---|
remoteClientInfo |
ClientInfo | The remote client information. |
dataStream |
DataStream | The data stream. |
Returns: PeerConnection
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:775
▸ createPeerConnection(remoteClientInfo
: ClientInfo, videoStream
: VideoStream): PeerConnection
Creates a video-only peer connection in the offering role.
Parameters:
Name | Type | Description |
---|---|---|
remoteClientInfo |
ClientInfo | The remote client information. |
videoStream |
VideoStream | The video stream. |
Returns: PeerConnection
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:783
▸ createPeerConnection(remoteClientInfo
: ClientInfo, videoStream
: VideoStream, dataStream
: DataStream): PeerConnection
Creates a video/data peer connection in the offering role.
Parameters:
Name | Type | Description |
---|---|---|
remoteClientInfo |
ClientInfo | The remote client information. |
videoStream |
VideoStream | The video stream. |
dataStream |
DataStream | The data stream. |
Returns: PeerConnection
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:792
createSfuDownstreamConnection
▸ createSfuDownstreamConnection(remoteConnectionInfo
: ConnectionInfo, audioStream
: AudioStream): SfuDownstreamConnection
Creates an audio-only SFU downstream connection to the SFU or MCU upstream connection identified by the remote connection info.
Parameters:
Name | Type | Description |
---|---|---|
remoteConnectionInfo |
ConnectionInfo | The remote connection information. |
audioStream |
AudioStream | The audio stream. |
Returns: SfuDownstreamConnection
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:926
▸ createSfuDownstreamConnection(remoteConnectionInfo
: ConnectionInfo, audioStream
: AudioStream, dataStream
: DataStream): SfuDownstreamConnection
Creates an audio/data SFU downstream connection.
Parameters:
Name | Type | Description |
---|---|---|
remoteConnectionInfo |
ConnectionInfo | The remote connection information. |
audioStream |
AudioStream | The audio stream. |
dataStream |
DataStream | The data stream. |
Returns: SfuDownstreamConnection
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:935
▸ createSfuDownstreamConnection(remoteConnectionInfo
: ConnectionInfo, audioStream
: AudioStream, useWebSocketsForMedia
: boolean): SfuDownstreamConnection
Creates an audio-only SFU downstream connection to the SFU or MCU upstream connection identified by the remote connection info.
Parameters:
Name | Type | Description |
---|---|---|
remoteConnectionInfo |
ConnectionInfo | The remote connection information. |
audioStream |
AudioStream | The audio stream. |
useWebSocketsForMedia |
boolean | Use WebSockets to stream this media instead of WebRTC. |
Returns: SfuDownstreamConnection
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:945
▸ createSfuDownstreamConnection(remoteConnectionInfo
: ConnectionInfo, audioStream
: AudioStream, videoStream
: VideoStream): SfuDownstreamConnection
Creates an audio/video SFU downstream connection to the SFU or MCU upstream connection identified by the remote connection info.
Parameters:
Name | Type | Description |
---|---|---|
remoteConnectionInfo |
ConnectionInfo | The remote connection information. |
audioStream |
AudioStream | The audio stream. |
videoStream |
VideoStream | The video stream. |
Returns: SfuDownstreamConnection
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:955
▸ createSfuDownstreamConnection(remoteConnectionInfo
: ConnectionInfo, audioStream
: AudioStream, videoStream
: VideoStream, dataStream
: DataStream): SfuDownstreamConnection
Creates an audio/video/data SFU downstream connection.
Parameters:
Name | Type | Description |
---|---|---|
remoteConnectionInfo |
ConnectionInfo | The remote connection information. |
audioStream |
AudioStream | The audio stream. |
videoStream |
VideoStream | The video stream. |
dataStream |
DataStream | The data stream. |
Returns: SfuDownstreamConnection
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:965
▸ createSfuDownstreamConnection(remoteConnectionInfo
: ConnectionInfo, audioStream
: AudioStream, videoStream
: VideoStream, dataStream
: DataStream, useWebSocketsForMedia
: boolean): SfuDownstreamConnection
Creates an audio/video/data SFU downstream connection.
Parameters:
Name | Type | Description |
---|---|---|
remoteConnectionInfo |
ConnectionInfo | The remote connection information. |
audioStream |
AudioStream | The audio stream. |
videoStream |
VideoStream | The video stream. |
dataStream |
DataStream | The data stream. |
useWebSocketsForMedia |
boolean | Use WebSockets to stream the media instead of WebRTC. |
Returns: SfuDownstreamConnection
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:976
▸ createSfuDownstreamConnection(remoteConnectionInfo
: ConnectionInfo, audioStream
: AudioStream, videoStream
: VideoStream, dataStream
: DataStream, useWebSocketsForMedia
: boolean, connectionId
: Guid): SfuDownstreamConnection
Creates an audio/video/data SFU downstream connection.
Parameters:
Name | Type | Description |
---|---|---|
remoteConnectionInfo |
ConnectionInfo | The remote connection information. |
audioStream |
AudioStream | The audio stream. |
videoStream |
VideoStream | The video stream. |
dataStream |
DataStream | The data stream. |
useWebSocketsForMedia |
boolean | Use WebSockets to stream the media instead of WebRTC. |
connectionId |
Guid | The remote internal connection Id. |
Returns: SfuDownstreamConnection
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:988
▸ createSfuDownstreamConnection(remoteConnectionInfo
: ConnectionInfo, audioStream
: AudioStream, videoStream
: VideoStream, useWebSocketsForMedia
: boolean): SfuDownstreamConnection
Creates an audio/video SFU downstream connection to the SFU or MCU upstream connection identified by the remote connection info.
Parameters:
Name | Type | Description |
---|---|---|
remoteConnectionInfo |
ConnectionInfo | The remote connection information. |
audioStream |
AudioStream | The audio stream. |
videoStream |
VideoStream | The video stream. |
useWebSocketsForMedia |
boolean | Use WebSockets to stream this media instead of WebRTC. |
Returns: SfuDownstreamConnection
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:999
▸ createSfuDownstreamConnection(remoteConnectionInfo
: ConnectionInfo, dataStream
: DataStream): SfuDownstreamConnection
Creates a data-only SFU downstream connection.
Parameters:
Name | Type | Description |
---|---|---|
remoteConnectionInfo |
ConnectionInfo | The remote connection information. |
dataStream |
DataStream | The data stream. |
Returns: SfuDownstreamConnection
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:1007
▸ createSfuDownstreamConnection(remoteConnectionInfo
: ConnectionInfo, videoStream
: VideoStream): SfuDownstreamConnection
Creates a video-only SFU downstream connection to the SFU or MCU upstream connection identified by the remote connection info.
Parameters:
Name | Type | Description |
---|---|---|
remoteConnectionInfo |
ConnectionInfo | The remote connection information. |
videoStream |
VideoStream | The video stream. |
Returns: SfuDownstreamConnection
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:1016
▸ createSfuDownstreamConnection(remoteConnectionInfo
: ConnectionInfo, videoStream
: VideoStream, dataStream
: DataStream): SfuDownstreamConnection
Creates a video/data SFU downstream connection.
Parameters:
Name | Type | Description |
---|---|---|
remoteConnectionInfo |
ConnectionInfo | The remote connection information. |
videoStream |
VideoStream | The video stream. |
dataStream |
DataStream | The data stream. |
Returns: SfuDownstreamConnection
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:1025
▸ createSfuDownstreamConnection(remoteConnectionInfo
: ConnectionInfo, videoStream
: VideoStream, useWebSocketsForMedia
: boolean): SfuDownstreamConnection
Creates a video-only SFU downstream connection to the SFU or MCU upstream connection identified by the remote connection info.
Parameters:
Name | Type | Description |
---|---|---|
remoteConnectionInfo |
ConnectionInfo | The remote connection information. |
videoStream |
VideoStream | The video stream. |
useWebSocketsForMedia |
boolean | Use WebSockets to stream this media instead of WebRTC. |
Returns: SfuDownstreamConnection
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:1035
▸ createSfuDownstreamConnection(remoteMediaId
: string, audioStream
: AudioStream): SfuDownstreamConnection
Creates an audio-only SFU downstream connection to the SFU or MCU upstream connection with the remote media identifier.
Parameters:
Name | Type | Description |
---|---|---|
remoteMediaId |
string | The remote media identifier. |
audioStream |
AudioStream | The audio stream. |
Returns: SfuDownstreamConnection
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:1044
▸ createSfuDownstreamConnection(remoteMediaId
: string, audioStream
: AudioStream, dataStream
: DataStream): SfuDownstreamConnection
Creates an audio/data SFU downstream connection.
Parameters:
Name | Type | Description |
---|---|---|
remoteMediaId |
string | The remote media identifier. |
audioStream |
AudioStream | The audio stream. |
dataStream |
DataStream | The data stream. |
Returns: SfuDownstreamConnection
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:1053
▸ createSfuDownstreamConnection(remoteMediaId
: string, audioStream
: AudioStream, useWebSocketsForMedia
: boolean): SfuDownstreamConnection
Creates an audio-only SFU downstream connection to the SFU or MCU upstream connection with the remote media identifier.
Parameters:
Name | Type | Description |
---|---|---|
remoteMediaId |
string | The remote media identifier. |
audioStream |
AudioStream | The audio stream. |
useWebSocketsForMedia |
boolean | Use WebSockets to stream this media instead of WebRTC. |
Returns: SfuDownstreamConnection
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:1063
▸ createSfuDownstreamConnection(remoteMediaId
: string, audioStream
: AudioStream, videoStream
: VideoStream): SfuDownstreamConnection
Creates an audio/video SFU downstream connection.
Parameters:
Name | Type | Description |
---|---|---|
remoteMediaId |
string | The remote media identifier. |
audioStream |
AudioStream | The audio stream. |
videoStream |
VideoStream | The video stream. |
Returns: SfuDownstreamConnection
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:1072
▸ createSfuDownstreamConnection(remoteMediaId
: string, audioStream
: AudioStream, videoStream
: VideoStream, dataStream
: DataStream): SfuDownstreamConnection
Creates an audio/video/data SFU downstream connection.
Parameters:
Name | Type | Description |
---|---|---|
remoteMediaId |
string | The remote media identifier. |
audioStream |
AudioStream | The audio stream. |
videoStream |
VideoStream | The video stream. |
dataStream |
DataStream | The data stream. |
Returns: SfuDownstreamConnection
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:1082
▸ createSfuDownstreamConnection(remoteMediaId
: string, audioStream
: AudioStream, videoStream
: VideoStream, dataStream
: DataStream, useWebSocketsForMedia
: boolean): SfuDownstreamConnection
Creates an audio/video/data SFU downstream connection.
Parameters:
Name | Type | Description |
---|---|---|
remoteMediaId |
string | The remote media identifier. |
audioStream |
AudioStream | The audio stream. |
videoStream |
VideoStream | The video stream. |
dataStream |
DataStream | The data stream. |
useWebSocketsForMedia |
boolean | Use WebSockets to stream the media instead of WebRTC. |
Returns: SfuDownstreamConnection
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:1093
▸ createSfuDownstreamConnection(remoteMediaId
: string, audioStream
: AudioStream, videoStream
: VideoStream, dataStream
: DataStream, useWebSocketsForMedia
: boolean, connectionId
: Guid): SfuDownstreamConnection
Creates an audio/video/data SFU downstream connection.
Parameters:
Name | Type | Description |
---|---|---|
remoteMediaId |
string | The remote media identifier. |
audioStream |
AudioStream | The audio stream. |
videoStream |
VideoStream | The video stream. |
dataStream |
DataStream | The data stream. |
useWebSocketsForMedia |
boolean | Use WebSockets to stream the media instead of WebRTC. |
connectionId |
Guid | The remote internal connection Id. |
Returns: SfuDownstreamConnection
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:1105
▸ createSfuDownstreamConnection(remoteMediaId
: string, audioStream
: AudioStream, videoStream
: VideoStream, useWebSocketsForMedia
: boolean): SfuDownstreamConnection
Creates an audio/video SFU downstream connection.
Parameters:
Name | Type | Description |
---|---|---|
remoteMediaId |
string | The remote media identifier. |
audioStream |
AudioStream | The audio stream. |
videoStream |
VideoStream | The video stream. |
useWebSocketsForMedia |
boolean | Use WebSockets to stream this media instead of WebRTC. |
Returns: SfuDownstreamConnection
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:1115
▸ createSfuDownstreamConnection(remoteMediaId
: string, dataStream
: DataStream): SfuDownstreamConnection
Creates a data-only SFU downstream connection.
Parameters:
Name | Type | Description |
---|---|---|
remoteMediaId |
string | The remote media identifier. |
dataStream |
DataStream | The data stream. |
Returns: SfuDownstreamConnection
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:1123
▸ createSfuDownstreamConnection(remoteMediaId
: string, videoStream
: VideoStream): SfuDownstreamConnection
Creates a video-only SFU downstream connection.
Parameters:
Name | Type | Description |
---|---|---|
remoteMediaId |
string | The remote media identifier. |
videoStream |
VideoStream | The video stream. |
Returns: SfuDownstreamConnection
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:1131
▸ createSfuDownstreamConnection(remoteMediaId
: string, videoStream
: VideoStream, dataStream
: DataStream): SfuDownstreamConnection
Creates a video/data SFU downstream connection.
Parameters:
Name | Type | Description |
---|---|---|
remoteMediaId |
string | The remote media identifier. |
videoStream |
VideoStream | The audio stream. |
dataStream |
DataStream | The data stream. |
Returns: SfuDownstreamConnection
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:1140
▸ createSfuDownstreamConnection(remoteMediaId
: string, videoStream
: VideoStream, useWebSocketsForMedia
: boolean): SfuDownstreamConnection
Creates a video-only SFU downstream connection.
Parameters:
Name | Type | Description |
---|---|---|
remoteMediaId |
string | The remote media identifier. |
videoStream |
VideoStream | The video stream. |
useWebSocketsForMedia |
boolean | Use WebSockets to stream this media instead of WebRTC. |
Returns: SfuDownstreamConnection
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:1149
createSfuDownstreamConnectionWithRemoteInternalId
▸ createSfuDownstreamConnectionWithRemoteInternalId(remoteConnectionInfo
: ConnectionInfo, audioStream
: AudioStream, videoStream
: VideoStream, connectionId
: Guid): SfuDownstreamConnection
Creates an audio/video SFU downstream connection to the SFU or MCU upstream connection identified by the remote connection info.
Parameters:
Name | Type | Description |
---|---|---|
remoteConnectionInfo |
ConnectionInfo | The remote connection information. |
audioStream |
AudioStream | The audio stream. |
videoStream |
VideoStream | The video stream. |
connectionId |
Guid | The remote internal connection Id. |
Returns: SfuDownstreamConnection
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:1329
▸ createSfuDownstreamConnectionWithRemoteInternalId(remoteMediaId
: string, audioStream
: AudioStream, videoStream
: VideoStream, connectionId
: Guid): SfuDownstreamConnection
Creates an audio/video SFU downstream connection.
Parameters:
Name | Type | Description |
---|---|---|
remoteMediaId |
string | The remote media identifier. |
audioStream |
AudioStream | The audio stream. |
videoStream |
VideoStream | The video stream. |
connectionId |
Guid | The remote internal connection Id |
Returns: SfuDownstreamConnection
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:1339
createSfuUpstreamConnection
▸ createSfuUpstreamConnection(audioStream
: AudioStream): SfuUpstreamConnection
Creates an audio-only SFU upstream connection.
Parameters:
Name | Type | Description |
---|---|---|
audioStream |
AudioStream | The audio stream. |
Returns: SfuUpstreamConnection
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:1363
▸ createSfuUpstreamConnection(audioStream
: AudioStream, dataStream
: DataStream): SfuUpstreamConnection
Creates an audio/data SFU upstream connection.
Parameters:
Name | Type | Description |
---|---|---|
audioStream |
AudioStream | The audio stream. |
dataStream |
DataStream | The data stream. |
Returns: SfuUpstreamConnection
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:1371
▸ createSfuUpstreamConnection(audioStream
: AudioStream, dataStream
: DataStream, mediaId
: string): SfuUpstreamConnection
Creates an audio/data SFU upstream connection with a specific media identifier that can be targeted by SFU downstream connections.
Parameters:
Name | Type | Description |
---|---|---|
audioStream |
AudioStream | The audio stream. |
dataStream |
DataStream | The data stream. |
mediaId |
string | The media identifier, unique to this channel, for persistent SFU downstream connections. |
Returns: SfuUpstreamConnection
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:1381
▸ createSfuUpstreamConnection(audioStream
: AudioStream, mediaId
: string): SfuUpstreamConnection
Creates an audio-only SFU upstream connection with a specific media identifier that can be targeted by SFU downstream connections.
Parameters:
Name | Type | Description |
---|---|---|
audioStream |
AudioStream | The audio stream. |
mediaId |
string | The media identifier, unique to this channel, for persistent SFU downstream connections. |
Returns: SfuUpstreamConnection
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:1390
▸ createSfuUpstreamConnection(audioStream
: AudioStream, mediaId
: string, useWebSocketsForMedia
: boolean): SfuUpstreamConnection
Creates an audio-only SFU upstream connection with a specific media identifier that can be targeted by SFU downstream connections.
Parameters:
Name | Type | Description |
---|---|---|
audioStream |
AudioStream | The audio stream. |
mediaId |
string | The media identifier, unique to this channel, for persistent SFU downstream connections. |
useWebSocketsForMedia |
boolean | Use WebSockets to stream this media instead of WebRTC. |
Returns: SfuUpstreamConnection
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:1400
▸ createSfuUpstreamConnection(audioStream
: AudioStream, useWebSocketsForMedia
: boolean): SfuUpstreamConnection
Creates an audio-only SFU upstream connection.
Parameters:
Name | Type | Description |
---|---|---|
audioStream |
AudioStream | The audio stream. |
useWebSocketsForMedia |
boolean | Use WebSockets to stream this media instead of WebRTC. |
Returns: SfuUpstreamConnection
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:1408
▸ createSfuUpstreamConnection(audioStream
: AudioStream, videoStream
: VideoStream): SfuUpstreamConnection
Creates an audio/video SFU upstream connection.
Parameters:
Name | Type | Description |
---|---|---|
audioStream |
AudioStream | The audio stream. |
videoStream |
VideoStream | The video stream. |
Returns: SfuUpstreamConnection
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:1416
▸ createSfuUpstreamConnection(audioStream
: AudioStream, videoStream
: VideoStream, dataStream
: DataStream): SfuUpstreamConnection
Creates an audio/video/data SFU upstream connection.
Parameters:
Name | Type | Description |
---|---|---|
audioStream |
AudioStream | The audio stream. |
videoStream |
VideoStream | The video stream. |
dataStream |
DataStream | The data stream. |
Returns: SfuUpstreamConnection
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:1425
▸ createSfuUpstreamConnection(audioStream
: AudioStream, videoStream
: VideoStream, dataStream
: DataStream, mediaId
: string): SfuUpstreamConnection
Creates an audio/video SFU upstream connection with a specific media identifier that can be targeted by SFU downstream connections.
Parameters:
Name | Type | Description |
---|---|---|
audioStream |
AudioStream | The audio stream. |
videoStream |
VideoStream | The video stream. |
dataStream |
DataStream | The video stream. |
mediaId |
string | The media identifier, unique to this channel, for persistent SFU downstream connections. |
Returns: SfuUpstreamConnection
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:1436
▸ createSfuUpstreamConnection(audioStream
: AudioStream, videoStream
: VideoStream, dataStream
: DataStream, mediaId
: string, useWebSocketsForMedia
: boolean): SfuUpstreamConnection
Creates an audio/video SFU upstream connection with a specific media identifier that can be targeted by SFU downstream connections.
Parameters:
Name | Type | Description |
---|---|---|
audioStream |
AudioStream | The audio stream. |
videoStream |
VideoStream | The video stream. |
dataStream |
DataStream | The video stream. |
mediaId |
string | The media identifier, unique to this channel, for persistent SFU downstream connections. |
useWebSocketsForMedia |
boolean | A flag to indicate if we should send media over a WebSocket connection. |
Returns: SfuUpstreamConnection
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:1448
▸ createSfuUpstreamConnection(audioStream
: AudioStream, videoStream
: VideoStream, dataStream
: DataStream, mediaId
: string, useWebSocketsForMedia
: boolean, connectionId
: Guid): SfuUpstreamConnection
Creates an audio/video SFU upstream connection with a specific media identifier that can be targeted by SFU downstream connections.
Parameters:
Name | Type | Description |
---|---|---|
audioStream |
AudioStream | The audio stream. |
videoStream |
VideoStream | The video stream. |
dataStream |
DataStream | The video stream. |
mediaId |
string | The media identifier, unique to this channel, for persistent SFU downstream connections. |
useWebSocketsForMedia |
boolean | A flag to indicate if we should send media over a WebSocket connection. |
connectionId |
Guid | The connection ID. |
Returns: SfuUpstreamConnection
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:1461
▸ createSfuUpstreamConnection(audioStream
: AudioStream, videoStream
: VideoStream, dataStream
: DataStream, useWebSocketsForMedia
: boolean): SfuUpstreamConnection
Creates an audio/video/data SFU upstream connection.
Parameters:
Name | Type | Description |
---|---|---|
audioStream |
AudioStream | The audio stream. |
videoStream |
VideoStream | The video stream. |
dataStream |
DataStream | The data stream. |
useWebSocketsForMedia |
boolean | Use WebSockets to stream this media instead of WebRTC. |
Returns: SfuUpstreamConnection
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:1471
▸ createSfuUpstreamConnection(audioStream
: AudioStream, videoStream
: VideoStream, mediaId
: string): SfuUpstreamConnection
Creates an audio/video SFU upstream connection with a specific media identifier that can be targeted by SFU downstream connections.
Parameters:
Name | Type | Description |
---|---|---|
audioStream |
AudioStream | The audio stream. |
videoStream |
VideoStream | The video stream. |
mediaId |
string | The media identifier, unique to this channel, for persistent SFU downstream connections. |
Returns: SfuUpstreamConnection
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:1481
▸ createSfuUpstreamConnection(audioStream
: AudioStream, videoStream
: VideoStream, mediaId
: string, useWebSocketsForMedia
: boolean): SfuUpstreamConnection
Creates an audio/video SFU upstream connection with a specific media identifier that can be targeted by SFU downstream connections.
Parameters:
Name | Type | Description |
---|---|---|
audioStream |
AudioStream | The audio stream. |
videoStream |
VideoStream | The video stream. |
mediaId |
string | The media identifier, unique to this channel, for persistent SFU downstream connections. |
useWebSocketsForMedia |
boolean | Use WebSockets to stream this media instead of WebRTC. |
Returns: SfuUpstreamConnection
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:1492
▸ createSfuUpstreamConnection(audioStream
: AudioStream, videoStream
: VideoStream, useWebSocketsForMedia
: boolean): SfuUpstreamConnection
Creates an audio/video SFU upstream connection.
Parameters:
Name | Type | Description |
---|---|---|
audioStream |
AudioStream | The audio stream. |
videoStream |
VideoStream | The video stream. |
useWebSocketsForMedia |
boolean | Use WebSockets to stream this media instead of WebRTC. |
Returns: SfuUpstreamConnection
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:1501
▸ createSfuUpstreamConnection(dataStream
: DataStream): SfuUpstreamConnection
Creates a data-only SFU upstream connection.
Parameters:
Name | Type | Description |
---|---|---|
dataStream |
DataStream | The data stream. |
Returns: SfuUpstreamConnection
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:1508
▸ createSfuUpstreamConnection(dataStream
: DataStream, mediaId
: string): SfuUpstreamConnection
Creates a data-only SFU upstream connection with a specific media identifier that can be targeted by SFU downstream connections.
Parameters:
Name | Type | Description |
---|---|---|
dataStream |
DataStream | The data stream. |
mediaId |
string | The media identifier, unique to this channel, for persistent SFU downstream connections. |
Returns: SfuUpstreamConnection
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:1517
▸ createSfuUpstreamConnection(videoStream
: VideoStream): SfuUpstreamConnection
Creates a video-only SFU upstream connection.
Parameters:
Name | Type | Description |
---|---|---|
videoStream |
VideoStream | The video stream. |
Returns: SfuUpstreamConnection
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:1524
▸ createSfuUpstreamConnection(videoStream
: VideoStream, dataStream
: DataStream): SfuUpstreamConnection
Creates a video/data SFU upstream connection.
Parameters:
Name | Type | Description |
---|---|---|
videoStream |
VideoStream | The video stream. |
dataStream |
DataStream | The data stream. |
Returns: SfuUpstreamConnection
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:1532
▸ createSfuUpstreamConnection(videoStream
: VideoStream, dataStream
: DataStream, mediaId
: string): SfuUpstreamConnection
Creates a video/data SFU upstream connection with a specific media identifier that can be targeted by SFU downstream connections.
Parameters:
Name | Type | Description |
---|---|---|
videoStream |
VideoStream | The video stream. |
dataStream |
DataStream | The data stream. |
mediaId |
string | The media identifier, unique to this channel, for persistent SFU downstream connections. |
Returns: SfuUpstreamConnection
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:1542
▸ createSfuUpstreamConnection(videoStream
: VideoStream, mediaId
: string): SfuUpstreamConnection
Creates a video-only SFU upstream connection with a specific media identifier that can be targeted by SFU downstream connections.
Parameters:
Name | Type | Description |
---|---|---|
videoStream |
VideoStream | The video stream. |
mediaId |
string | The media identifier, unique to this channel, for persistent SFU downstream connections. |
Returns: SfuUpstreamConnection
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:1551
▸ createSfuUpstreamConnection(videoStream
: VideoStream, mediaId
: string, useWebSocketsForMedia
: boolean): SfuUpstreamConnection
Creates a video-only SFU upstream connection with a specific media identifier that can be targeted by SFU downstream connections.
Parameters:
Name | Type | Description |
---|---|---|
videoStream |
VideoStream | The video stream. |
mediaId |
string | The media identifier, unique to this channel, for persistent SFU downstream connections. |
useWebSocketsForMedia |
boolean | Use WebSockets to stream this media instead of WebRTC. |
Returns: SfuUpstreamConnection
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:1561
▸ createSfuUpstreamConnection(videoStream
: VideoStream, useWebSocketsForMedia
: boolean): SfuUpstreamConnection
Creates a video-only SFU upstream connection.
Parameters:
Name | Type | Description |
---|---|---|
videoStream |
VideoStream | The video stream. |
useWebSocketsForMedia |
boolean | Use WebSockets to stream this media instead of WebRTC. |
Returns: SfuUpstreamConnection
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:1569
createSfuUpstreamConnectionWithRemoteInternalId
▸ createSfuUpstreamConnectionWithRemoteInternalId(audioStream
: AudioStream, videoStream
: VideoStream, mediaId
: string, connectionId
: Guid): SfuUpstreamConnection
Creates an audio/video SFU upstream connection with a specific media identifier that can be targeted by SFU downstream connections.
Parameters:
Name | Type | Description |
---|---|---|
audioStream |
AudioStream | The audio stream. |
videoStream |
VideoStream | The video stream. |
mediaId |
string | The media identifier, unique to this channel, for persistent SFU downstream connections. |
connectionId |
Guid | The connection Id. |
Returns: SfuUpstreamConnection
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:1712
fmliveswitchChannelInit
▸ Private
fmliveswitchChannelInit(): void
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:140
getApplicationId
▸ getApplicationId(): string
Gets the application identifier.
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:1844
getClaim
▸ getClaim(): ChannelClaim
Gets the claim.
Returns: ChannelClaim
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:1856
getClientId
▸ getClientId(): string
Gets the client identifier.
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:1868
getClientRoles
▸ getClientRoles(): string[]
Gets the client roles.
Returns: string[]
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:1880
getClientTag
▸ getClientTag(): string
Gets the client tag.
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:1892
getConnections
▸ getConnections(): ManagedConnectionCollection
Gets the active connections.
Returns: ManagedConnectionCollection
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:1904
getDeviceAlias
▸ getDeviceAlias(): string
Gets the device alias.
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:1916
getDeviceId
▸ getDeviceId(): string
Gets the device identifier.
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:1928
getDynamicProperties
▸ getDynamicProperties(): Hash<string, Object>
Gets all dynamic properties on this instance.
Returns: Hash<string, Object>
Inherited from: Dynamic
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.
Inherited from: Dynamic
Defined in: Generated/TypeScript/fm.liveswitch/Dynamic.ts:61
getId
▸ getId(): string
Gets the channel identifier.
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:1966
getMessageBytesReceived
▸ getMessageBytesReceived(): number
Gets the number of message bytes received.
Returns: number
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:1978
getMessageBytesSent
▸ getMessageBytesSent(): number
Gets the number of message bytes sent.
Returns: number
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:1990
getMessagesReceived
▸ getMessagesReceived(): number
Gets the number of messages received.
Returns: number
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:2002
getMessagesSent
▸ getMessagesSent(): number
Gets the number of messages sent.
Returns: number
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:2014
getRemoteClientInfo
▸ getRemoteClientInfo(clientId
: string): ClientInfo
Gets information about a remote client.
Parameters:
Name | Type | Description |
---|---|---|
clientId |
string | The client identifier. |
Returns: ClientInfo
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:2027
getRemoteClientInfos
▸ getRemoteClientInfos(): ClientInfo[]
Gets information about the remote client in this channel.
Returns: ClientInfo[]
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:2044
getRemoteConnectionInfo
▸ getRemoteConnectionInfo(connectionId
: string): ConnectionInfo
Gets information about a remote connection.
Parameters:
Name | Type | Description |
---|---|---|
connectionId |
string | The connection identifier. |
Returns: ConnectionInfo
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:2061
getRemoteUpstreamConnectionInfos
▸ getRemoteUpstreamConnectionInfos(): ConnectionInfo[]
Gets information about the remote upstream (SFU or MCU) connections opened by remote clients in this channel.
Returns: ConnectionInfo[]
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:2079
getTypeString
▸ getTypeString(): string
Returns: string
Overrides: Dynamic
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:10
getUserAlias
▸ getUserAlias(): string
Gets the user alias.
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:2109
getUserId
▸ getUserId(): string
Gets the user identifier.
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:2121
getWebSocketAccessToken
▸ getWebSocketAccessToken(): string
Gets the WebSocket Media Server Authorization Token for this channel.
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:2133
getWebSocketServerEndpointUrl
▸ getWebSocketServerEndpointUrl(): string
Gets the WebSocket Media Server Endpoint for this channel.
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:2145
invite
▸ invite(userId
: string, protocol
: string): Future<Invitation>
Invites a user into this channel.
Parameters:
Name | Type | Description |
---|---|---|
userId |
string | The user id to invite. |
protocol |
string | The protocol to use for the invite. |
Returns: Future<Invitation>
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:2159
kick
▸ kick(): Future<Object>
Kicks this channel.
Returns: Future<Object>
A future that resolves when the channel has been kicked.
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:2179
kickClient
▸ kickClient(remoteClientInfo
: ClientInfo): Future<Object>
Kicks a client in this channel.
Parameters:
Name | Type | Description |
---|---|---|
remoteClientInfo |
ClientInfo | The remote client information. |
Returns: Future<Object>
A future that resolves when the client has been kicked.
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:2200
▸ kickClient(userId
: string, deviceId
: string, clientId
: string): Future<Object>
Kicks a client in this channel.
Parameters:
Name | Type | Description |
---|---|---|
userId |
string | The user identifier. |
deviceId |
string | The device identifier. |
clientId |
string | The client identifier. |
Returns: Future<Object>
A future that resolves when the client has been kicked.
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:2210
kickConnection
▸ kickConnection(remoteConnectionInfo
: ConnectionInfo): Future<Object>
Kicks a connection in this channel.
Parameters:
Name | Type | Description |
---|---|---|
remoteConnectionInfo |
ConnectionInfo | The remote connection information. |
Returns: Future<Object>
A future that resolves when the connection has been kicked.
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:2245
▸ kickConnection(userId
: string, deviceId
: string, clientId
: string, connectionId
: string): Future<Object>
Kicks a connection in this channel.
Parameters:
Name | Type | Description |
---|---|---|
userId |
string | The user identifier. |
deviceId |
string | The device identifier. |
clientId |
string | The client identifier. |
connectionId |
string | The connection identifier. |
Returns: Future<Object>
A future that resolves when the connection has been kicked.
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:2256
kickDevice
▸ kickDevice(userId
: string, deviceId
: string): Future<Object>
Kicks a device in this channel.
Parameters:
Name | Type | Description |
---|---|---|
userId |
string | The user identifier. |
deviceId |
string | The device identifier. |
Returns: Future<Object>
A future that resolves when the device has been kicked.
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:2293
kickUser
▸ kickUser(userId
: string): Future<Object>
Kicks a user in this channel.
Parameters:
Name | Type | Description |
---|---|---|
userId |
string | The user identifier. |
Returns: Future<Object>
A future that resolves when the user has been kicked.
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:2314
rejectPeerConnection
▸ rejectPeerConnection(peerConnectionOffer
: PeerConnectionOffer): Future<Object>
Rejects a peer connection offer.
Parameters:
Name | Type | Description |
---|---|---|
peerConnectionOffer |
PeerConnectionOffer | The peer connection offer. |
Returns: Future<Object>
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:3070
removeOnClaimUpdate
▸ removeOnClaimUpdate(value
: IAction2<ChannelClaim, ChannelClaim>): void
Removes a handler that is raised when the client's channel claim has been updated. Parameters:
- oldConnectionInfo - the old channel claim
- newConnectionInfo - the new channel claim
Parameters:
Name | Type |
---|---|
value |
IAction2<ChannelClaim, ChannelClaim> |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:3089
removeOnClientMessage
▸ removeOnClientMessage(value
: IAction2<ClientInfo, string>): void
Removes a handler that is raised when a channel/client-scope message is received from the server. Parameters:
- clientInfo - the sending client information
- message - the message
Parameters:
Name | Type |
---|---|
value |
IAction2<ClientInfo, string> |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:3104
removeOnDeviceMessage
▸ removeOnDeviceMessage(value
: IAction2<ClientInfo, string>): void
Removes a handler that is raised when a channel/device-scope message is received from the server. Parameters:
- clientInfo - the sending client information
- message - the message
Parameters:
Name | Type |
---|---|
value |
IAction2<ClientInfo, string> |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:3119
removeOnKick
▸ removeOnKick(value
: IAction0): void
Removes a handler that is raised when the client is kicked from the channel.
Parameters:
Name | Type |
---|---|
value |
IAction0 |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:3131
removeOnMcuVideoLayout
▸ removeOnMcuVideoLayout(value
: IAction1<VideoLayout>): void
Removes a handler that is raised when a new MCU video layout is received from the server. Parameters:
- videoLayout - the new MCU video layout
Parameters:
Name | Type |
---|---|
value |
IAction1<VideoLayout> |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:3153
removeOnMessage
▸ removeOnMessage(value
: IAction2<ClientInfo, string>): void
Removes a handler that is raised when a channel-scope message is received from the server. Parameters:
- clientInfo - the sending client information
- message - the message
Parameters:
Name | Type |
---|---|
value |
IAction2<ClientInfo, string> |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:3168
removeOnPeerConnectionOffer
▸ removeOnPeerConnectionOffer(value
: IAction1<PeerConnectionOffer>): void
Removes a handler that is raised when a remote client wants to open a peer connection. Parameters:
- peerConnectionOffer - the peer connection offer
Parameters:
Name | Type |
---|---|
value |
IAction1<PeerConnectionOffer> |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:3182
removeOnRemoteClientJoin
▸ removeOnRemoteClientJoin(value
: IAction1<ClientInfo>): void
Removes a handler that is raised when a remote client joins this channel. Parameters:
- clientInfo - the remote client information
Parameters:
Name | Type |
---|---|
value |
IAction1<ClientInfo> |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:3196
removeOnRemoteClientLeave
▸ removeOnRemoteClientLeave(value
: IAction1<ClientInfo>): void
Removes a handler that is raised when a remote client leaves this channel. Parameters:
- clientInfo - the remote client information
Parameters:
Name | Type |
---|---|
value |
IAction1<ClientInfo> |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:3210
removeOnRemoteClientUpdate
▸ removeOnRemoteClientUpdate(value
: IAction2<ClientInfo, ClientInfo>): void
Removes a handler that is raised when a remote client updates their config. Parameters:
- oldClientInfo - the old remote client information
- newClientInfo - the new remote client information
Parameters:
Name | Type |
---|---|
value |
IAction2<ClientInfo, ClientInfo> |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:3225
removeOnRemoteUpstreamConnectionClose
▸ removeOnRemoteUpstreamConnectionClose(value
: IAction1<ConnectionInfo>): void
Removes a handler that is raised when a remote upstream (SFU or MCU) connection is closed by a remote client. Parameters:
- connectionInfo - the remote connection information
Parameters:
Name | Type |
---|---|
value |
IAction1<ConnectionInfo> |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:3240
removeOnRemoteUpstreamConnectionOpen
▸ removeOnRemoteUpstreamConnectionOpen(value
: IAction1<ConnectionInfo>): void
Removes a handler that is raised when a remote upstream (SFU or MCU) connection is opened by a remote client. Parameters:
- connectionInfo - the remote connection information
Parameters:
Name | Type |
---|---|
value |
IAction1<ConnectionInfo> |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:3255
removeOnRemoteUpstreamConnectionUpdate
▸ removeOnRemoteUpstreamConnectionUpdate(value
: IAction2<ConnectionInfo, ConnectionInfo>): void
Removes a handler that is raised when a remote upstream (SFU or MCU) connection is updated by a remote client. Parameters:
- oldConnectionInfo - the old remote connection information
- newConnectionInfo - the new remote connection information
Parameters:
Name | Type |
---|---|
value |
IAction2<ConnectionInfo, ConnectionInfo> |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:3271
removeOnUserMessage
▸ removeOnUserMessage(value
: IAction2<ClientInfo, string>): void
Removes a handler that is raised when a channel/user-scope message is received from the server. Parameters:
- clientInfo - the sending client information
- message - the message
Parameters:
Name | Type |
---|---|
value |
IAction2<ClientInfo, string> |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:3286
sendClientMessage
▸ sendClientMessage(userId
: string, deviceId
: string, clientId
: string, message
: string): Future<Object>
Sends a message to a client in the channel.
Parameters:
Name | Type | Description |
---|---|---|
userId |
string | The user identifier. |
deviceId |
string | The device identifier. |
clientId |
string | The client identifier. |
message |
string | The message to be sent. |
Returns: Future<Object>
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:3316
sendDeviceMessage
▸ sendDeviceMessage(userId
: string, deviceId
: string, message
: string): Future<Object>
Sends a message to a device in the channel.
Parameters:
Name | Type | Description |
---|---|---|
userId |
string | The user identifier. |
deviceId |
string | The device identifier. |
message |
string | The message to be sent. |
Returns: Future<Object>
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:3343
sendMessage
▸ sendMessage(message
: string): Future<Object>
Sends a message to the channel.
Parameters:
Name | Type | Description |
---|---|---|
message |
string | The message to be sent. |
Returns: Future<Object>
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:3365
sendUserMessage
▸ sendUserMessage(userId
: string, message
: string): Future<Object>
Sends a message to a user in the channel.
Parameters:
Name | Type | Description |
---|---|---|
userId |
string | The user identifier. |
message |
string | The message. |
Returns: Future<Object>
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:3382
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
Inherited from: Dynamic
Defined in: Generated/TypeScript/fm.liveswitch/Dynamic.ts:98
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
.
Inherited from: Dynamic
Defined in: Generated/TypeScript/fm.liveswitch/Dynamic.ts:125
update
▸ update(newConfig
: ChannelConfig): Future<Object>
Updates this channel.
Parameters:
Name | Type | Description |
---|---|---|
newConfig |
ChannelConfig | The channel configuration. |
Returns: Future<Object>
A future that resolves when the channel has been updated.
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:3516
updateClient
▸ updateClient(remoteClientInfo
: ClientInfo, newConfig
: ChannelClientConfig): Future<Object>
Updates a client in this channel.
Parameters:
Name | Type | Description |
---|---|---|
remoteClientInfo |
ClientInfo | The remote client information. |
newConfig |
ChannelClientConfig | The client configuration. |
Returns: Future<Object>
A future that resolves when the client has been updated.
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:3538
▸ updateClient(userId
: string, deviceId
: string, clientId
: string, newConfig
: ChannelClientConfig): Future<Object>
Updates a client in this channel.
Parameters:
Name | Type | Description |
---|---|---|
userId |
string | The user identifier. |
deviceId |
string | The device identifier. |
clientId |
string | The client identifier. |
newConfig |
ChannelClientConfig | The client configuration. |
Returns: Future<Object>
A future that resolves when the client has been updated.
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:3549
updateClientLayout
▸ updateClientLayout(remoteClientInfo
: ClientInfo, newConfig
: ChannelClientLayoutConfig): Future<Object>
Applies a layout update to all upstream connections for the specified client in this channel.
Parameters:
Name | Type | Description |
---|---|---|
remoteClientInfo |
ClientInfo | The remote client information. |
newConfig |
ChannelClientLayoutConfig | The client configuration. |
Returns: Future<Object>
A future that resolves when the client layout has been updated.
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:3598
▸ updateClientLayout(userId
: string, deviceId
: string, clientId
: string, newConfig
: ChannelClientLayoutConfig): Future<Object>
Applies a layout update to all upstream connections for the specified client in this channel.
Parameters:
Name | Type | Description |
---|---|---|
userId |
string | The user identifier. |
deviceId |
string | The device identifier. |
clientId |
string | The client identifier. |
newConfig |
ChannelClientLayoutConfig | The client configuration. |
Returns: Future<Object>
A future that resolves when the client layout has been updated.
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:3609
updateConnection
▸ updateConnection(remoteConnectionInfo
: ConnectionInfo, newConfig
: ChannelConnectionConfig): Future<Object>
Updates a connection in this channel.
Parameters:
Name | Type | Description |
---|---|---|
remoteConnectionInfo |
ConnectionInfo | The remote connection information. |
newConfig |
ChannelConnectionConfig | The connection configuration. |
Returns: Future<Object>
A future that resolves when the connection has been updated.
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:3647
▸ updateConnection(userId
: string, deviceId
: string, clientId
: string, connectionId
: string, newConfig
: ChannelConnectionConfig): Future<Object>
Updates a connection in this channel.
Parameters:
Name | Type | Description |
---|---|---|
userId |
string | The user identifier. |
deviceId |
string | The device identifier. |
clientId |
string | The client identifier. |
connectionId |
string | The connection identifier. |
newConfig |
ChannelConnectionConfig | The connection configuration. |
Returns: Future<Object>
A future that resolves when the connection has been updated.
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:3659
updateConnectionLayout
▸ updateConnectionLayout(remoteConnectionInfo
: ConnectionInfo, newConfig
: ChannelConnectionLayoutConfig): Future<Object>
Updates a connection in this channel.
Parameters:
Name | Type | Description |
---|---|---|
remoteConnectionInfo |
ConnectionInfo | The remote connection information. |
newConfig |
ChannelConnectionLayoutConfig | The connection configuration. |
Returns: Future<Object>
A future that resolves when the connection has been updated.
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:3698
▸ updateConnectionLayout(userId
: string, deviceId
: string, clientId
: string, connectionId
: string, newConfig
: ChannelConnectionLayoutConfig): Future<Object>
Applies a layout update to the specified upstream connection in this channel.
Parameters:
Name | Type | Description |
---|---|---|
userId |
string | The user identifier. |
deviceId |
string | The device identifier. |
clientId |
string | The client identifier. |
connectionId |
string | The connection identifier. |
newConfig |
ChannelConnectionLayoutConfig | The connection configuration. |
Returns: Future<Object>
A future that resolves when the connection layout has been updated.
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:3710
updateDevice
▸ updateDevice(userId
: string, deviceId
: string, newConfig
: ChannelDeviceConfig): Future<Object>
Updates a device in this channel.
Parameters:
Name | Type | Description |
---|---|---|
userId |
string | The user identifier. |
deviceId |
string | The device identifier. |
newConfig |
ChannelDeviceConfig | The device configuration. |
Returns: Future<Object>
A future that resolves when the device has been updated.
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:3750
updateDeviceLayout
▸ updateDeviceLayout(userId
: string, deviceId
: string, newConfig
: ChannelDeviceLayoutConfig): Future<Object>
Applies a layout update to all upstream connections for the specified device in this channel.
Parameters:
Name | Type | Description |
---|---|---|
userId |
string | The user identifier. |
deviceId |
string | The device identifier. |
newConfig |
ChannelDeviceLayoutConfig | The device layout configuration. |
Returns: Future<Object>
A future that resolves when the device layout has been updated.
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:3773
updateLayout
▸ updateLayout(newLayoutConfig
: ChannelLayoutConfig): Future<Object>
Applies a layout update to all upstream connections on this channel
Parameters:
Name | Type | Description |
---|---|---|
newLayoutConfig |
ChannelLayoutConfig | The channel layout configuration. |
Returns: Future<Object>
A future that resolves when the channel layout has been updated.
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:3794
updateUser
▸ updateUser(userId
: string, newConfig
: ChannelUserConfig): Future<Object>
Updates a user in this channel.
Parameters:
Name | Type | Description |
---|---|---|
userId |
string | The user identifier. |
newConfig |
ChannelUserConfig | The user configuration. |
Returns: Future<Object>
A future that resolves when the user has been updated.
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:3816
updateUserLayout
▸ updateUserLayout(userId
: string, newLayoutConfig
: ChannelUserLayoutConfig): Future<Object>
Applies a layout update to all upstream connections for the specified user in this channel.
Parameters:
Name | Type | Description |
---|---|---|
userId |
string | The user identifier. |
newLayoutConfig |
ChannelUserLayoutConfig | The user layout configuration. |
Returns: Future<Object>
A future that resolves when the user layout has been updated.
Defined in: Generated/TypeScript/fm.liveswitch/Channel.ts:3838