Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface AudioVideoObserver

Hierarchy

  • AudioVideoObserver

Implemented by

Index

Methods

Optional audioVideoDidStart

  • audioVideoDidStart(): void

Optional audioVideoDidStartConnecting

  • audioVideoDidStartConnecting(reconnecting: boolean): void

Optional audioVideoDidStop

Optional audioVideoWasDemotedFromPrimaryMeeting

  • This observer callback will only be called for attendees in Replica meetings.

    Indicates that the client is no longer authenticated to the Primary meeting and can no longer share media. status will contain a MeetingSessionStatusCode of the following:

    • MeetingSessionStatusCode.OK: demoteFromPrimaryMeeting was used to remove the attendee.
    • MeetingSessionStatusCode.AudioAuthenticationRejected: chime::DeleteAttendee was called on the Primary meeting attendee used in promoteToPrimaryMeeting.
    • MeetingSessionStatusCode.AudioVideoDisconnectedWhilePromoted: The client disconnected (and may be reconnecting). Any disconnection will trigger an automatic demotion to avoid unexpected or unwanted promotion state on reconnection.

    Parameters

    Returns void

Optional connectionDidBecomeGood

  • connectionDidBecomeGood(): void

Optional connectionDidBecomePoor

  • connectionDidBecomePoor(): void

Optional connectionDidSuggestStopVideo

  • connectionDidSuggestStopVideo(): void

Optional connectionHealthDidChange

Optional encodingSimulcastLayersDidChange

Optional metricsDidReceive

Optional remoteVideoSourcesDidChange

  • remoteVideoSourcesDidChange(videoSources: VideoSource[]): void

Optional videoAvailabilityDidChange

Optional videoSendDidBecomeUnavailable

  • videoSendDidBecomeUnavailable(): void
  • Called when a user tries to start a video but by the time the backend processes the request, video capacity has been reached and starting local video is not possible. This can be used to trigger a message to the user about the situation.

    Returns void

Optional videoTileDidUpdate

Optional videoTileWasRemoved

  • videoTileWasRemoved(tileId: number): void

Generated using TypeDoc