Endpoint (class)
com.voximplant.android.sdk.calls
Class that represents a remote participant in a conference.
Methods
Properties
Methods
requestVideoSize
fun requestVideoSize(streamId: String, width: Int, height: Int): Unit
Requests the specified video size for the video stream.
The stream resolution may be changed to the closest to the specified width and height.
Parameters
Returns: Unit
setEndpointListener
fun setEndpointListener(endpointListener: EndpointListener?): Unit
Sets the listener to be notified of the endpoint events.
Parameters
Returns: Unit
startReceiveVideo
fun startReceiveVideo(streamId: String): Unit
Starts receiving video on the remote video stream.
If the video is already receiving, this method call is ignored.
If the request is processed successfully, EndpointListener.onStartReceivingVideoStream event is invoked.
Parameters
Returns: Unit
stopReceiveVideo
fun stopReceiveVideo(streamId: String): Unit
Stops receiving video on the remote video stream.
If the request is processed successfully, EndpointListener.onStopReceivingVideoStream event is invoked with the VideoStreamReceiveStopReason.Manual reason
Parameters
Returns: Unit
toString
fun toString(): String
Returns: String
Properties
audioStreams
val audioStreams: List<RemoteAudioStream>
All active audio streams of the endpoint.
Read-only.
displayName
val displayName: String?
Endpoint display name.
Read-only.
id
val id: String
Endpoint id.
Read-only.
isMuted
var isMuted: Boolean
Whether the endpoint’s microphone is muted.
isVoiceActivityDetected
var isVoiceActivityDetected: Boolean
Whether the endpoint is currently talking.
sipUri
val sipUri: String?
Endpoint SIP URI.
Read-only.
username
val username: String?
Endpoint username.
Read-only.
videoStreams
val videoStreams: List<RemoteVideoStream>
All active video streams of the endpoint.
Read-only.