Protocols

The following protocols are available globally.

  • TVOAudioDeviceRenderer defines the rendering half of TVOAudioDevice. An audio renderer consumes samples by repeatedly calling TVOAudioDeviceReadRenderData() when it needs new data. A renderer need not playback audio through the device loudspeaker, it could perform other operations such as writing audio samples to disk instead.

    See more

    Declaration

    Objective-C

    @protocol TVOAudioDeviceRenderer <NSObject>

    Swift

    protocol TVOAudioDeviceRenderer : NSObjectProtocol
  • TVOAudioDeviceCapturer defines the capturing half of TVOAudioDevice. An audio capturer produces samples by repeatedly calling TVOAudioDeviceWriteCaptureData() when it needs to deliver new data. A capturer need not record audio from the device microphone, it could perform other operations such as reading audio samples from disk instead.

    See more

    Declaration

    Objective-C

    @protocol TVOAudioDeviceCapturer <NSObject>

    Swift

    protocol TVOAudioDeviceCapturer : NSObjectProtocol
  • TVOAudioDevice represents full duplex audio capturing and rendering capabilities. By implementing this protocol you can replace the mechanism by which audio is used by the media engine.

    Declaration

    Objective-C

    @protocol TVOAudioDevice <TVOAudioDeviceRenderer, TVOAudioDeviceCapturer>

    Swift

    protocol TVOAudioDevice : TVOAudioDeviceCapturer, TVOAudioDeviceRenderer
  • TVOCallDelegate provides callbacks when important changes to a TVOCall occur.

    See more

    Declaration

    Objective-C

    @protocol TVOCallDelegate <NSObject>

    Swift

    protocol TVOCallDelegate : NSObjectProtocol
  • TVOCallMessageDelegate provides callbacks when call message is received or when the result of outbound message request is available.

    See more

    Declaration

    Objective-C

    @protocol TVOCallMessageDelegate <NSObject>

    Swift

    protocol TVOCallMessageDelegate : NSObjectProtocol
  • TVOLogger is the protocol for the custom logger that can be implemented by the SDK user.

    See more

    Declaration

    Objective-C

    @protocol TVOLogger <NSObject>

    Swift

    protocol TVOLogger : NSObjectProtocol
  • Objects can conform to the TVONotificationDelegate protocol to be informed when incoming Call Invites are received or cancelled.

    See more

    Declaration

    Objective-C

    @protocol TVONotificationDelegate <NSObject>

    Swift

    protocol TVONotificationDelegate : NSObjectProtocol
  • TVOPreflightDelegate provides callbacks when important changes to a TVOPreflightTest occur.

    See more

    Declaration

    Objective-C

    @protocol TVOPreflightDelegate <NSObject>

    Swift

    protocol TVOPreflightDelegate : NSObjectProtocol