SIGN UP

VIEndpointDelegate

Delegate that may be used to handle endpoint events.

Methods

endpoint:didAddRemoteVideoStream:

- (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.

endpoint:didRemoveRemoteVideoStream:

- (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.

endpointDidRemove:

- (void)endpointDidRemove:(VIEndpoint *)endpoint

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

Parameters

endpointInfoDidUpdate:

- (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.