A channel. More...
Public Member Functions | |
| void | addOnClaimUpdate (fm.liveswitch.IAction2< fm.liveswitch.ChannelClaim, fm.liveswitch.ChannelClaim > value) |
| Adds a handler that is raised when the client's channel claim has been updated. More... | |
| void | addOnClientMessage (fm.liveswitch.IAction2< fm.liveswitch.ClientInfo, String > value) |
| Adds a handler that is raised when a channel/client-scope message is received from the server. More... | |
| void | addOnDeviceMessage (fm.liveswitch.IAction2< fm.liveswitch.ClientInfo, String > value) |
| Adds a handler that is raised when a channel/device-scope message is received from the server. More... | |
| void | addOnKick (fm.liveswitch.IAction0 value) |
| Adds a handler that is raised when the client is kicked from the channel. More... | |
| void | addOnMcuVideoLayout (fm.liveswitch.IAction1< fm.liveswitch.VideoLayout > value) |
| Adds a handler that is raised when a new MCU video layout is received from the server. More... | |
| void | addOnMessage (fm.liveswitch.IAction2< fm.liveswitch.ClientInfo, String > value) |
| Adds a handler that is raised when a channel-scope message is received from the server. More... | |
| void | addOnPeerConnectionOffer (fm.liveswitch.IAction1< fm.liveswitch.PeerConnectionOffer > value) |
| Adds a handler that is raised when a remote client wants to open a peer connection. More... | |
| void | addOnRemoteClientJoin (fm.liveswitch.IAction1< fm.liveswitch.ClientInfo > value) |
| Adds a handler that is raised when a remote client joins this channel. More... | |
| void | addOnRemoteClientLeave (fm.liveswitch.IAction1< fm.liveswitch.ClientInfo > value) |
| Adds a handler that is raised when a remote client leaves this channel. More... | |
| void | addOnRemoteClientUpdate (fm.liveswitch.IAction2< fm.liveswitch.ClientInfo, fm.liveswitch.ClientInfo > value) |
| Adds a handler that is raised when a remote client updates their config. More... | |
| void | addOnRemoteUpstreamConnectionClose (fm.liveswitch.IAction1< fm.liveswitch.ConnectionInfo > value) |
| Adds a handler that is raised when a remote upstream (SFU or MCU) connection is closed by a remote client. More... | |
| void | addOnRemoteUpstreamConnectionOpen (fm.liveswitch.IAction1< fm.liveswitch.ConnectionInfo > value) |
| Adds a handler that is raised when a remote upstream (SFU or MCU) connection is opened by a remote client. More... | |
| void | addOnRemoteUpstreamConnectionUpdate (fm.liveswitch.IAction2< fm.liveswitch.ConnectionInfo, fm.liveswitch.ConnectionInfo > value) |
| Adds a handler that is raised when a remote upstream (SFU or MCU) connection is updated by a remote client. More... | |
| void | addOnUserMessage (fm.liveswitch.IAction2< fm.liveswitch.ClientInfo, String > value) |
| Adds a handler that is raised when a channel/user-scope message is received from the server. More... | |
| fm.liveswitch.Future< Object > | closeAll () |
| Closes all active connections. More... | |
| fm.liveswitch.McuConnection | createMcuConnection (fm.liveswitch.AudioStream audioStream) |
| Creates an audio-only MCU connection. More... | |
| fm.liveswitch.McuConnection | createMcuConnection (fm.liveswitch.AudioStream audioStream, fm.liveswitch.DataStream dataStream) |
| Creates an audio/data MCU connection. More... | |
| fm.liveswitch.McuConnection | createMcuConnection (fm.liveswitch.AudioStream audioStream, fm.liveswitch.DataStream dataStream, String mediaId) |
| Creates an audio/data MCU connection with a specific media identifier that can be targeted by SFU downstream connections. More... | |
| fm.liveswitch.McuConnection | createMcuConnection (fm.liveswitch.AudioStream audioStream, String mediaId) |
| Creates an audio-only MCU connection with a specific media identifier that can be targeted by SFU downstream connections. More... | |
| fm.liveswitch.McuConnection | createMcuConnection (fm.liveswitch.AudioStream audioStream, fm.liveswitch.VideoStream videoStream) |
| Creates an audio/video MCU connection. More... | |
| fm.liveswitch.McuConnection | createMcuConnection (fm.liveswitch.AudioStream audioStream, fm.liveswitch.VideoStream videoStream, fm.liveswitch.DataStream dataStream) |
| Creates an audio/video/data MCU connection. More... | |
| fm.liveswitch.McuConnection | createMcuConnection (fm.liveswitch.AudioStream audioStream, fm.liveswitch.VideoStream videoStream, fm.liveswitch.DataStream dataStream, String mediaId) |
| Creates an audio/video MCU connection with a specific media identifier that can be targeted by SFU downstream connections. More... | |
| fm.liveswitch.McuConnection | createMcuConnection (fm.liveswitch.AudioStream audioStream, fm.liveswitch.VideoStream videoStream, String mediaId) |
| Creates an audio/video MCU connection with a specific media identifier that can be targeted by SFU downstream connections. More... | |
| fm.liveswitch.McuConnection | createMcuConnection (fm.liveswitch.DataStream dataStream) |
| Creates a data-only MCU connection. More... | |
| fm.liveswitch.McuConnection | createMcuConnection (fm.liveswitch.DataStream dataStream, String mediaId) |
| Creates a data-only MCU connection with a specific media identifier that can be targeted by SFU downstream connections. More... | |
| fm.liveswitch.McuConnection | createMcuConnection (fm.liveswitch.VideoStream videoStream) |
| Creates a video-only MCU connection. More... | |
| fm.liveswitch.McuConnection | createMcuConnection (fm.liveswitch.VideoStream videoStream, fm.liveswitch.DataStream dataStream) |
| Creates a video/data MCU connection. More... | |
| fm.liveswitch.McuConnection | createMcuConnection (fm.liveswitch.VideoStream videoStream, fm.liveswitch.DataStream dataStream, String mediaId) |
| Creates a video/data MCU connection with a specific media identifier that can be targeted by SFU downstream connections. More... | |
| fm.liveswitch.McuConnection | createMcuConnection (fm.liveswitch.VideoStream videoStream, String mediaId) |
| Creates a video-only MCU connection with a specific media identifier that can be targeted by SFU downstream connections. More... | |
| fm.liveswitch.PeerConnection | createPeerConnection (fm.liveswitch.PeerConnectionOffer peerConnectionOffer, fm.liveswitch.AudioStream audioStream) |
| Creates an audio-only peer connection in the answering role. More... | |
| fm.liveswitch.PeerConnection | createPeerConnection (fm.liveswitch.PeerConnectionOffer peerConnectionOffer, fm.liveswitch.AudioStream audioStream, fm.liveswitch.DataStream dataStream) |
| Creates an audio/data peer connection in the answering role. More... | |
| fm.liveswitch.PeerConnection | createPeerConnection (fm.liveswitch.PeerConnectionOffer peerConnectionOffer, fm.liveswitch.AudioStream audioStream, fm.liveswitch.VideoStream videoStream) |
| Creates an audio/video peer connection in the answering role. More... | |
| fm.liveswitch.PeerConnection | createPeerConnection (fm.liveswitch.PeerConnectionOffer peerConnectionOffer, fm.liveswitch.AudioStream audioStream, fm.liveswitch.VideoStream videoStream, fm.liveswitch.DataStream dataStream) |
| Creates an audio/video/data peer connection in the answering role. More... | |
| fm.liveswitch.PeerConnection | createPeerConnection (fm.liveswitch.PeerConnectionOffer peerConnectionOffer, fm.liveswitch.DataStream dataStream) |
| Creates a data-only peer connection in the answering role. More... | |
| fm.liveswitch.PeerConnection | createPeerConnection (fm.liveswitch.PeerConnectionOffer peerConnectionOffer, fm.liveswitch.VideoStream videoStream) |
| Creates a video-only peer connection in the answering role. More... | |
| fm.liveswitch.PeerConnection | createPeerConnection (fm.liveswitch.PeerConnectionOffer peerConnectionOffer, fm.liveswitch.VideoStream videoStream, fm.liveswitch.DataStream dataStream) |
| Creates a video/data peer connection in the answering role. More... | |
| fm.liveswitch.PeerConnection | createPeerConnection (fm.liveswitch.ClientInfo remoteClientInfo, fm.liveswitch.AudioStream audioStream) |
| Creates an audio-only peer connection in the offering role. More... | |
| fm.liveswitch.PeerConnection | createPeerConnection (fm.liveswitch.ClientInfo remoteClientInfo, fm.liveswitch.AudioStream audioStream, fm.liveswitch.DataStream dataStream) |
| Creates an audio/data peer connection in the offering role. More... | |
| fm.liveswitch.PeerConnection | createPeerConnection (fm.liveswitch.ClientInfo remoteClientInfo, fm.liveswitch.AudioStream audioStream, fm.liveswitch.VideoStream videoStream) |
| Creates an audio/video peer connection in the offering role. More... | |
| fm.liveswitch.PeerConnection | createPeerConnection (fm.liveswitch.ClientInfo remoteClientInfo, fm.liveswitch.AudioStream audioStream, fm.liveswitch.VideoStream videoStream, fm.liveswitch.DataStream dataStream) |
| Creates an audio/video/data peer connection in the offering role. More... | |
| fm.liveswitch.PeerConnection | createPeerConnection (fm.liveswitch.ClientInfo remoteClientInfo, fm.liveswitch.DataStream dataStream) |
| Creates a data-only peer connection in the offering role. More... | |
| fm.liveswitch.PeerConnection | createPeerConnection (fm.liveswitch.ClientInfo remoteClientInfo, fm.liveswitch.VideoStream videoStream) |
| Creates a video-only peer connection in the offering role. More... | |
| fm.liveswitch.PeerConnection | createPeerConnection (fm.liveswitch.ClientInfo remoteClientInfo, fm.liveswitch.VideoStream videoStream, fm.liveswitch.DataStream dataStream) |
| Creates a video/data peer connection in the offering role. More... | |
| fm.liveswitch.SfuDownstreamConnection | createSfuDownstreamConnection (fm.liveswitch.ConnectionInfo remoteConnectionInfo, fm.liveswitch.AudioStream audioStream) |
| Creates an audio-only SFU downstream connection to the SFU or MCU upstream connection identified by the remote connection info. More... | |
| fm.liveswitch.SfuDownstreamConnection | createSfuDownstreamConnection (fm.liveswitch.ConnectionInfo remoteConnectionInfo, fm.liveswitch.AudioStream audioStream, fm.liveswitch.DataStream dataStream) |
| Creates an audio/data SFU downstream connection. More... | |
| fm.liveswitch.SfuDownstreamConnection | createSfuDownstreamConnection (fm.liveswitch.ConnectionInfo remoteConnectionInfo, fm.liveswitch.AudioStream audioStream, boolean useWebSocketsForMedia) |
| Creates an audio-only SFU downstream connection to the SFU or MCU upstream connection identified by the remote connection info. More... | |
| fm.liveswitch.SfuDownstreamConnection | createSfuDownstreamConnection (fm.liveswitch.ConnectionInfo remoteConnectionInfo, fm.liveswitch.AudioStream audioStream, fm.liveswitch.VideoStream videoStream) |
| Creates an audio/video SFU downstream connection to the SFU or MCU upstream connection identified by the remote connection info. More... | |
| fm.liveswitch.SfuDownstreamConnection | createSfuDownstreamConnection (fm.liveswitch.ConnectionInfo remoteConnectionInfo, fm.liveswitch.AudioStream audioStream, fm.liveswitch.VideoStream videoStream, fm.liveswitch.DataStream dataStream) |
| Creates an audio/video/data SFU downstream connection. More... | |
| fm.liveswitch.SfuDownstreamConnection | createSfuDownstreamConnection (fm.liveswitch.ConnectionInfo remoteConnectionInfo, fm.liveswitch.AudioStream audioStream, fm.liveswitch.VideoStream videoStream, fm.liveswitch.DataStream dataStream, boolean useWebSocketsForMedia) |
| Creates an audio/video/data SFU downstream connection. More... | |
| fm.liveswitch.SfuDownstreamConnection | createSfuDownstreamConnection (fm.liveswitch.ConnectionInfo remoteConnectionInfo, fm.liveswitch.AudioStream audioStream, fm.liveswitch.VideoStream videoStream, fm.liveswitch.DataStream dataStream, boolean useWebSocketsForMedia, fm.liveswitch.Guid connectionId) |
| Creates an audio/video/data SFU downstream connection. More... | |
| fm.liveswitch.SfuDownstreamConnection | createSfuDownstreamConnection (fm.liveswitch.ConnectionInfo remoteConnectionInfo, fm.liveswitch.AudioStream audioStream, fm.liveswitch.VideoStream videoStream, boolean useWebSocketsForMedia) |
| Creates an audio/video SFU downstream connection to the SFU or MCU upstream connection identified by the remote connection info. More... | |
| fm.liveswitch.SfuDownstreamConnection | createSfuDownstreamConnection (fm.liveswitch.ConnectionInfo remoteConnectionInfo, fm.liveswitch.DataStream dataStream) |
| Creates a data-only SFU downstream connection. More... | |
| fm.liveswitch.SfuDownstreamConnection | createSfuDownstreamConnection (fm.liveswitch.ConnectionInfo remoteConnectionInfo, fm.liveswitch.VideoStream videoStream) |
| Creates a video-only SFU downstream connection to the SFU or MCU upstream connection identified by the remote connection info. More... | |
| fm.liveswitch.SfuDownstreamConnection | createSfuDownstreamConnection (fm.liveswitch.ConnectionInfo remoteConnectionInfo, fm.liveswitch.VideoStream videoStream, fm.liveswitch.DataStream dataStream) |
| Creates a video/data SFU downstream connection. More... | |
| fm.liveswitch.SfuDownstreamConnection | createSfuDownstreamConnection (fm.liveswitch.ConnectionInfo remoteConnectionInfo, fm.liveswitch.VideoStream videoStream, boolean useWebSocketsForMedia) |
| Creates a video-only SFU downstream connection to the SFU or MCU upstream connection identified by the remote connection info. More... | |
| fm.liveswitch.SfuDownstreamConnection | createSfuDownstreamConnection (String remoteMediaId, fm.liveswitch.AudioStream audioStream) |
| Creates an audio-only SFU downstream connection to the SFU or MCU upstream connection with the remote media identifier. More... | |
| fm.liveswitch.SfuDownstreamConnection | createSfuDownstreamConnection (String remoteMediaId, fm.liveswitch.AudioStream audioStream, fm.liveswitch.DataStream dataStream) |
| Creates an audio/data SFU downstream connection. More... | |
| fm.liveswitch.SfuDownstreamConnection | createSfuDownstreamConnection (String remoteMediaId, fm.liveswitch.AudioStream audioStream, boolean useWebSocketsForMedia) |
| Creates an audio-only SFU downstream connection to the SFU or MCU upstream connection with the remote media identifier. More... | |
| fm.liveswitch.SfuDownstreamConnection | createSfuDownstreamConnection (String remoteMediaId, fm.liveswitch.AudioStream audioStream, fm.liveswitch.VideoStream videoStream) |
| Creates an audio/video SFU downstream connection. More... | |
| fm.liveswitch.SfuDownstreamConnection | createSfuDownstreamConnection (String remoteMediaId, fm.liveswitch.AudioStream audioStream, fm.liveswitch.VideoStream videoStream, fm.liveswitch.DataStream dataStream) |
| Creates an audio/video/data SFU downstream connection. More... | |
| fm.liveswitch.SfuDownstreamConnection | createSfuDownstreamConnection (String remoteMediaId, fm.liveswitch.AudioStream audioStream, fm.liveswitch.VideoStream videoStream, fm.liveswitch.DataStream dataStream, boolean useWebSocketsForMedia) |
| Creates an audio/video/data SFU downstream connection. More... | |
| fm.liveswitch.SfuDownstreamConnection | createSfuDownstreamConnection (String remoteMediaId, fm.liveswitch.AudioStream audioStream, fm.liveswitch.VideoStream videoStream, fm.liveswitch.DataStream dataStream, boolean useWebSocketsForMedia, fm.liveswitch.Guid connectionId) |
| Creates an audio/video/data SFU downstream connection. More... | |
| fm.liveswitch.SfuDownstreamConnection | createSfuDownstreamConnection (String remoteMediaId, fm.liveswitch.AudioStream audioStream, fm.liveswitch.VideoStream videoStream, boolean useWebSocketsForMedia) |
| Creates an audio/video SFU downstream connection. More... | |
| fm.liveswitch.SfuDownstreamConnection | createSfuDownstreamConnection (String remoteMediaId, fm.liveswitch.DataStream dataStream) |
| Creates a data-only SFU downstream connection. More... | |
| fm.liveswitch.SfuDownstreamConnection | createSfuDownstreamConnection (String remoteMediaId, fm.liveswitch.VideoStream videoStream) |
| Creates a video-only SFU downstream connection. More... | |
| fm.liveswitch.SfuDownstreamConnection | createSfuDownstreamConnection (String remoteMediaId, fm.liveswitch.VideoStream videoStream, fm.liveswitch.DataStream dataStream) |
| Creates a video/data SFU downstream connection. More... | |
| fm.liveswitch.SfuDownstreamConnection | createSfuDownstreamConnection (String remoteMediaId, fm.liveswitch.VideoStream videoStream, boolean useWebSocketsForMedia) |
| Creates a video-only SFU downstream connection. More... | |
| fm.liveswitch.SfuDownstreamConnection | createSfuDownstreamConnectionWithRemoteInternalId (fm.liveswitch.ConnectionInfo remoteConnectionInfo, fm.liveswitch.AudioStream audioStream, fm.liveswitch.VideoStream videoStream, fm.liveswitch.Guid connectionId) |
| Creates an audio/video SFU downstream connection to the SFU or MCU upstream connection identified by the remote connection info. More... | |
| fm.liveswitch.SfuDownstreamConnection | createSfuDownstreamConnectionWithRemoteInternalId (String remoteMediaId, fm.liveswitch.AudioStream audioStream, fm.liveswitch.VideoStream videoStream, fm.liveswitch.Guid connectionId) |
| Creates an audio/video SFU downstream connection. More... | |
| fm.liveswitch.SfuUpstreamConnection | createSfuUpstreamConnection (fm.liveswitch.AudioStream audioStream) |
| Creates an audio-only SFU upstream connection. More... | |
| fm.liveswitch.SfuUpstreamConnection | createSfuUpstreamConnection (fm.liveswitch.AudioStream audioStream, fm.liveswitch.DataStream dataStream) |
| Creates an audio/data SFU upstream connection. More... | |
| fm.liveswitch.SfuUpstreamConnection | createSfuUpstreamConnection (fm.liveswitch.AudioStream audioStream, fm.liveswitch.DataStream dataStream, String mediaId) |
| Creates an audio/data SFU upstream connection with a specific media identifier that can be targeted by SFU downstream connections. More... | |
| fm.liveswitch.SfuUpstreamConnection | createSfuUpstreamConnection (fm.liveswitch.AudioStream audioStream, String mediaId) |
| Creates an audio-only SFU upstream connection with a specific media identifier that can be targeted by SFU downstream connections. More... | |
| fm.liveswitch.SfuUpstreamConnection | createSfuUpstreamConnection (fm.liveswitch.AudioStream audioStream, String mediaId, boolean useWebSocketsForMedia) |
| Creates an audio-only SFU upstream connection with a specific media identifier that can be targeted by SFU downstream connections. More... | |
| fm.liveswitch.SfuUpstreamConnection | createSfuUpstreamConnection (fm.liveswitch.AudioStream audioStream, boolean useWebSocketsForMedia) |
| Creates an audio-only SFU upstream connection. More... | |
| fm.liveswitch.SfuUpstreamConnection | createSfuUpstreamConnection (fm.liveswitch.AudioStream audioStream, fm.liveswitch.VideoStream videoStream) |
| Creates an audio/video SFU upstream connection. More... | |
| fm.liveswitch.SfuUpstreamConnection | createSfuUpstreamConnection (fm.liveswitch.AudioStream audioStream, fm.liveswitch.VideoStream videoStream, fm.liveswitch.DataStream dataStream) |
| Creates an audio/video/data SFU upstream connection. More... | |
| fm.liveswitch.SfuUpstreamConnection | createSfuUpstreamConnection (fm.liveswitch.AudioStream audioStream, fm.liveswitch.VideoStream videoStream, fm.liveswitch.DataStream dataStream, String mediaId) |
| Creates an audio/video SFU upstream connection with a specific media identifier that can be targeted by SFU downstream connections. More... | |
| fm.liveswitch.SfuUpstreamConnection | createSfuUpstreamConnection (fm.liveswitch.AudioStream audioStream, fm.liveswitch.VideoStream videoStream, fm.liveswitch.DataStream dataStream, String mediaId, boolean useWebSocketsForMedia) |
| Creates an audio/video SFU upstream connection with a specific media identifier that can be targeted by SFU downstream connections. More... | |
| fm.liveswitch.SfuUpstreamConnection | createSfuUpstreamConnection (fm.liveswitch.AudioStream audioStream, fm.liveswitch.VideoStream videoStream, fm.liveswitch.DataStream dataStream, String mediaId, boolean useWebSocketsForMedia, fm.liveswitch.Guid connectionId) |
| Creates an audio/video SFU upstream connection with a specific media identifier that can be targeted by SFU downstream connections. More... | |
| fm.liveswitch.SfuUpstreamConnection | createSfuUpstreamConnection (fm.liveswitch.AudioStream audioStream, fm.liveswitch.VideoStream videoStream, fm.liveswitch.DataStream dataStream, boolean useWebSocketsForMedia) |
| Creates an audio/video/data SFU upstream connection. More... | |
| fm.liveswitch.SfuUpstreamConnection | createSfuUpstreamConnection (fm.liveswitch.AudioStream audioStream, fm.liveswitch.VideoStream videoStream, String mediaId) |
| Creates an audio/video SFU upstream connection with a specific media identifier that can be targeted by SFU downstream connections. More... | |
| fm.liveswitch.SfuUpstreamConnection | createSfuUpstreamConnection (fm.liveswitch.AudioStream audioStream, fm.liveswitch.VideoStream videoStream, String mediaId, boolean useWebSocketsForMedia) |
| Creates an audio/video SFU upstream connection with a specific media identifier that can be targeted by SFU downstream connections. More... | |
| fm.liveswitch.SfuUpstreamConnection | createSfuUpstreamConnection (fm.liveswitch.AudioStream audioStream, fm.liveswitch.VideoStream videoStream, boolean useWebSocketsForMedia) |
| Creates an audio/video SFU upstream connection. More... | |
| fm.liveswitch.SfuUpstreamConnection | createSfuUpstreamConnection (fm.liveswitch.DataStream dataStream) |
| Creates a data-only SFU upstream connection. More... | |
| fm.liveswitch.SfuUpstreamConnection | createSfuUpstreamConnection (fm.liveswitch.DataStream dataStream, String mediaId) |
| Creates a data-only SFU upstream connection with a specific media identifier that can be targeted by SFU downstream connections. More... | |
| fm.liveswitch.SfuUpstreamConnection | createSfuUpstreamConnection (fm.liveswitch.VideoStream videoStream) |
| Creates a video-only SFU upstream connection. More... | |
| fm.liveswitch.SfuUpstreamConnection | createSfuUpstreamConnection (fm.liveswitch.VideoStream videoStream, fm.liveswitch.DataStream dataStream) |
| Creates a video/data SFU upstream connection. More... | |
| fm.liveswitch.SfuUpstreamConnection | createSfuUpstreamConnection (fm.liveswitch.VideoStream videoStream, fm.liveswitch.DataStream dataStream, String mediaId) |
| Creates a video/data SFU upstream connection with a specific media identifier that can be targeted by SFU downstream connections. More... | |
| fm.liveswitch.SfuUpstreamConnection | createSfuUpstreamConnection (fm.liveswitch.VideoStream videoStream, String mediaId) |
| Creates a video-only SFU upstream connection with a specific media identifier that can be targeted by SFU downstream connections. More... | |
| fm.liveswitch.SfuUpstreamConnection | createSfuUpstreamConnection (fm.liveswitch.VideoStream videoStream, String mediaId, boolean useWebSocketsForMedia) |
| Creates a video-only SFU upstream connection with a specific media identifier that can be targeted by SFU downstream connections. More... | |
| fm.liveswitch.SfuUpstreamConnection | createSfuUpstreamConnection (fm.liveswitch.VideoStream videoStream, boolean useWebSocketsForMedia) |
| Creates a video-only SFU upstream connection. More... | |
| fm.liveswitch.SfuUpstreamConnection | createSfuUpstreamConnectionWithRemoteInternalId (fm.liveswitch.AudioStream audioStream, fm.liveswitch.VideoStream videoStream, String mediaId, fm.liveswitch.Guid connectionId) |
| Creates an audio/video SFU upstream connection with a specific media identifier that can be targeted by SFU downstream connections. More... | |
| String | getApplicationId () |
| Gets the application identifier. More... | |
| fm.liveswitch.ChannelClaim | getClaim () |
| Gets the claim. More... | |
| String | getClientId () |
| Gets the client identifier. More... | |
| String[] | getClientRoles () |
| Gets the client roles. More... | |
| String | getClientTag () |
| Gets the client tag. More... | |
| fm.liveswitch.ManagedConnectionCollection | getConnections () |
| Gets the active connections. More... | |
| String | getDeviceAlias () |
| Gets the device alias. More... | |
| String | getDeviceId () |
| Gets the device identifier. More... | |
| String | getId () |
| Gets the channel identifier. More... | |
| long | getMessageBytesReceived () |
| Gets the number of message bytes received. More... | |
| long | getMessageBytesSent () |
| Gets the number of message bytes sent. More... | |
| long | getMessagesReceived () |
| Gets the number of messages received. More... | |
| long | getMessagesSent () |
| Gets the number of messages sent. More... | |
| fm.liveswitch.ClientInfo | getRemoteClientInfo (String clientId) |
| Gets information about a remote client. More... | |
| fm.liveswitch.ClientInfo[] | getRemoteClientInfos () |
| Gets information about the remote client in this channel. More... | |
| fm.liveswitch.ConnectionInfo | getRemoteConnectionInfo (String connectionId) |
| Gets information about a remote connection. More... | |
| fm.liveswitch.ConnectionInfo[] | getRemoteUpstreamConnectionInfos () |
| Gets information about the remote upstream (SFU or MCU) connections opened by remote clients in this channel. More... | |
| String | getUserAlias () |
| Gets the user alias. More... | |
| String | getUserId () |
| Gets the user identifier. More... | |
| String | getWebSocketAccessToken () |
| Gets the WebSocket Media Server Authorization Token for this channel. More... | |
| String | getWebSocketServerEndpointUrl () |
| Gets the WebSocket Media Server Endpoint for this channel. More... | |
| fm.liveswitch.Future< fm.liveswitch.Invitation > | invite (String userId, String protocol) |
| Invites a user into this channel. More... | |
| fm.liveswitch.Future< Object > | kick () |
| Kicks this channel. More... | |
| fm.liveswitch.Future< Object > | kickClient (fm.liveswitch.ClientInfo remoteClientInfo) |
| Kicks a client in this channel. More... | |
| fm.liveswitch.Future< Object > | kickClient (String userId, String deviceId, String clientId) |
| Kicks a client in this channel. More... | |
| fm.liveswitch.Future< Object > | kickConnection (fm.liveswitch.ConnectionInfo remoteConnectionInfo) |
| Kicks a connection in this channel. More... | |
| fm.liveswitch.Future< Object > | kickConnection (String userId, String deviceId, String clientId, String connectionId) |
| Kicks a connection in this channel. More... | |
| fm.liveswitch.Future< Object > | kickDevice (String userId, String deviceId) |
| Kicks a device in this channel. More... | |
| fm.liveswitch.Future< Object > | kickUser (String userId) |
| Kicks a user in this channel. More... | |
| fm.liveswitch.Future< Object > | rejectPeerConnection (fm.liveswitch.PeerConnectionOffer peerConnectionOffer) |
| Rejects a peer connection offer. More... | |
| void | removeOnClaimUpdate (fm.liveswitch.IAction2< fm.liveswitch.ChannelClaim, fm.liveswitch.ChannelClaim > value) |
| Removes a handler that is raised when the client's channel claim has been updated. More... | |
| void | removeOnClientMessage (fm.liveswitch.IAction2< fm.liveswitch.ClientInfo, String > value) |
| Removes a handler that is raised when a channel/client-scope message is received from the server. More... | |
| void | removeOnDeviceMessage (fm.liveswitch.IAction2< fm.liveswitch.ClientInfo, String > value) |
| Removes a handler that is raised when a channel/device-scope message is received from the server. More... | |
| void | removeOnKick (fm.liveswitch.IAction0 value) |
| Removes a handler that is raised when the client is kicked from the channel. More... | |
| void | removeOnMcuVideoLayout (fm.liveswitch.IAction1< fm.liveswitch.VideoLayout > value) |
| Removes a handler that is raised when a new MCU video layout is received from the server. More... | |
| void | removeOnMessage (fm.liveswitch.IAction2< fm.liveswitch.ClientInfo, String > value) |
| Removes a handler that is raised when a channel-scope message is received from the server. More... | |
| void | removeOnPeerConnectionOffer (fm.liveswitch.IAction1< fm.liveswitch.PeerConnectionOffer > value) |
| Removes a handler that is raised when a remote client wants to open a peer connection. More... | |
| void | removeOnRemoteClientJoin (fm.liveswitch.IAction1< fm.liveswitch.ClientInfo > value) |
| Removes a handler that is raised when a remote client joins this channel. More... | |
| void | removeOnRemoteClientLeave (fm.liveswitch.IAction1< fm.liveswitch.ClientInfo > value) |
| Removes a handler that is raised when a remote client leaves this channel. More... | |
| void | removeOnRemoteClientUpdate (fm.liveswitch.IAction2< fm.liveswitch.ClientInfo, fm.liveswitch.ClientInfo > value) |
| Removes a handler that is raised when a remote client updates their config. More... | |
| void | removeOnRemoteUpstreamConnectionClose (fm.liveswitch.IAction1< fm.liveswitch.ConnectionInfo > value) |
| Removes a handler that is raised when a remote upstream (SFU or MCU) connection is closed by a remote client. More... | |
| void | removeOnRemoteUpstreamConnectionOpen (fm.liveswitch.IAction1< fm.liveswitch.ConnectionInfo > value) |
| Removes a handler that is raised when a remote upstream (SFU or MCU) connection is opened by a remote client. More... | |
| void | removeOnRemoteUpstreamConnectionUpdate (fm.liveswitch.IAction2< fm.liveswitch.ConnectionInfo, fm.liveswitch.ConnectionInfo > value) |
| Removes a handler that is raised when a remote upstream (SFU or MCU) connection is updated by a remote client. More... | |
| void | removeOnUserMessage (fm.liveswitch.IAction2< fm.liveswitch.ClientInfo, String > value) |
| Removes a handler that is raised when a channel/user-scope message is received from the server. More... | |
| fm.liveswitch.Future< Object > | sendClientMessage (String userId, String deviceId, String clientId, String message) |
| Sends a message to a client in the channel. More... | |
| fm.liveswitch.Future< Object > | sendDeviceMessage (String userId, String deviceId, String message) |
| Sends a message to a device in the channel. More... | |
| fm.liveswitch.Future< Object > | sendMessage (String message) |
| Sends a message to the channel. More... | |
| fm.liveswitch.Future< Object > | sendUserMessage (String userId, String message) |
| Sends a message to a user in the channel. More... | |
| fm.liveswitch.Future< Object > | update (fm.liveswitch.ChannelConfig newConfig) |
| Updates this channel. More... | |
| fm.liveswitch.Future< Object > | updateClient (fm.liveswitch.ClientInfo remoteClientInfo, fm.liveswitch.ChannelClientConfig newConfig) |
| Updates a client in this channel. More... | |
| fm.liveswitch.Future< Object > | updateClient (String userId, String deviceId, String clientId, fm.liveswitch.ChannelClientConfig newConfig) |
| Updates a client in this channel. More... | |
| fm.liveswitch.Future< Object > | updateClientLayout (fm.liveswitch.ClientInfo remoteClientInfo, fm.liveswitch.ChannelClientLayoutConfig newConfig) |
| Applies a layout update to all upstream connections for the specified client in this channel. More... | |
| fm.liveswitch.Future< Object > | updateClientLayout (String userId, String deviceId, String clientId, fm.liveswitch.ChannelClientLayoutConfig newConfig) |
| Applies a layout update to all upstream connections for the specified client in this channel. More... | |
| fm.liveswitch.Future< Object > | updateConnection (fm.liveswitch.ConnectionInfo remoteConnectionInfo, fm.liveswitch.ChannelConnectionConfig newConfig) |
| Updates a connection in this channel. More... | |
| fm.liveswitch.Future< Object > | updateConnection (String userId, String deviceId, String clientId, String connectionId, fm.liveswitch.ChannelConnectionConfig newConfig) |
| Updates a connection in this channel. More... | |
| fm.liveswitch.Future< Object > | updateConnectionLayout (fm.liveswitch.ConnectionInfo remoteConnectionInfo, fm.liveswitch.ChannelConnectionLayoutConfig newConfig) |
| Updates a connection in this channel. More... | |
| fm.liveswitch.Future< Object > | updateConnectionLayout (String userId, String deviceId, String clientId, String connectionId, fm.liveswitch.ChannelConnectionLayoutConfig newConfig) |
| Applies a layout update to the specified upstream connection in this channel. More... | |
| fm.liveswitch.Future< Object > | updateDevice (String userId, String deviceId, fm.liveswitch.ChannelDeviceConfig newConfig) |
| Updates a device in this channel. More... | |
| fm.liveswitch.Future< Object > | updateDeviceLayout (String userId, String deviceId, fm.liveswitch.ChannelDeviceLayoutConfig newConfig) |
| Applies a layout update to all upstream connections for the specified device in this channel. More... | |
| fm.liveswitch.Future< Object > | updateLayout (fm.liveswitch.ChannelLayoutConfig newLayoutConfig) |
| Applies a layout update to all upstream connections on this channel. More... | |
| fm.liveswitch.Future< Object > | updateUser (String userId, fm.liveswitch.ChannelUserConfig newConfig) |
| Updates a user in this channel. More... | |
| fm.liveswitch.Future< Object > | updateUserLayout (String userId, fm.liveswitch.ChannelUserLayoutConfig newLayoutConfig) |
| Applies a layout update to all upstream connections for the specified user in this channel. More... | |
Public Member Functions inherited from fm.liveswitch.Dynamic | |
| java.util.HashMap< String, Object > | getDynamicProperties () |
| Gets all dynamic properties on this instance. More... | |
| Object | getDynamicValue (String key) |
| Gets a property value from the local cache. More... | |
| void | setDynamicValue (String key, Object value) |
| Sets a property value in the local cache. More... | |
| boolean | unsetDynamicValue (String key) |
| Removes a property value from the local cache. More... | |
Protected Member Functions | |
| fm.liveswitch.Future< fm.liveswitch.Message > | send (fm.liveswitch.Message message) |
| Sends a message. More... | |
Protected Member Functions inherited from fm.liveswitch.Dynamic | |
| Dynamic () | |
Protected Member Functions inherited from fm.liveswitch.Serializable | |
| boolean | getIsDirty () |
| Gets a value indicating whether this instance is dirty. More... | |
| Serializable () | |
| Initializes a new instance of the fm.liveswitch.Serializable class. More... | |
| void | setIsDirty (boolean value) |
| Sets a value indicating whether this instance is dirty. More... | |
A channel.
| void fm.liveswitch.Channel.addOnClaimUpdate | ( | fm.liveswitch.IAction2< fm.liveswitch.ChannelClaim, fm.liveswitch.ChannelClaim > | value | ) |
Adds a handler that is raised when the client's channel claim has been updated.
Parameters:
| void fm.liveswitch.Channel.addOnClientMessage | ( | fm.liveswitch.IAction2< fm.liveswitch.ClientInfo, String > | value | ) |
Adds a handler that is raised when a channel/client-scope message is received from the server.
Parameters:
| void fm.liveswitch.Channel.addOnDeviceMessage | ( | fm.liveswitch.IAction2< fm.liveswitch.ClientInfo, String > | value | ) |
Adds a handler that is raised when a channel/device-scope message is received from the server.
Parameters:
| void fm.liveswitch.Channel.addOnKick | ( | fm.liveswitch.IAction0 | value | ) |
Adds a handler that is raised when the client is kicked from the channel.
| void fm.liveswitch.Channel.addOnMcuVideoLayout | ( | fm.liveswitch.IAction1< fm.liveswitch.VideoLayout > | value | ) |
Adds a handler that is raised when a new MCU video layout is received from the server.
Parameters:
| void fm.liveswitch.Channel.addOnMessage | ( | fm.liveswitch.IAction2< fm.liveswitch.ClientInfo, String > | value | ) |
Adds a handler that is raised when a channel-scope message is received from the server.
Parameters:
| void fm.liveswitch.Channel.addOnPeerConnectionOffer | ( | fm.liveswitch.IAction1< fm.liveswitch.PeerConnectionOffer > | value | ) |
Adds a handler that is raised when a remote client wants to open a peer connection.
Parameters:
| void fm.liveswitch.Channel.addOnRemoteClientJoin | ( | fm.liveswitch.IAction1< fm.liveswitch.ClientInfo > | value | ) |
Adds a handler that is raised when a remote client joins this channel.
Parameters:
| void fm.liveswitch.Channel.addOnRemoteClientLeave | ( | fm.liveswitch.IAction1< fm.liveswitch.ClientInfo > | value | ) |
Adds a handler that is raised when a remote client leaves this channel.
Parameters:
| void fm.liveswitch.Channel.addOnRemoteClientUpdate | ( | fm.liveswitch.IAction2< fm.liveswitch.ClientInfo, fm.liveswitch.ClientInfo > | value | ) |
Adds a handler that is raised when a remote client updates their config.
Parameters:
| void fm.liveswitch.Channel.addOnRemoteUpstreamConnectionClose | ( | fm.liveswitch.IAction1< fm.liveswitch.ConnectionInfo > | value | ) |
Adds a handler that is raised when a remote upstream (SFU or MCU) connection is closed by a remote client.
Parameters:
| void fm.liveswitch.Channel.addOnRemoteUpstreamConnectionOpen | ( | fm.liveswitch.IAction1< fm.liveswitch.ConnectionInfo > | value | ) |
Adds a handler that is raised when a remote upstream (SFU or MCU) connection is opened by a remote client.
Parameters:
| void fm.liveswitch.Channel.addOnRemoteUpstreamConnectionUpdate | ( | fm.liveswitch.IAction2< fm.liveswitch.ConnectionInfo, fm.liveswitch.ConnectionInfo > | value | ) |
Adds a handler that is raised when a remote upstream (SFU or MCU) connection is updated by a remote client.
Parameters:
| void fm.liveswitch.Channel.addOnUserMessage | ( | fm.liveswitch.IAction2< fm.liveswitch.ClientInfo, String > | value | ) |
Adds a handler that is raised when a channel/user-scope message is received from the server.
Parameters:
| fm.liveswitch.Future<Object> fm.liveswitch.Channel.closeAll | ( | ) |
Closes all active connections.
| fm.liveswitch.McuConnection fm.liveswitch.Channel.createMcuConnection | ( | fm.liveswitch.AudioStream | audioStream | ) |
Creates an audio-only MCU connection.
| audioStream | The audio stream. |
| fm.liveswitch.McuConnection fm.liveswitch.Channel.createMcuConnection | ( | fm.liveswitch.AudioStream | audioStream, |
| fm.liveswitch.DataStream | dataStream | ||
| ) |
Creates an audio/data MCU connection.
| audioStream | The audio stream. |
| dataStream | The data stream. |
| fm.liveswitch.McuConnection fm.liveswitch.Channel.createMcuConnection | ( | fm.liveswitch.AudioStream | audioStream, |
| fm.liveswitch.DataStream | dataStream, | ||
| String | mediaId | ||
| ) |
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.
| audioStream | The audio stream. |
| dataStream | The data stream. |
| mediaId | The media identifier, unique to this channel, for persistent SFU downstream connections. |
| fm.liveswitch.McuConnection fm.liveswitch.Channel.createMcuConnection | ( | fm.liveswitch.AudioStream | audioStream, |
| fm.liveswitch.VideoStream | videoStream | ||
| ) |
Creates an audio/video MCU connection.
| audioStream | The audio stream. |
| videoStream | The video stream. |
| fm.liveswitch.McuConnection fm.liveswitch.Channel.createMcuConnection | ( | fm.liveswitch.AudioStream | audioStream, |
| fm.liveswitch.VideoStream | videoStream, | ||
| fm.liveswitch.DataStream | dataStream | ||
| ) |
Creates an audio/video/data MCU connection.
| audioStream | The audio stream. |
| videoStream | The video stream. |
| dataStream | The data stream. |
| fm.liveswitch.McuConnection fm.liveswitch.Channel.createMcuConnection | ( | fm.liveswitch.AudioStream | audioStream, |
| fm.liveswitch.VideoStream | videoStream, | ||
| fm.liveswitch.DataStream | dataStream, | ||
| String | mediaId | ||
| ) |
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.
| audioStream | The audio stream. |
| videoStream | The video stream. |
| dataStream | The data stream. |
| mediaId | The media identifier, unique to this channel, for persistent SFU downstream connections. |
| fm.liveswitch.McuConnection fm.liveswitch.Channel.createMcuConnection | ( | fm.liveswitch.AudioStream | audioStream, |
| fm.liveswitch.VideoStream | videoStream, | ||
| String | mediaId | ||
| ) |
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.
| audioStream | The audio stream. |
| videoStream | The video stream. |
| mediaId | The media identifier, unique to this channel, for persistent SFU downstream connections. |
| fm.liveswitch.McuConnection fm.liveswitch.Channel.createMcuConnection | ( | fm.liveswitch.AudioStream | audioStream, |
| String | mediaId | ||
| ) |
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.
| audioStream | The audio stream. |
| mediaId | The media identifier, unique to this channel, for persistent SFU downstream connections. |
| fm.liveswitch.McuConnection fm.liveswitch.Channel.createMcuConnection | ( | fm.liveswitch.DataStream | dataStream | ) |
Creates a data-only MCU connection.
| dataStream | The data stream. |
| fm.liveswitch.McuConnection fm.liveswitch.Channel.createMcuConnection | ( | fm.liveswitch.DataStream | dataStream, |
| String | mediaId | ||
| ) |
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.
| dataStream | The data stream. |
| mediaId | The media identifier, unique to this channel, for persistent SFU downstream connections. |
| fm.liveswitch.McuConnection fm.liveswitch.Channel.createMcuConnection | ( | fm.liveswitch.VideoStream | videoStream | ) |
Creates a video-only MCU connection.
| videoStream | The video stream. |
| fm.liveswitch.McuConnection fm.liveswitch.Channel.createMcuConnection | ( | fm.liveswitch.VideoStream | videoStream, |
| fm.liveswitch.DataStream | dataStream | ||
| ) |
Creates a video/data MCU connection.
| videoStream | The video stream. |
| dataStream | The data stream. |
| fm.liveswitch.McuConnection fm.liveswitch.Channel.createMcuConnection | ( | fm.liveswitch.VideoStream | videoStream, |
| fm.liveswitch.DataStream | dataStream, | ||
| String | mediaId | ||
| ) |
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.
| videoStream | The video stream. |
| dataStream | The data stream. |
| mediaId | The media identifier, unique to this channel, for persistent SFU downstream connections. |
| fm.liveswitch.McuConnection fm.liveswitch.Channel.createMcuConnection | ( | fm.liveswitch.VideoStream | videoStream, |
| String | mediaId | ||
| ) |
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.
| videoStream | The video stream. |
| mediaId | The media identifier, unique to this channel, for persistent SFU downstream connections. |
| fm.liveswitch.PeerConnection fm.liveswitch.Channel.createPeerConnection | ( | fm.liveswitch.ClientInfo | remoteClientInfo, |
| fm.liveswitch.AudioStream | audioStream | ||
| ) |
Creates an audio-only peer connection in the offering role.
| remoteClientInfo | The remote client information. |
| audioStream | The audio stream. |
| fm.liveswitch.PeerConnection fm.liveswitch.Channel.createPeerConnection | ( | fm.liveswitch.ClientInfo | remoteClientInfo, |
| fm.liveswitch.AudioStream | audioStream, | ||
| fm.liveswitch.DataStream | dataStream | ||
| ) |
Creates an audio/data peer connection in the offering role.
| remoteClientInfo | The remote client information. |
| audioStream | The audio stream. |
| dataStream | The data stream. |
| fm.liveswitch.PeerConnection fm.liveswitch.Channel.createPeerConnection | ( | fm.liveswitch.ClientInfo | remoteClientInfo, |
| fm.liveswitch.AudioStream | audioStream, | ||
| fm.liveswitch.VideoStream | videoStream | ||
| ) |
Creates an audio/video peer connection in the offering role.
| remoteClientInfo | The remote client information. |
| audioStream | The audio stream. |
| videoStream | The video stream. |
| fm.liveswitch.PeerConnection fm.liveswitch.Channel.createPeerConnection | ( | fm.liveswitch.ClientInfo | remoteClientInfo, |
| fm.liveswitch.AudioStream | audioStream, | ||
| fm.liveswitch.VideoStream | videoStream, | ||
| fm.liveswitch.DataStream | dataStream | ||
| ) |
Creates an audio/video/data peer connection in the offering role.
| remoteClientInfo | The remote client information. |
| audioStream | The audio stream. |
| videoStream | The video stream. |
| dataStream | The data stream. |
| fm.liveswitch.PeerConnection fm.liveswitch.Channel.createPeerConnection | ( | fm.liveswitch.ClientInfo | remoteClientInfo, |
| fm.liveswitch.DataStream | dataStream | ||
| ) |
Creates a data-only peer connection in the offering role.
| remoteClientInfo | The remote client information. |
| dataStream | The data stream. |
| fm.liveswitch.PeerConnection fm.liveswitch.Channel.createPeerConnection | ( | fm.liveswitch.ClientInfo | remoteClientInfo, |
| fm.liveswitch.VideoStream | videoStream | ||
| ) |
Creates a video-only peer connection in the offering role.
| remoteClientInfo | The remote client information. |
| videoStream | The video stream. |
| fm.liveswitch.PeerConnection fm.liveswitch.Channel.createPeerConnection | ( | fm.liveswitch.ClientInfo | remoteClientInfo, |
| fm.liveswitch.VideoStream | videoStream, | ||
| fm.liveswitch.DataStream | dataStream | ||
| ) |
Creates a video/data peer connection in the offering role.
| remoteClientInfo | The remote client information. |
| videoStream | The video stream. |
| dataStream | The data stream. |
| fm.liveswitch.PeerConnection fm.liveswitch.Channel.createPeerConnection | ( | fm.liveswitch.PeerConnectionOffer | peerConnectionOffer, |
| fm.liveswitch.AudioStream | audioStream | ||
| ) |
Creates an audio-only peer connection in the answering role.
| peerConnectionOffer | The peer connection offer. |
| audioStream | The audio stream. |
| fm.liveswitch.PeerConnection fm.liveswitch.Channel.createPeerConnection | ( | fm.liveswitch.PeerConnectionOffer | peerConnectionOffer, |
| fm.liveswitch.AudioStream | audioStream, | ||
| fm.liveswitch.DataStream | dataStream | ||
| ) |
Creates an audio/data peer connection in the answering role.
| peerConnectionOffer | The peer connection offer. |
| audioStream | The audio stream. |
| dataStream | The data stream. |
| fm.liveswitch.PeerConnection fm.liveswitch.Channel.createPeerConnection | ( | fm.liveswitch.PeerConnectionOffer | peerConnectionOffer, |
| fm.liveswitch.AudioStream | audioStream, | ||
| fm.liveswitch.VideoStream | videoStream | ||
| ) |
Creates an audio/video peer connection in the answering role.
| peerConnectionOffer | The peer connection offer. |
| audioStream | The audio stream. |
| videoStream | The video stream. |
| fm.liveswitch.PeerConnection fm.liveswitch.Channel.createPeerConnection | ( | fm.liveswitch.PeerConnectionOffer | peerConnectionOffer, |
| fm.liveswitch.AudioStream | audioStream, | ||
| fm.liveswitch.VideoStream | videoStream, | ||
| fm.liveswitch.DataStream | dataStream | ||
| ) |
Creates an audio/video/data peer connection in the answering role.
| peerConnectionOffer | The peer connection offer. |
| audioStream | The audio stream. |
| videoStream | The video stream. |
| dataStream | The data stream. |
| fm.liveswitch.PeerConnection fm.liveswitch.Channel.createPeerConnection | ( | fm.liveswitch.PeerConnectionOffer | peerConnectionOffer, |
| fm.liveswitch.DataStream | dataStream | ||
| ) |
Creates a data-only peer connection in the answering role.
| peerConnectionOffer | The peer connection offer. |
| dataStream | The data stream. |
| fm.liveswitch.PeerConnection fm.liveswitch.Channel.createPeerConnection | ( | fm.liveswitch.PeerConnectionOffer | peerConnectionOffer, |
| fm.liveswitch.VideoStream | videoStream | ||
| ) |
Creates a video-only peer connection in the answering role.
| peerConnectionOffer | The peer connection offer. |
| videoStream | The video stream. |
| fm.liveswitch.PeerConnection fm.liveswitch.Channel.createPeerConnection | ( | fm.liveswitch.PeerConnectionOffer | peerConnectionOffer, |
| fm.liveswitch.VideoStream | videoStream, | ||
| fm.liveswitch.DataStream | dataStream | ||
| ) |
Creates a video/data peer connection in the answering role.
| peerConnectionOffer | The peer connection offer. |
| videoStream | The video stream. |
| dataStream | The data stream. |
| fm.liveswitch.SfuDownstreamConnection fm.liveswitch.Channel.createSfuDownstreamConnection | ( | fm.liveswitch.ConnectionInfo | remoteConnectionInfo, |
| fm.liveswitch.AudioStream | audioStream | ||
| ) |
Creates an audio-only SFU downstream connection to the SFU or MCU upstream connection identified by the remote connection info.
| remoteConnectionInfo | The remote connection information. |
| audioStream | The audio stream. |
| fm.liveswitch.SfuDownstreamConnection fm.liveswitch.Channel.createSfuDownstreamConnection | ( | fm.liveswitch.ConnectionInfo | remoteConnectionInfo, |
| fm.liveswitch.AudioStream | audioStream, | ||
| boolean | useWebSocketsForMedia | ||
| ) |
Creates an audio-only SFU downstream connection to the SFU or MCU upstream connection identified by the remote connection info.
| remoteConnectionInfo | The remote connection information. |
| audioStream | The audio stream. |
| useWebSocketsForMedia | Use WebSockets to stream this media instead of WebRTC. |
| fm.liveswitch.SfuDownstreamConnection fm.liveswitch.Channel.createSfuDownstreamConnection | ( | fm.liveswitch.ConnectionInfo | remoteConnectionInfo, |
| fm.liveswitch.AudioStream | audioStream, | ||
| fm.liveswitch.DataStream | dataStream | ||
| ) |
Creates an audio/data SFU downstream connection.
| remoteConnectionInfo | The remote connection information. |
| audioStream | The audio stream. |
| dataStream | The data stream. |
| fm.liveswitch.SfuDownstreamConnection fm.liveswitch.Channel.createSfuDownstreamConnection | ( | fm.liveswitch.ConnectionInfo | remoteConnectionInfo, |
| fm.liveswitch.AudioStream | audioStream, | ||
| fm.liveswitch.VideoStream | videoStream | ||
| ) |
Creates an audio/video SFU downstream connection to the SFU or MCU upstream connection identified by the remote connection info.
| remoteConnectionInfo | The remote connection information. |
| audioStream | The audio stream. |
| videoStream | The video stream. |
| fm.liveswitch.SfuDownstreamConnection fm.liveswitch.Channel.createSfuDownstreamConnection | ( | fm.liveswitch.ConnectionInfo | remoteConnectionInfo, |
| fm.liveswitch.AudioStream | audioStream, | ||
| fm.liveswitch.VideoStream | videoStream, | ||
| boolean | useWebSocketsForMedia | ||
| ) |
Creates an audio/video SFU downstream connection to the SFU or MCU upstream connection identified by the remote connection info.
| remoteConnectionInfo | The remote connection information. |
| audioStream | The audio stream. |
| videoStream | The video stream. |
| useWebSocketsForMedia | Use WebSockets to stream this media instead of WebRTC. |
| fm.liveswitch.SfuDownstreamConnection fm.liveswitch.Channel.createSfuDownstreamConnection | ( | fm.liveswitch.ConnectionInfo | remoteConnectionInfo, |
| fm.liveswitch.AudioStream | audioStream, | ||
| fm.liveswitch.VideoStream | videoStream, | ||
| fm.liveswitch.DataStream | dataStream | ||
| ) |
Creates an audio/video/data SFU downstream connection.
| remoteConnectionInfo | The remote connection information. |
| audioStream | The audio stream. |
| videoStream | The video stream. |
| dataStream | The data stream. |
| fm.liveswitch.SfuDownstreamConnection fm.liveswitch.Channel.createSfuDownstreamConnection | ( | fm.liveswitch.ConnectionInfo | remoteConnectionInfo, |
| fm.liveswitch.AudioStream | audioStream, | ||
| fm.liveswitch.VideoStream | videoStream, | ||
| fm.liveswitch.DataStream | dataStream, | ||
| boolean | useWebSocketsForMedia | ||
| ) |
Creates an audio/video/data SFU downstream connection.
| remoteConnectionInfo | The remote connection information. |
| audioStream | The audio stream. |
| videoStream | The video stream. |
| dataStream | The data stream. |
| useWebSocketsForMedia | Use WebSockets to stream the media instead of WebRTC. |
| fm.liveswitch.SfuDownstreamConnection fm.liveswitch.Channel.createSfuDownstreamConnection | ( | fm.liveswitch.ConnectionInfo | remoteConnectionInfo, |
| fm.liveswitch.AudioStream | audioStream, | ||
| fm.liveswitch.VideoStream | videoStream, | ||
| fm.liveswitch.DataStream | dataStream, | ||
| boolean | useWebSocketsForMedia, | ||
| fm.liveswitch.Guid | connectionId | ||
| ) |
Creates an audio/video/data SFU downstream connection.
| remoteConnectionInfo | The remote connection information. |
| audioStream | The audio stream. |
| videoStream | The video stream. |
| dataStream | The data stream. |
| useWebSocketsForMedia | Use WebSockets to stream the media instead of WebRTC. |
| connectionId | The remote internal connection Id. |
| fm.liveswitch.SfuDownstreamConnection fm.liveswitch.Channel.createSfuDownstreamConnection | ( | fm.liveswitch.ConnectionInfo | remoteConnectionInfo, |
| fm.liveswitch.DataStream | dataStream | ||
| ) |
Creates a data-only SFU downstream connection.
| remoteConnectionInfo | The remote connection information. |
| dataStream | The data stream. |
| fm.liveswitch.SfuDownstreamConnection fm.liveswitch.Channel.createSfuDownstreamConnection | ( | fm.liveswitch.ConnectionInfo | remoteConnectionInfo, |
| fm.liveswitch.VideoStream | videoStream | ||
| ) |
Creates a video-only SFU downstream connection to the SFU or MCU upstream connection identified by the remote connection info.
| remoteConnectionInfo | The remote connection information. |
| videoStream | The video stream. |
| fm.liveswitch.SfuDownstreamConnection fm.liveswitch.Channel.createSfuDownstreamConnection | ( | fm.liveswitch.ConnectionInfo | remoteConnectionInfo, |
| fm.liveswitch.VideoStream | videoStream, | ||
| boolean | useWebSocketsForMedia | ||
| ) |
Creates a video-only SFU downstream connection to the SFU or MCU upstream connection identified by the remote connection info.
| remoteConnectionInfo | The remote connection information. |
| videoStream | The video stream. |
| useWebSocketsForMedia | Use WebSockets to stream this media instead of WebRTC. |
| fm.liveswitch.SfuDownstreamConnection fm.liveswitch.Channel.createSfuDownstreamConnection | ( | fm.liveswitch.ConnectionInfo | remoteConnectionInfo, |
| fm.liveswitch.VideoStream | videoStream, | ||
| fm.liveswitch.DataStream | dataStream | ||
| ) |
Creates a video/data SFU downstream connection.
| remoteConnectionInfo | The remote connection information. |
| videoStream | The video stream. |
| dataStream | The data stream. |
| fm.liveswitch.SfuDownstreamConnection fm.liveswitch.Channel.createSfuDownstreamConnection | ( | String | remoteMediaId, |
| fm.liveswitch.AudioStream | audioStream | ||
| ) |
Creates an audio-only SFU downstream connection to the SFU or MCU upstream connection with the remote media identifier.
| remoteMediaId | The remote media identifier. |
| audioStream | The audio stream. |
| fm.liveswitch.SfuDownstreamConnection fm.liveswitch.Channel.createSfuDownstreamConnection | ( | String | remoteMediaId, |
| fm.liveswitch.AudioStream | audioStream, | ||
| boolean | useWebSocketsForMedia | ||
| ) |
Creates an audio-only SFU downstream connection to the SFU or MCU upstream connection with the remote media identifier.
| remoteMediaId | The remote media identifier. |
| audioStream | The audio stream. |
| useWebSocketsForMedia | Use WebSockets to stream this media instead of WebRTC. |
| fm.liveswitch.SfuDownstreamConnection fm.liveswitch.Channel.createSfuDownstreamConnection | ( | String | remoteMediaId, |
| fm.liveswitch.AudioStream | audioStream, | ||
| fm.liveswitch.DataStream | dataStream | ||
| ) |
Creates an audio/data SFU downstream connection.
| remoteMediaId | The remote media identifier. |
| audioStream | The audio stream. |
| dataStream | The data stream. |
| fm.liveswitch.SfuDownstreamConnection fm.liveswitch.Channel.createSfuDownstreamConnection | ( | String | remoteMediaId, |
| fm.liveswitch.AudioStream | audioStream, | ||
| fm.liveswitch.VideoStream | videoStream | ||
| ) |
Creates an audio/video SFU downstream connection.
| remoteMediaId | The remote media identifier. |
| audioStream | The audio stream. |
| videoStream | The video stream. |
| fm.liveswitch.SfuDownstreamConnection fm.liveswitch.Channel.createSfuDownstreamConnection | ( | String | remoteMediaId, |
| fm.liveswitch.AudioStream | audioStream, | ||
| fm.liveswitch.VideoStream | videoStream, | ||
| boolean | useWebSocketsForMedia | ||
| ) |
Creates an audio/video SFU downstream connection.
| remoteMediaId | The remote media identifier. |
| audioStream | The audio stream. |
| videoStream | The video stream. |
| useWebSocketsForMedia | Use WebSockets to stream this media instead of WebRTC. |
| fm.liveswitch.SfuDownstreamConnection fm.liveswitch.Channel.createSfuDownstreamConnection | ( | String | remoteMediaId, |
| fm.liveswitch.AudioStream | audioStream, | ||
| fm.liveswitch.VideoStream | videoStream, | ||
| fm.liveswitch.DataStream | dataStream | ||
| ) |
Creates an audio/video/data SFU downstream connection.
| remoteMediaId | The remote media identifier. |
| audioStream | The audio stream. |
| videoStream | The video stream. |
| dataStream | The data stream. |
| fm.liveswitch.SfuDownstreamConnection fm.liveswitch.Channel.createSfuDownstreamConnection | ( | String | remoteMediaId, |
| fm.liveswitch.AudioStream | audioStream, | ||
| fm.liveswitch.VideoStream | videoStream, | ||
| fm.liveswitch.DataStream | dataStream, | ||
| boolean | useWebSocketsForMedia | ||
| ) |
Creates an audio/video/data SFU downstream connection.
| remoteMediaId | The remote media identifier. |
| audioStream | The audio stream. |
| videoStream | The video stream. |
| dataStream | The data stream. |
| useWebSocketsForMedia | Use WebSockets to stream the media instead of WebRTC. |
| fm.liveswitch.SfuDownstreamConnection fm.liveswitch.Channel.createSfuDownstreamConnection | ( | String | remoteMediaId, |
| fm.liveswitch.AudioStream | audioStream, | ||
| fm.liveswitch.VideoStream | videoStream, | ||
| fm.liveswitch.DataStream | dataStream, | ||
| boolean | useWebSocketsForMedia, | ||
| fm.liveswitch.Guid | connectionId | ||
| ) |
Creates an audio/video/data SFU downstream connection.
| remoteMediaId | The remote media identifier. |
| audioStream | The audio stream. |
| videoStream | The video stream. |
| dataStream | The data stream. |
| useWebSocketsForMedia | Use WebSockets to stream the media instead of WebRTC. |
| connectionId | The remote internal connection Id. |
| fm.liveswitch.SfuDownstreamConnection fm.liveswitch.Channel.createSfuDownstreamConnection | ( | String | remoteMediaId, |
| fm.liveswitch.DataStream | dataStream | ||
| ) |
Creates a data-only SFU downstream connection.
| remoteMediaId | The remote media identifier. |
| dataStream | The data stream. |
| fm.liveswitch.SfuDownstreamConnection fm.liveswitch.Channel.createSfuDownstreamConnection | ( | String | remoteMediaId, |
| fm.liveswitch.VideoStream | videoStream | ||
| ) |
Creates a video-only SFU downstream connection.
| remoteMediaId | The remote media identifier. |
| videoStream | The video stream. |
| fm.liveswitch.SfuDownstreamConnection fm.liveswitch.Channel.createSfuDownstreamConnection | ( | String | remoteMediaId, |
| fm.liveswitch.VideoStream | videoStream, | ||
| boolean | useWebSocketsForMedia | ||
| ) |
Creates a video-only SFU downstream connection.
| remoteMediaId | The remote media identifier. |
| videoStream | The video stream. |
| useWebSocketsForMedia | Use WebSockets to stream this media instead of WebRTC. |
| fm.liveswitch.SfuDownstreamConnection fm.liveswitch.Channel.createSfuDownstreamConnection | ( | String | remoteMediaId, |
| fm.liveswitch.VideoStream | videoStream, | ||
| fm.liveswitch.DataStream | dataStream | ||
| ) |
Creates a video/data SFU downstream connection.
| remoteMediaId | The remote media identifier. |
| videoStream | The audio stream. |
| dataStream | The data stream. |
| fm.liveswitch.SfuDownstreamConnection fm.liveswitch.Channel.createSfuDownstreamConnectionWithRemoteInternalId | ( | fm.liveswitch.ConnectionInfo | remoteConnectionInfo, |
| fm.liveswitch.AudioStream | audioStream, | ||
| fm.liveswitch.VideoStream | videoStream, | ||
| fm.liveswitch.Guid | connectionId | ||
| ) |
Creates an audio/video SFU downstream connection to the SFU or MCU upstream connection identified by the remote connection info.
| remoteConnectionInfo | The remote connection information. |
| audioStream | The audio stream. |
| videoStream | The video stream. |
| connectionId | The remote internal connection Id. |
| fm.liveswitch.SfuDownstreamConnection fm.liveswitch.Channel.createSfuDownstreamConnectionWithRemoteInternalId | ( | String | remoteMediaId, |
| fm.liveswitch.AudioStream | audioStream, | ||
| fm.liveswitch.VideoStream | videoStream, | ||
| fm.liveswitch.Guid | connectionId | ||
| ) |
Creates an audio/video SFU downstream connection.
| remoteMediaId | The remote media identifier. |
| audioStream | The audio stream. |
| videoStream | The video stream. |
| connectionId | The remote internal connection Id |
| fm.liveswitch.SfuUpstreamConnection fm.liveswitch.Channel.createSfuUpstreamConnection | ( | fm.liveswitch.AudioStream | audioStream | ) |
Creates an audio-only SFU upstream connection.
| audioStream | The audio stream. |
| fm.liveswitch.SfuUpstreamConnection fm.liveswitch.Channel.createSfuUpstreamConnection | ( | fm.liveswitch.AudioStream | audioStream, |
| boolean | useWebSocketsForMedia | ||
| ) |
Creates an audio-only SFU upstream connection.
| audioStream | The audio stream. |
| useWebSocketsForMedia | Use WebSockets to stream this media instead of WebRTC. |
| fm.liveswitch.SfuUpstreamConnection fm.liveswitch.Channel.createSfuUpstreamConnection | ( | fm.liveswitch.AudioStream | audioStream, |
| fm.liveswitch.DataStream | dataStream | ||
| ) |
Creates an audio/data SFU upstream connection.
| audioStream | The audio stream. |
| dataStream | The data stream. |
| fm.liveswitch.SfuUpstreamConnection fm.liveswitch.Channel.createSfuUpstreamConnection | ( | fm.liveswitch.AudioStream | audioStream, |
| fm.liveswitch.DataStream | dataStream, | ||
| String | mediaId | ||
| ) |
Creates an audio/data SFU upstream connection with a specific media identifier that can be targeted by SFU downstream connections.
| audioStream | The audio stream. |
| dataStream | The data stream. |
| mediaId | The media identifier, unique to this channel, for persistent SFU downstream connections. |
| fm.liveswitch.SfuUpstreamConnection fm.liveswitch.Channel.createSfuUpstreamConnection | ( | fm.liveswitch.AudioStream | audioStream, |
| fm.liveswitch.VideoStream | videoStream | ||
| ) |
Creates an audio/video SFU upstream connection.
| audioStream | The audio stream. |
| videoStream | The video stream. |
| fm.liveswitch.SfuUpstreamConnection fm.liveswitch.Channel.createSfuUpstreamConnection | ( | fm.liveswitch.AudioStream | audioStream, |
| fm.liveswitch.VideoStream | videoStream, | ||
| boolean | useWebSocketsForMedia | ||
| ) |
Creates an audio/video SFU upstream connection.
| audioStream | The audio stream. |
| videoStream | The video stream. |
| useWebSocketsForMedia | Use WebSockets to stream this media instead of WebRTC. |
| fm.liveswitch.SfuUpstreamConnection fm.liveswitch.Channel.createSfuUpstreamConnection | ( | fm.liveswitch.AudioStream | audioStream, |
| fm.liveswitch.VideoStream | videoStream, | ||
| fm.liveswitch.DataStream | dataStream | ||
| ) |
Creates an audio/video/data SFU upstream connection.
| audioStream | The audio stream. |
| videoStream | The video stream. |
| dataStream | The data stream. |
| fm.liveswitch.SfuUpstreamConnection fm.liveswitch.Channel.createSfuUpstreamConnection | ( | fm.liveswitch.AudioStream | audioStream, |
| fm.liveswitch.VideoStream | videoStream, | ||
| fm.liveswitch.DataStream | dataStream, | ||
| boolean | useWebSocketsForMedia | ||
| ) |
Creates an audio/video/data SFU upstream connection.
| audioStream | The audio stream. |
| videoStream | The video stream. |
| dataStream | The data stream. |
| useWebSocketsForMedia | Use WebSockets to stream this media instead of WebRTC. |
| fm.liveswitch.SfuUpstreamConnection fm.liveswitch.Channel.createSfuUpstreamConnection | ( | fm.liveswitch.AudioStream | audioStream, |
| fm.liveswitch.VideoStream | videoStream, | ||
| fm.liveswitch.DataStream | dataStream, | ||
| String | mediaId | ||
| ) |
Creates an audio/video SFU upstream connection with a specific media identifier that can be targeted by SFU downstream connections.
| audioStream | The audio stream. |
| videoStream | The video stream. |
| dataStream | The video stream. |
| mediaId | The media identifier, unique to this channel, for persistent SFU downstream connections. |
| fm.liveswitch.SfuUpstreamConnection fm.liveswitch.Channel.createSfuUpstreamConnection | ( | fm.liveswitch.AudioStream | audioStream, |
| fm.liveswitch.VideoStream | videoStream, | ||
| fm.liveswitch.DataStream | dataStream, | ||
| String | mediaId, | ||
| boolean | useWebSocketsForMedia | ||
| ) |
Creates an audio/video SFU upstream connection with a specific media identifier that can be targeted by SFU downstream connections.
| audioStream | The audio stream. |
| videoStream | The video stream. |
| dataStream | The video stream. |
| mediaId | The media identifier, unique to this channel, for persistent SFU downstream connections. |
| useWebSocketsForMedia | A flag to indicate if we should send media over a WebSocket connection. |
| fm.liveswitch.SfuUpstreamConnection fm.liveswitch.Channel.createSfuUpstreamConnection | ( | fm.liveswitch.AudioStream | audioStream, |
| fm.liveswitch.VideoStream | videoStream, | ||
| fm.liveswitch.DataStream | dataStream, | ||
| String | mediaId, | ||
| boolean | useWebSocketsForMedia, | ||
| fm.liveswitch.Guid | connectionId | ||
| ) |
Creates an audio/video SFU upstream connection with a specific media identifier that can be targeted by SFU downstream connections.
| connectionId | The connection ID. |
| audioStream | The audio stream. |
| videoStream | The video stream. |
| dataStream | The video stream. |
| mediaId | The media identifier, unique to this channel, for persistent SFU downstream connections. |
| useWebSocketsForMedia | A flag to indicate if we should send media over a WebSocket connection. |
| fm.liveswitch.SfuUpstreamConnection fm.liveswitch.Channel.createSfuUpstreamConnection | ( | fm.liveswitch.AudioStream | audioStream, |
| fm.liveswitch.VideoStream | videoStream, | ||
| String | mediaId | ||
| ) |
Creates an audio/video SFU upstream connection with a specific media identifier that can be targeted by SFU downstream connections.
| audioStream | The audio stream. |
| videoStream | The video stream. |
| mediaId | The media identifier, unique to this channel, for persistent SFU downstream connections. |
| fm.liveswitch.SfuUpstreamConnection fm.liveswitch.Channel.createSfuUpstreamConnection | ( | fm.liveswitch.AudioStream | audioStream, |
| fm.liveswitch.VideoStream | videoStream, | ||
| String | mediaId, | ||
| boolean | useWebSocketsForMedia | ||
| ) |
Creates an audio/video SFU upstream connection with a specific media identifier that can be targeted by SFU downstream connections.
| audioStream | The audio stream. |
| videoStream | The video stream. |
| mediaId | The media identifier, unique to this channel, for persistent SFU downstream connections. |
| useWebSocketsForMedia | Use WebSockets to stream this media instead of WebRTC. |
| fm.liveswitch.SfuUpstreamConnection fm.liveswitch.Channel.createSfuUpstreamConnection | ( | fm.liveswitch.AudioStream | audioStream, |
| String | mediaId | ||
| ) |
Creates an audio-only SFU upstream connection with a specific media identifier that can be targeted by SFU downstream connections.
| audioStream | The audio stream. |
| mediaId | The media identifier, unique to this channel, for persistent SFU downstream connections. |
| fm.liveswitch.SfuUpstreamConnection fm.liveswitch.Channel.createSfuUpstreamConnection | ( | fm.liveswitch.AudioStream | audioStream, |
| String | mediaId, | ||
| boolean | useWebSocketsForMedia | ||
| ) |
Creates an audio-only SFU upstream connection with a specific media identifier that can be targeted by SFU downstream connections.
| audioStream | The audio stream. |
| mediaId | The media identifier, unique to this channel, for persistent SFU downstream connections. |
| useWebSocketsForMedia | Use WebSockets to stream this media instead of WebRTC. |
| fm.liveswitch.SfuUpstreamConnection fm.liveswitch.Channel.createSfuUpstreamConnection | ( | fm.liveswitch.DataStream | dataStream | ) |
Creates a data-only SFU upstream connection.
| dataStream | The data stream. |
| fm.liveswitch.SfuUpstreamConnection fm.liveswitch.Channel.createSfuUpstreamConnection | ( | fm.liveswitch.DataStream | dataStream, |
| String | mediaId | ||
| ) |
Creates a data-only SFU upstream connection with a specific media identifier that can be targeted by SFU downstream connections.
| dataStream | The data stream. |
| mediaId | The media identifier, unique to this channel, for persistent SFU downstream connections. |
| fm.liveswitch.SfuUpstreamConnection fm.liveswitch.Channel.createSfuUpstreamConnection | ( | fm.liveswitch.VideoStream | videoStream | ) |
Creates a video-only SFU upstream connection.
| videoStream | The video stream. |
| fm.liveswitch.SfuUpstreamConnection fm.liveswitch.Channel.createSfuUpstreamConnection | ( | fm.liveswitch.VideoStream | videoStream, |
| boolean | useWebSocketsForMedia | ||
| ) |
Creates a video-only SFU upstream connection.
| videoStream | The video stream. |
| useWebSocketsForMedia | Use WebSockets to stream this media instead of WebRTC. |
| fm.liveswitch.SfuUpstreamConnection fm.liveswitch.Channel.createSfuUpstreamConnection | ( | fm.liveswitch.VideoStream | videoStream, |
| fm.liveswitch.DataStream | dataStream | ||
| ) |
Creates a video/data SFU upstream connection.
| videoStream | The video stream. |
| dataStream | The data stream. |
| fm.liveswitch.SfuUpstreamConnection fm.liveswitch.Channel.createSfuUpstreamConnection | ( | fm.liveswitch.VideoStream | videoStream, |
| fm.liveswitch.DataStream | dataStream, | ||
| String | mediaId | ||
| ) |
Creates a video/data SFU upstream connection with a specific media identifier that can be targeted by SFU downstream connections.
| videoStream | The video stream. |
| dataStream | The data stream. |
| mediaId | The media identifier, unique to this channel, for persistent SFU downstream connections. |
| fm.liveswitch.SfuUpstreamConnection fm.liveswitch.Channel.createSfuUpstreamConnection | ( | fm.liveswitch.VideoStream | videoStream, |
| String | mediaId | ||
| ) |
Creates a video-only SFU upstream connection with a specific media identifier that can be targeted by SFU downstream connections.
| videoStream | The video stream. |
| mediaId | The media identifier, unique to this channel, for persistent SFU downstream connections. |
| fm.liveswitch.SfuUpstreamConnection fm.liveswitch.Channel.createSfuUpstreamConnection | ( | fm.liveswitch.VideoStream | videoStream, |
| String | mediaId, | ||
| boolean | useWebSocketsForMedia | ||
| ) |
Creates a video-only SFU upstream connection with a specific media identifier that can be targeted by SFU downstream connections.
| videoStream | The video stream. |
| mediaId | The media identifier, unique to this channel, for persistent SFU downstream connections. |
| useWebSocketsForMedia | Use WebSockets to stream this media instead of WebRTC. |
| fm.liveswitch.SfuUpstreamConnection fm.liveswitch.Channel.createSfuUpstreamConnectionWithRemoteInternalId | ( | fm.liveswitch.AudioStream | audioStream, |
| fm.liveswitch.VideoStream | videoStream, | ||
| String | mediaId, | ||
| fm.liveswitch.Guid | connectionId | ||
| ) |
Creates an audio/video SFU upstream connection with a specific media identifier that can be targeted by SFU downstream connections.
| connectionId | The connection Id. |
| audioStream | The audio stream. |
| videoStream | The video stream. |
| mediaId | The media identifier, unique to this channel, for persistent SFU downstream connections. |
| String fm.liveswitch.Channel.getApplicationId | ( | ) |
Gets the application identifier.
| fm.liveswitch.ChannelClaim fm.liveswitch.Channel.getClaim | ( | ) |
Gets the claim.
| String fm.liveswitch.Channel.getClientId | ( | ) |
Gets the client identifier.
| String [] fm.liveswitch.Channel.getClientRoles | ( | ) |
Gets the client roles.
| String fm.liveswitch.Channel.getClientTag | ( | ) |
Gets the client tag.
| fm.liveswitch.ManagedConnectionCollection fm.liveswitch.Channel.getConnections | ( | ) |
Gets the active connections.
| String fm.liveswitch.Channel.getDeviceAlias | ( | ) |
Gets the device alias.
| String fm.liveswitch.Channel.getDeviceId | ( | ) |
Gets the device identifier.
| String fm.liveswitch.Channel.getId | ( | ) |
Gets the channel identifier.
| long fm.liveswitch.Channel.getMessageBytesReceived | ( | ) |
Gets the number of message bytes received.
| long fm.liveswitch.Channel.getMessageBytesSent | ( | ) |
Gets the number of message bytes sent.
| long fm.liveswitch.Channel.getMessagesReceived | ( | ) |
Gets the number of messages received.
| long fm.liveswitch.Channel.getMessagesSent | ( | ) |
Gets the number of messages sent.
| fm.liveswitch.ClientInfo fm.liveswitch.Channel.getRemoteClientInfo | ( | String | clientId | ) |
Gets information about a remote client.
| clientId | The client identifier. |
| fm.liveswitch.ClientInfo [] fm.liveswitch.Channel.getRemoteClientInfos | ( | ) |
Gets information about the remote client in this channel.
| fm.liveswitch.ConnectionInfo fm.liveswitch.Channel.getRemoteConnectionInfo | ( | String | connectionId | ) |
Gets information about a remote connection.
| connectionId | The connection identifier. |
| fm.liveswitch.ConnectionInfo [] fm.liveswitch.Channel.getRemoteUpstreamConnectionInfos | ( | ) |
Gets information about the remote upstream (SFU or MCU) connections opened by remote clients in this channel.
| String fm.liveswitch.Channel.getUserAlias | ( | ) |
Gets the user alias.
| String fm.liveswitch.Channel.getUserId | ( | ) |
Gets the user identifier.
| String fm.liveswitch.Channel.getWebSocketAccessToken | ( | ) |
| String fm.liveswitch.Channel.getWebSocketServerEndpointUrl | ( | ) |
| fm.liveswitch.Future<fm.liveswitch.Invitation> fm.liveswitch.Channel.invite | ( | String | userId, |
| String | protocol | ||
| ) |
Invites a user into this channel.
| userId | The user id to invite. |
| protocol | The protocol to use for the invite. |
| fm.liveswitch.Future<Object> fm.liveswitch.Channel.kick | ( | ) |
Kicks this channel.
| fm.liveswitch.Future<Object> fm.liveswitch.Channel.kickClient | ( | fm.liveswitch.ClientInfo | remoteClientInfo | ) |
Kicks a client in this channel.
| remoteClientInfo | The remote client information. |
| fm.liveswitch.Future<Object> fm.liveswitch.Channel.kickClient | ( | String | userId, |
| String | deviceId, | ||
| String | clientId | ||
| ) |
Kicks a client in this channel.
| userId | The user identifier. |
| deviceId | The device identifier. |
| clientId | The client identifier. |
| fm.liveswitch.Future<Object> fm.liveswitch.Channel.kickConnection | ( | fm.liveswitch.ConnectionInfo | remoteConnectionInfo | ) |
Kicks a connection in this channel.
| remoteConnectionInfo | The remote connection information. |
| fm.liveswitch.Future<Object> fm.liveswitch.Channel.kickConnection | ( | String | userId, |
| String | deviceId, | ||
| String | clientId, | ||
| String | connectionId | ||
| ) |
Kicks a connection in this channel.
| userId | The user identifier. |
| deviceId | The device identifier. |
| clientId | The client identifier. |
| connectionId | The connection identifier. |
| fm.liveswitch.Future<Object> fm.liveswitch.Channel.kickDevice | ( | String | userId, |
| String | deviceId | ||
| ) |
Kicks a device in this channel.
| userId | The user identifier. |
| deviceId | The device identifier. |
| fm.liveswitch.Future<Object> fm.liveswitch.Channel.kickUser | ( | String | userId | ) |
Kicks a user in this channel.
| userId | The user identifier. |
| fm.liveswitch.Future<Object> fm.liveswitch.Channel.rejectPeerConnection | ( | fm.liveswitch.PeerConnectionOffer | peerConnectionOffer | ) |
Rejects a peer connection offer.
| peerConnectionOffer | The peer connection offer. |
| void fm.liveswitch.Channel.removeOnClaimUpdate | ( | fm.liveswitch.IAction2< fm.liveswitch.ChannelClaim, fm.liveswitch.ChannelClaim > | value | ) |
Removes a handler that is raised when the client's channel claim has been updated.
Parameters:
| void fm.liveswitch.Channel.removeOnClientMessage | ( | fm.liveswitch.IAction2< fm.liveswitch.ClientInfo, String > | value | ) |
Removes a handler that is raised when a channel/client-scope message is received from the server.
Parameters:
| void fm.liveswitch.Channel.removeOnDeviceMessage | ( | fm.liveswitch.IAction2< fm.liveswitch.ClientInfo, String > | value | ) |
Removes a handler that is raised when a channel/device-scope message is received from the server.
Parameters:
| void fm.liveswitch.Channel.removeOnKick | ( | fm.liveswitch.IAction0 | value | ) |
Removes a handler that is raised when the client is kicked from the channel.
| void fm.liveswitch.Channel.removeOnMcuVideoLayout | ( | fm.liveswitch.IAction1< fm.liveswitch.VideoLayout > | value | ) |
Removes a handler that is raised when a new MCU video layout is received from the server.
Parameters:
| void fm.liveswitch.Channel.removeOnMessage | ( | fm.liveswitch.IAction2< fm.liveswitch.ClientInfo, String > | value | ) |
Removes a handler that is raised when a channel-scope message is received from the server.
Parameters:
| void fm.liveswitch.Channel.removeOnPeerConnectionOffer | ( | fm.liveswitch.IAction1< fm.liveswitch.PeerConnectionOffer > | value | ) |
Removes a handler that is raised when a remote client wants to open a peer connection.
Parameters:
| void fm.liveswitch.Channel.removeOnRemoteClientJoin | ( | fm.liveswitch.IAction1< fm.liveswitch.ClientInfo > | value | ) |
Removes a handler that is raised when a remote client joins this channel.
Parameters:
| void fm.liveswitch.Channel.removeOnRemoteClientLeave | ( | fm.liveswitch.IAction1< fm.liveswitch.ClientInfo > | value | ) |
Removes a handler that is raised when a remote client leaves this channel.
Parameters:
| void fm.liveswitch.Channel.removeOnRemoteClientUpdate | ( | fm.liveswitch.IAction2< fm.liveswitch.ClientInfo, fm.liveswitch.ClientInfo > | value | ) |
Removes a handler that is raised when a remote client updates their config.
Parameters:
| void fm.liveswitch.Channel.removeOnRemoteUpstreamConnectionClose | ( | fm.liveswitch.IAction1< fm.liveswitch.ConnectionInfo > | value | ) |
Removes a handler that is raised when a remote upstream (SFU or MCU) connection is closed by a remote client.
Parameters:
| void fm.liveswitch.Channel.removeOnRemoteUpstreamConnectionOpen | ( | fm.liveswitch.IAction1< fm.liveswitch.ConnectionInfo > | value | ) |
Removes a handler that is raised when a remote upstream (SFU or MCU) connection is opened by a remote client.
Parameters:
| void fm.liveswitch.Channel.removeOnRemoteUpstreamConnectionUpdate | ( | fm.liveswitch.IAction2< fm.liveswitch.ConnectionInfo, fm.liveswitch.ConnectionInfo > | value | ) |
Removes a handler that is raised when a remote upstream (SFU or MCU) connection is updated by a remote client.
Parameters:
| void fm.liveswitch.Channel.removeOnUserMessage | ( | fm.liveswitch.IAction2< fm.liveswitch.ClientInfo, String > | value | ) |
Removes a handler that is raised when a channel/user-scope message is received from the server.
Parameters:
|
protected |
Sends a message.
| message | The message. |
| fm.liveswitch.Future<Object> fm.liveswitch.Channel.sendClientMessage | ( | String | userId, |
| String | deviceId, | ||
| String | clientId, | ||
| String | message | ||
| ) |
Sends a message to a client in the channel.
| message | The message to be sent. |
| userId | The user identifier. |
| deviceId | The device identifier. |
| clientId | The client identifier. |
| fm.liveswitch.Future<Object> fm.liveswitch.Channel.sendDeviceMessage | ( | String | userId, |
| String | deviceId, | ||
| String | message | ||
| ) |
Sends a message to a device in the channel.
| message | The message to be sent. |
| userId | The user identifier. |
| deviceId | The device identifier. |
| fm.liveswitch.Future<Object> fm.liveswitch.Channel.sendMessage | ( | String | message | ) |
Sends a message to the channel.
| message | The message to be sent. |
| fm.liveswitch.Future<Object> fm.liveswitch.Channel.sendUserMessage | ( | String | userId, |
| String | message | ||
| ) |
Sends a message to a user in the channel.
| userId | The user identifier. |
| message | The message. |
| fm.liveswitch.Future<Object> fm.liveswitch.Channel.update | ( | fm.liveswitch.ChannelConfig | newConfig | ) |
Updates this channel.
| newConfig | The channel configuration. |
| fm.liveswitch.Future<Object> fm.liveswitch.Channel.updateClient | ( | fm.liveswitch.ClientInfo | remoteClientInfo, |
| fm.liveswitch.ChannelClientConfig | newConfig | ||
| ) |
Updates a client in this channel.
| remoteClientInfo | The remote client information. |
| newConfig | The client configuration. |
| fm.liveswitch.Future<Object> fm.liveswitch.Channel.updateClient | ( | String | userId, |
| String | deviceId, | ||
| String | clientId, | ||
| fm.liveswitch.ChannelClientConfig | newConfig | ||
| ) |
Updates a client in this channel.
| userId | The user identifier. |
| deviceId | The device identifier. |
| clientId | The client identifier. |
| newConfig | The client configuration. |
| fm.liveswitch.Future<Object> fm.liveswitch.Channel.updateClientLayout | ( | fm.liveswitch.ClientInfo | remoteClientInfo, |
| fm.liveswitch.ChannelClientLayoutConfig | newConfig | ||
| ) |
Applies a layout update to all upstream connections for the specified client in this channel.
| remoteClientInfo | The remote client information. |
| newConfig | The client configuration. |
| fm.liveswitch.Future<Object> fm.liveswitch.Channel.updateClientLayout | ( | String | userId, |
| String | deviceId, | ||
| String | clientId, | ||
| fm.liveswitch.ChannelClientLayoutConfig | newConfig | ||
| ) |
Applies a layout update to all upstream connections for the specified client in this channel.
| userId | The user identifier. |
| deviceId | The device identifier. |
| clientId | The client identifier. |
| newConfig | The client configuration. |
| fm.liveswitch.Future<Object> fm.liveswitch.Channel.updateConnection | ( | fm.liveswitch.ConnectionInfo | remoteConnectionInfo, |
| fm.liveswitch.ChannelConnectionConfig | newConfig | ||
| ) |
Updates a connection in this channel.
| remoteConnectionInfo | The remote connection information. |
| newConfig | The connection configuration. |
| fm.liveswitch.Future<Object> fm.liveswitch.Channel.updateConnection | ( | String | userId, |
| String | deviceId, | ||
| String | clientId, | ||
| String | connectionId, | ||
| fm.liveswitch.ChannelConnectionConfig | newConfig | ||
| ) |
Updates a connection in this channel.
| userId | The user identifier. |
| deviceId | The device identifier. |
| clientId | The client identifier. |
| connectionId | The connection identifier. |
| newConfig | The connection configuration. |
| fm.liveswitch.Future<Object> fm.liveswitch.Channel.updateConnectionLayout | ( | fm.liveswitch.ConnectionInfo | remoteConnectionInfo, |
| fm.liveswitch.ChannelConnectionLayoutConfig | newConfig | ||
| ) |
Updates a connection in this channel.
| remoteConnectionInfo | The remote connection information. |
| newConfig | The connection configuration. |
| fm.liveswitch.Future<Object> fm.liveswitch.Channel.updateConnectionLayout | ( | String | userId, |
| String | deviceId, | ||
| String | clientId, | ||
| String | connectionId, | ||
| fm.liveswitch.ChannelConnectionLayoutConfig | newConfig | ||
| ) |
Applies a layout update to the specified upstream connection in this channel.
| userId | The user identifier. |
| deviceId | The device identifier. |
| clientId | The client identifier. |
| connectionId | The connection identifier. |
| newConfig | The connection configuration. |
| fm.liveswitch.Future<Object> fm.liveswitch.Channel.updateDevice | ( | String | userId, |
| String | deviceId, | ||
| fm.liveswitch.ChannelDeviceConfig | newConfig | ||
| ) |
Updates a device in this channel.
| userId | The user identifier. |
| deviceId | The device identifier. |
| newConfig | The device configuration. |
| fm.liveswitch.Future<Object> fm.liveswitch.Channel.updateDeviceLayout | ( | String | userId, |
| String | deviceId, | ||
| fm.liveswitch.ChannelDeviceLayoutConfig | newConfig | ||
| ) |
Applies a layout update to all upstream connections for the specified device in this channel.
| userId | The user identifier. |
| deviceId | The device identifier. |
| newConfig | The device layout configuration. |
| fm.liveswitch.Future<Object> fm.liveswitch.Channel.updateLayout | ( | fm.liveswitch.ChannelLayoutConfig | newLayoutConfig | ) |
Applies a layout update to all upstream connections on this channel.
| newLayoutConfig | The channel layout configuration. |
| fm.liveswitch.Future<Object> fm.liveswitch.Channel.updateUser | ( | String | userId, |
| fm.liveswitch.ChannelUserConfig | newConfig | ||
| ) |
Updates a user in this channel.
| userId | The user identifier. |
| newConfig | The user configuration. |
| fm.liveswitch.Future<Object> fm.liveswitch.Channel.updateUserLayout | ( | String | userId, |
| fm.liveswitch.ChannelUserLayoutConfig | newLayoutConfig | ||
| ) |
Applies a layout update to all upstream connections for the specified user in this channel.
| userId | The user identifier. |
| newLayoutConfig | The user layout configuration. |