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

# VIEndpoint

Class that represents a remote participant in a conference.

@objc class VIEndpoint

## Properties

### delegate

@objc weak var delegate: [VIEndpointDelegate](/api-reference/iossdk/calls/viendpointdelegate)?

Endpoint delegate.

### id

@objc let id: String

Endpoint id.

### isMuted

@objc var isMuted: Bool \{ get set }

Whether the endpoint is muted.

### isVoiceActive

@objc var isVoiceActive: Bool \{ get set }

Whether the endpoint is currently talking.

### remoteAudioStreams

@objc var remoteAudioStreams: \[[VIRemoteAudioStream](/api-reference/iossdk/calls/viremoteaudiostream)] \{ get }

Array of the remote audio streams associated with the endpoint.

### remoteVideoStreams

@objc var remoteVideoStreams: \[[VIRemoteVideoStream](/api-reference/iossdk/calls/viremotevideostream)] \{ get }

Array of the remote video streams associated with the endpoint.

### sipUri

@objc var sipUri: String? \{ get }

Endpoint SIP URI.

### user

@objc var user: String? \{ get }

Endpoint user name.

### userDisplayName

@objc var userDisplayName: String? \{ get }

Endpoint user display name.

## Methods

### requestVideoSize(\_:for:completion:)

@objc func requestVideoSize(\
    \_ size: CGSize,\
    for remoteVideoStream: [VIRemoteVideoStream](/api-reference/iossdk/calls/viremotevideostream),\
    completion: (([VICallError](/api-reference/iossdk/calls/vicallerror)?) -> Void)?\
)

Requests the specified video size for a remote video stream.

**Parameters**

**size** CGSize

Requested size

**remoteVideoStream** [VIRemoteVideoStream](/api-reference/iossdk/calls/viremotevideostream)

Remote video stream

**completion** (([VICallError](/api-reference/iossdk/calls/vicallerror)?) -> Void)?

Completion handler to call when the operation is complete. This handler is executed on the delegate queue. The SDK passes the [VICallError](/api-reference/iossdk/calls/vicallerror) object if the operation has failed.

The stream resolution may be changed to the closest to the specified width and height.

It only makes an impact if the endpoint has enabled simulcast feature.

### startReceiving(from:)

@objc func startReceiving(from remoteVideoStream: [VIRemoteVideoStream](/api-reference/iossdk/calls/viremotevideostream))

Starts receiving video on the remote video stream.

**Parameters**

**remoteVideoStream** [VIRemoteVideoStream](/api-reference/iossdk/calls/viremotevideostream)

Remote video stream

If the video is already receiving, this method call is ignored.

If the request is processed successfully,  the [endpoint(\_:didStartReceivingVideoStream:)](/api-reference/iossdk/calls/viendpointdelegate#symbol-ba5eedb19bdd4849) event is triggered.

### stopReceiving(from:)

@objc func stopReceiving(from remoteVideoStream: [VIRemoteVideoStream](/api-reference/iossdk/calls/viremotevideostream))

Stops receiving video on the remote video stream.

**Parameters**

**remoteVideoStream** [VIRemoteVideoStream](/api-reference/iossdk/calls/viremotevideostream)

Remote video stream

If the request is processed successfully, the [endpoint(\_:didStopReceivingVideoStream:reason:)](/api-reference/iossdk/calls/viendpointdelegate#symbol-8b21b295ff96d52e) event is triggered with the [VIVideoStreamReceiveStopReason.manual](/api-reference/iossdk/calls/vivideostreamreceivestopreason#symbol-3503d80d179f2914) reason.

## Relationships

**Inherits From:** NSObject

**Conforms To:** ObjectiveC.NSObjectProtocol, Swift.CVarArg, Swift.CustomDebugStringConvertible, Swift.CustomStringConvertible, Swift.Equatable, Swift.Hashable