Rate this page:

VIEndpoint

Represents a remote call participant.

Props

displayName

Copy URL

String?

displayName

This endpoint's display name.

Returns

  • type:

    String?

endpointId

Copy URL

String

endpointId

The endpoint id.

Returns

  • type:

    String

onEndpointRemoved

Copy URL

VIEndpointRemoved?

onEndpointRemoved

Callback for getting notified when the endpoint is removed from the call. It is not triggered on call end.

Returns

onEndpointUpdated

Copy URL

VIEndpointUpdated?

onEndpointUpdated

Callback for getting notified when the endpoint information is updated.

Returns

onRemoteVideoStreamAdded

Copy URL

VIRemoteVideoStreamAdded?

onRemoteVideoStreamAdded

Callback for getting notified when the endpoint added the video stream to the call.

onRemoteVideoStreamRemoved

Copy URL

VIRemoteVideoStreamRemoved?

onRemoteVideoStreamRemoved

Callback for getting notified when the endpoint removed the video stream from the call.

onVoiceActivityStarted

Copy URL

VIVoiceActivityStarted?

onVoiceActivityStarted

Callback for getting notified when a voice activity is detected in a conference call.

onVoiceActivityStopped

Copy URL

VIVoiceActivityStopped?

onVoiceActivityStopped

Callback for getting notified when a voice activity is stopped in a conference call.

place

Copy URL

int?

place

Place of this endpoint in a video conference. May be used as a position of this endpoint’s video stream to render in a video conference call.

Returns

  • type:

    int?

remoteVideoStreams

Copy URL

List<VIVideoStream>

remoteVideoStreams

All active video streams of the endpoint.

Returns

sipUri

Copy URL

String?

sipUri

This endpoint's SIP URI.

Returns

  • type:

    String?

userName

Copy URL

String?

userName

This endpoint's user name.

Returns

  • type:

    String?

Methods

requestVideoSize

Copy URL

Future<void>

requestVideoSize(

String

streamId,

int

width,

int

height
)

Requests the specified video size for the video stream.

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

Valid only for conferences.

Throws VIException, if an error occurred.

Errors:

Parameters

  • streamId:

    String

    Remote video stream id

  • width:

    int

    Requested width of the video stream

  • height:

    int

    Requested height of the video stream

Returns

  • type:

    Future<void>

startReceiving

Copy URL

Future<void>

startReceiving(

String

streamId
)

Starts receiving video on the video stream.

Valid only for conferences.

Throws VIException, if an error occurred.

Errors:

Parameters

  • streamId:

    String

    Remote video stream id

Returns

  • type:

    Future<void>

stopReceiving

Copy URL

Future<void>

stopReceiving(

String

streamId
)

Stops receiving video on the video stream.

Valid only for conferences.

Throws VIException, if an error occurred.

Errors:

Parameters

  • streamId:

    String

    Remote video stream id

Returns

  • type:

    Future<void>