> For a complete documentation index, fetch https://docs.voximplant.ai/llms.txt

# Endpoint (class)

[com.voximplant.android.sdk.calls](/api-reference/androidsdk3/android/sdk/calls/overview)

Class that represents a remote participant in a conference.

**Methods**

* [requestVideoSize](/api-reference/androidsdk3/android/sdk/calls/endpoint#requestvideosize)
* [setEndpointListener](/api-reference/androidsdk3/android/sdk/calls/endpoint#setendpointlistener)
* [startReceiveVideo](/api-reference/androidsdk3/android/sdk/calls/endpoint#startreceivevideo)
* [stopReceiveVideo](/api-reference/androidsdk3/android/sdk/calls/endpoint#stopreceivevideo)
* [toString](/api-reference/androidsdk3/android/sdk/calls/endpoint#tostring)

**Properties**

* [audioStreams](/api-reference/androidsdk3/android/sdk/calls/endpoint#audiostreams)
* [displayName](/api-reference/androidsdk3/android/sdk/calls/endpoint#displayname)
* [id](/api-reference/androidsdk3/android/sdk/calls/endpoint#id)
* [isMuted](/api-reference/androidsdk3/android/sdk/calls/endpoint#ismuted)
* [isVoiceActivityDetected](/api-reference/androidsdk3/android/sdk/calls/endpoint#isvoiceactivitydetected)
* [sipUri](/api-reference/androidsdk3/android/sdk/calls/endpoint#sipuri)
* [username](/api-reference/androidsdk3/android/sdk/calls/endpoint#username)
* [videoStreams](/api-reference/androidsdk3/android/sdk/calls/endpoint#videostreams)

## 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**

| Parameter  | Type     | Requirement | Description                          |
| ---------- | -------- | ----------- | ------------------------------------ |
| `streamId` | `String` |             |                                      |
| `width`    | `Int`    |             | Requested width of the video stream  |
| `height`   | `Int`    |             | Requested height of the video stream |

**Returns:** Unit

### setEndpointListener

`fun setEndpointListener(endpointListener: `[`EndpointListener`](/api-reference/androidsdk3/android/sdk/calls/endpointlistener)`?): Unit`

Sets the listener to be notified of the endpoint events.

**Parameters**

| Parameter          | Type                                                                                   | Requirement | Description                                                                          |
| ------------------ | -------------------------------------------------------------------------------------- | ----------- | ------------------------------------------------------------------------------------ |
| `endpointListener` | [`EndpointListener`](/api-reference/androidsdk3/android/sdk/calls/endpointlistener)`?` |             | Listener to be notified of the endpoint events If null, previous listener is removed |

**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](/api-reference/androidsdk3/android/sdk/calls/endpointlistener#onstartreceivingvideostream) event is invoked.

**Parameters**

| Parameter  | Type     | Requirement | Description |
| ---------- | -------- | ----------- | ----------- |
| `streamId` | `String` |             |             |

**Returns:** Unit

### stopReceiveVideo

`fun stopReceiveVideo(streamId: String): Unit`

Stops receiving video on the remote video stream.

If the request is processed successfully, [EndpointListener.onStopReceivingVideoStream](/api-reference/androidsdk3/android/sdk/calls/endpointlistener#onstopreceivingvideostream) event is invoked with the [VideoStreamReceiveStopReason.Manual](/api-reference/androidsdk3/android/sdk/calls/videostreamreceivestopreason#manual) reason

**Parameters**

| Parameter  | Type     | Requirement | Description |
| ---------- | -------- | ----------- | ----------- |
| `streamId` | `String` |             |             |

**Returns:** Unit

### toString

`fun toString(): String`

**Returns:** String

## Properties

### audioStreams

`val audioStreams: List<`[`RemoteAudioStream`](/api-reference/androidsdk3/android/sdk/calls/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`](/api-reference/androidsdk3/android/sdk/calls/remotevideostream)`>`

All active video streams of the endpoint.

**Read-only.**