Rate this page:

VIEndpointDelegate

Delegate that may be used to handle endpoint events.

Methods

endpoint:didAddRemoteVideoStream:

Optional
Copy URL
- (

void

)endpoint:(

VIEndpoint *

)endpoint
didAddRemoteVideoStream:(

VIVideoStream *

)videoStream

Triggered after endpoint added video stream to the call.

Triggered always on the main thread, even delegateQueue (set in [VIClient initWithDelegateQueue:]) is not the main thread.

Parameters

  • endpoint:

    VIEndpoint *

    Endpoint that triggered this event.

  • videoStream:

    VIVideoStream *

    Remote video stream added to the call.

Returns

  • type:

    void

endpointDidRemove:

Optional
Copy URL
- (

void

)endpointDidRemove:(

VIEndpoint *

)endpoint

Invoked after endpoint is removed from the call. Event is not triggered on call end.

Parameters

Returns

  • type:

    void

endpoint:didRemoveRemoteVideoStream:

Optional
Copy URL
- (

void

)endpoint:(

VIEndpoint *

)endpoint
didRemoveRemoteVideoStream:(

VIVideoStream *

)videoStream

Triggered after endpoint removed video stream from the call.

Triggered always on the main thread, even delegateQueue (set in [VIClient initWithDelegateQueue:]) is not the main thread.

Parameters

  • endpoint:

    VIEndpoint *

    Endpoint that triggered this event.

  • videoStream:

    VIVideoStream *

    Remote video stream removed from the call.

Returns

  • type:

    void

endpointInfoDidUpdate:

Optional
Copy URL
- (

void

)endpointInfoDidUpdate:(

VIEndpoint *

)endpoint

Invoked when endpoint information such as display name, user name and sip uri is updated.

Parameters

  • endpoint:

    VIEndpoint *

    Endpoint which information is updated.

Returns

  • type:

    void