Classes

The following classes are available globally.

  • TVOAcceptOptionsBuilder is a builder class for TVOAcceptOptions.

    @discussion Accept options builder to use when accepting a call. For example:

      let acceptOptions = TVOAcceptOptions(callInvite: callInvite) { builder in
          builder.uuid = callInvite.uuid
          builder.enableIceGatheringOnAnyAddressPorts = true
      }
    
      let call = callInvite.accept(with: acceptOptions, delegate: self)
    
    See more

    Declaration

    Objective-C

    @interface TVOAcceptOptionsBuilder : TVOCallOptionsBuilder

    Swift

    class TVOAcceptOptionsBuilder : TVOCallOptionsBuilder
  • @brief TVOAcceptOptions represents a custom configuration to use when accepting an incoming Call.

    @discussion Accept options builder to use when accepting a call. For example:

      let acceptOptions = TVOAcceptOptions(callInvite: callInvite) { builder in
          builder.uuid = callInvite.uuid
          builder.enableIceGatheringOnAnyAddressPorts = true
      }
    
      let call = callInvite.accept(with: acceptOptions, delegate: self)
    

    See

    TVOCallOptions
    See more

    Declaration

    Objective-C

    @interface TVOAcceptOptions : TVOCallOptions

    Swift

    class TVOAcceptOptions : TVOCallOptions
  • TVOAudioCodec is the base class for all supported audio codecs.

    See more

    Declaration

    Objective-C

    @interface TVOAudioCodec : NSObject

    Swift

    class TVOAudioCodec : NSObject
  • TVOAudioFormat describes audio that is captured or rendered via a TVOAudioDevice. The class also offers convenience methods to help interoperate with CoreAudio and size your audio buffers appropriately.

    See more

    Declaration

    Objective-C

    @interface TVOAudioFormat : NSObject

    Swift

    class TVOAudioFormat : NSObject
  • TVOAudioOptionsBuilder constructs TVOAudioOptions.

    See more

    Declaration

    Objective-C

    @interface TVOAudioOptionsBuilder : NSObject

    Swift

    class TVOAudioOptionsBuilder : NSObject
  • TVOAudioOptions specifies options for TVOLocalAudioTrack.

    See more

    Declaration

    Objective-C

    @interface TVOAudioOptions : NSObject

    Swift

    class TVOAudioOptions : NSObject
  • TVOBaseTrackStats represents stats common to both local and remote tracks.

    See more

    Declaration

    Objective-C

    @interface TVOBaseTrackStats : NSObject

    Swift

    class TVOBaseTrackStats : NSObject
  • The TVOCall class represents a signaling and media session between the host device and Twilio infrastructure. Calls can represent an outbound call initiated from the SDK via <[TwilioVoiceSDK connectWithAccessToken:delegate:]> or an incoming call accepted via a <[TVOCallInvite acceptWithDelegate:]>. Devices that initiate an outbound call represent the caller and devices that receive a <TVOCallInvite> represent the callee.

    The lifecycle of a call differs for the caller and the callee. Making or accepting a call requires a <TVOCallDelegate> which receives call state changes defined in <TVOCallState>. The <TVOCallState> can be obtained at any time from the state property of TVOCall.

    The caller callback behavior is affected by the answerOnBridge flag provided in the Dial verb of your TwiML application associated with this client. If the answerOnBridge flag is false, which is the default, the <[TVOCallDelegate callDidConnect:]> callback will be emitted immediately after <[TVOCallDelegate callDidStartRinging:]>. If the answerOnBridge flag is true this will cause the call to emit the <[TVOCallDelegate callDidConnect:]> callback only until the call is answered. See Answer on Bridge documentation for more details on how to use it with the Dial TwiML verb.

    The following table provides expected call sequences for common scenarios from the perspective of the caller:

    Scenario`` Callbacks`` Transitions
    A call is initiated and the caller disconnects before reaching the ringing state.
    1. `<[TVOCallDelegate call:didDisconnectWithError:]>`
    1. `TVOCallStateConnecting`
    2. `TVOCallStateDisconnected`
    A call is initiated, reaches the ringing state and the caller disconnects before being connected.
    1. `<[TVOCallDelegate callDidStartRinging:]>`
    2. `<[TVOCallDelegate call:didDisconnectWithError:]>`
    1. `TVOCallStateConnecting`
    2. `TVOCallStateRinging`
    3. `TVOCallStateDisconnected`
    A call is initiated and the call fails to connect before reaching the ringing state.
    1. `<[TVOCallDelegate call:didFailToConnectWithError:]>`
    1. `TVOCallStateConnecting`
    2. `TVOCallStateDisconnected`
    A call is initiated and the call fails to connect after reaching the ringing state.
    1. `<[TVOCallDelegate callDidStartRinging:]>`
    2. `<[TVOCallDelegate call:didFailToConnectWithError:]>`
    1. `TVOCallStateConnecting`
    2. `TVOCallStateRinging`
    3. `TVOCallStateDisconnected`
    A call is initiated, becomes connected, and ends for one of the following reasons:
    • The caller disconnects the call
    • The callee disconnects the call
    • An on-device error occurs. (eg. network loss)
    • An error between the caller and callee occurs. (eg. media connection lost or Twilio infrastructure failure)
    1. `<[TVOCallDelegate callDidStartRinging:]>`
    2. `<[TVOCallDelegate callDidConnect:]>`
    3. `<[TVOCallDelegate call:didDisconnectWithError:]>`
    1. `TVOCallStateConnecting`
    2. `TVOCallStateRinging`
    3. `TVOCallStateConnected`
    4. `TVOCallStateDisconnected`

    The following table provides expected call sequences for common scenarios from the callee perspective:

    Scenario`` Callbacks`` Transitions
    A `` is accepted and the callee disconnects the call before being connected.
    1. `<[TVOCallDelegate call:didDisconnectWithError:]>`
    1. `TVOCallStateConnecting`
    2. `TVOCallStateDisconnected`
    A `` is accepted and the call fails to connect.
    1. `<[TVOCallDelegate call:didFailToConnectWithError:]>`
    1. `TVOCallStateConnecting`
    2. `TVOCallStateDisconnected`
    A `` is accepted, becomes connected, and ends for one of the following reasons:
    • The caller disconnects the call
    • The callee disconnects the call
    • An on-device error occurs. (eg. network loss)
    • An error between the caller and callee occurs. (eg. media connection lost or Twilio infrastructure failure)
    1. `<[TVOCallDelegate callDidStartRinging:]>`
    2. `<[TVOCallDelegate callDidConnect:]>`
    3. `<[TVOCallDelegate call:didDisconnectWithError:]>`
    1. `TVOCallStateConnecting`
    2. `TVOCallStateRinging`
    3. `TVOCallStateConnected`
    4. `TVOCallStateDisconnected`

    It is important to call the <[TVOCall disconnect]> method to terminate the call. Not calling <[TVOCall disconnect]> results in leaked native resources and may lead to an out-of-memory crash. If the call is disconnected by the caller, callee, or Twilio, the SDK will automatically free native resources. However, <[TVOCall disconnect]> is an idempotent operation so it is best to call this method when you are certain your application no longer needs the object.

    It is strongly recommended that <TVOCall> instances are created and accessed from a single dispatch queue. Accessing a <TVOCall> instance from multiple queues may cause synchronization problems. <TVOCallDelegate> methods are called on the main dispatch queue by default or on the delegateQueue provided to <TVOConnectOptions> or <TVOAcceptOptions> upon initiating or accepting a call.

    An ongoing call will automatically switch to a more preferred network type if one becomes available. The following are the network types listed in preferred order: ETHERNET, LOOPBACK, WIFI, VPN, and CELLULAR. For example, if a WIFI network becomes available whilst in a call that is using CELLULAR data, the call will automatically switch to using the WIFI network.

    Media and signaling reconnections are handled independently. As a result, it is possible that a single network change event produces consecutive [TVOCallDelegate call:isReconnectingWithError:] and [TVOCallDelegate callDidReconnect:] callbacks. For example, a network change may result in the following callback sequence.

    • [TVOCallDelegate call:isReconnectingWithError:] with error.code TVOErrorSignalingConnectionDisconnectedError.
    • [TVOCallDelegate callDidReconnect:].
    • [TVOCallDelegate call:isReconnectingWithError:] with error.code TVOErrorMediaConnectionError.
    • [TVOCallDelegate callDidReconnect:].

    Note that the SDK will always raise a [TVOCallDelegate call:isReconnectingWithError:] callback followed by a [TVOCallDelegate callDidReconnect:] callback when reconnection is successful.

    During the reconnecting state operations such as [TVOCall setOnHold:], [TVOCall setMuted:], [TVOCall sendDigits:] will result in undefined behavior. When building applications, the recommended practice is to show a UI update when the Call enters reconnecting regardless of the cause, and then clear the UI update once the call has reconnected or disconnected.

    Insights

    The following connection events are reported to Insights during a call:

    Group NameEvent NameDescriptionSince version
    connectionmutedAudio input of the call is muted by calling `<[TVOCall setMuted:]>` with `YES`.3.0.0-beta2
    connectionunmutedAudio input of the call is unmuted by calling `<[TVOCall setMuted:]>` with `NO`.3.0.0-beta2
    connectionaccepted-by-remoteServer returns an answer to the Client’s offer over the signaling channel.3.0.0-beta2
    connectionringingCall state transitions to `TVOCallStateRinging`.3.0.0-beta2
    connectionconnectedCall state transitions to `TVOCallStateConnected`.3.0.0-beta2
    connectiondisconnect-called`<[TVOCall disconnect]>` is called.3.0.0-beta2
    connectiondisconnected-by-localCall disconnected as a result of calling `<[TVOCall disconnect]>`. Call transitions to `TVOCallStateDisconnected`.3.0.0-beta2
    connectiondisconnected-by-remoteCall is disconnected by the remote. Call transitions to `TVOCallStateDisconnected`.3.0.0-beta2
    connectionholdCall is on hold by calling `<[TVOCall setOnHold:]>` with `YES`.3.0.0-beta2
    connectionunholdCall is on unhold by calling `<[TVOCall setOnHold:]>` with `NO`.3.0.0-beta2
    connectionerrorError description. Call state transitions to `TVOCallStateDisconnected`.3.0.0-beta2
    connectionreconnectingThe Call is attempting to recover from a signaling or media connection interruption3.0.0-beta3
    connectionreconnectedThe Call has recovered from a signaling or media connection interruption3.0.0-beta3

    The following peer connection state events are reported to Insights during a call:

    Group NameEvent NameDescriptionSince version
    pc-connection-statenewThe PeerConnection ice connection state changed to “new”.6.0.0
    pc-connection-stateconnectingThe PeerConnection state changed to “connecting”.6.0.0
    pc-connection-stateconnectedThe PeerConnection state changed to “connected”.6.0.0
    pc-connection-statedisconnectedThe PeerConnection state changed to “disconnected”.6.0.0
    pc-connection-statefailedThe PeerConnection state changed to “failed”.6.0.0
    pc-connection-stateclosedThe PeerConnection state changed to “closed”.6.0.0

    The following ICE candidate event is reported to Insights during a call:

    Group NameEvent NameDescriptionSince version
    ice-candidateice-candidateICE candidate events are raised when `OnIceCandidate` is called on the `PeerConnection`4.1.0
    ice-candidateselected-ice-candidate-pairThe active local ICE candidate and remote ICE candidate6.0.0

    The following ICE connection state events are reported to Insights during a call:

    Group NameEvent NameDescriptionSince version
    ice-connection-statenewThe PeerConnection ice connection state changed to “new”.3.0.0-beta3
    ice-connection-statecheckingThe PeerConnection ice connection state changed to “checking”.3.0.0-beta3
    ice-connection-stateconnectedThe PeerConnection ice connection state changed to “connected”.3.0.0-beta3
    ice-connection-statecompletedThe PeerConnection ice connection state changed to “completed”.3.0.0-beta3
    ice-connection-stateclosedThe PeerConnection ice connection state changed to “closed”.3.0.0-beta3
    ice-connection-statedisconnectedThe PeerConnection ice connection state changed to “disconnected”.3.0.0-beta3
    ice-connection-statefailedThe PeerConnection ice connection state changed to “failed”.3.0.0-beta3

    The following ICE gathering state events are reported to Insights during a call:

    Group NameEvent NameDescriptionSince version
    ice-gathering-statenewThe PeerConnection ice gathering state changed to “new”.3.0.0-beta3
    ice-gathering-stategatheringThe PeerConnection ice gathering state changed to “checking”.3.0.0-beta3
    ice-gathering-statecompleteThe PeerConnection ice gathering state changed to “connected”.3.0.0-beta3

    The following signaling state events are reported to Insights during a call:

    Group NameEvent NameDescriptionSince version
    signaling-statestableThe PeerConnection signaling state changed to “stable”.3.0.0-beta3
    signaling-statehave-local-offerThe PeerConnection signaling state changed to “have-local-offer”.3.0.0-beta3
    signaling-statehave-remote-offersThe PeerConnection signaling state changed to “have-remote-offers”.3.0.0-beta3
    signaling-statehave-local-pranswerThe PeerConnection signaling state changed to “have-local-pranswer”.3.0.0-beta3
    signaling-statehave-remote-pranswerThe PeerConnection signaling state changed to “have-remote-pranswer”.3.0.0-beta3
    signaling-stateclosedThe PeerConnection signaling state changed to “closed”.3.0.0-beta3

    The following network quality warning and network quality warning cleared events are reported to Insights during a call:

    Group NameEvent NameDescriptionSince version
    network-quality-warning-raisedhigh-jitterThree out of last five jitter samples exceed 30 ms.3.0.0-beta3
    network-quality-warning-clearedhigh-jitterhigh-jitter warning cleared if last five jitter samples are less than 30 ms.3.0.0-beta3
    network-quality-warning-raisedlow-mosThree out of last five mos samples are lower than 3.5.3.0.0-beta3
    network-quality-warning-clearedlow-moslow-mos cleared if last five mos samples are higher than 3.5.3.0.0-beta3
    network-quality-warning-raisedhigh-packets-lost-fractionThe average packet loss > 3% in last 7 samples.3.0.0-beta3
    network-quality-warning-clearedhigh-packets-lost-fractionhigh-packets-lost-fraction cleared if average packet loss <= 1% in last 7 samples.3.0.0-beta3
    network-quality-warning-raisedhigh-rttThree out of last five RTT samples show greater than 400 ms.3.0.0-beta3
    network-quality-warning-clearedhigh-rtthigh-rtt warning cleared if last five RTT samples are lower than 400 ms.3.0.0-beta3

    The following audio level warning and audio level warning cleared events are reported to Insights during a call

    Group NameEvent NameDescriptionSince version
    audio-level-warning-raisedconstant-audio-input-levelThe standard deviation of audio input levels for last 10 samples is less than or equals 1% of the maximum possible audio input level (32767) i.e. 327.67 and the call is not in the muted state3.0.0-beta3
    audio-level-warning-clearedconstant-audio-input-levelconstant-audio-input-level warning cleared if the standard deviation of audio input levels for last 10 samples is greater than 3% of the maximum possible audio input level.3.0.0-beta3
    audio-level-warning-raisedconstant-audio-output-levelThe standard deviation of audio output levels for last 10 samples is less than or equals 1% of the maximum possible audio output level (32767) i.e. 327.67 and the local call is not placed on hold6.11.0
    audio-level-warning-clearedconstant-audio-output-levelconstant-audio-output-level warning cleared if the standard deviation of audio output levels for last 10 samples is greater than 3% of the maximum possible audio output level.6.11.0

    The following feedback events are reported to Insights during a call:

    Group NameEvent NameDescriptionSince version
    feedbackreceived`<[TVOCall postFeedback:issue:]>` is called if the score is not `TVOCallFeedbackScoreNotReported` or the issue type is not `TVOCallFeedbackIssueNotReported`.3.0.0-beta3
    feedbackreceived-none`<[TVOCall postFeedback:issue:]>` is called if the score is `TVOCallFeedbackScoreNotReported` and the issue type is `TVOCallFeedbackIssueNotReported`.3.0.0-beta3
    See more

    Declaration

    Objective-C

    @interface TVOCall : NSObject

    Swift

    class TVOCall : NSObject
  • The TVOCallInvite object represents an incoming Call Invite. TVOCallInvites are not created directly; they are returned by the <[TVONotificationDelegate callInviteReceived:]> delegate method.

    See more

    Declaration

    Objective-C

    @interface TVOCallInvite : NSObject

    Swift

    class TVOCallInvite : NSObject

TVOCallMessageBuilder

TVOCallMessage

  • @brief TVOCallMessage represents the in-call message and its configuration.

    @discussion Message builder to use when using the [TVOCall sendMessage:] method. Example:

      let messageContent = "{\"foo\": \"bar\"}"
      let callMessage = CallMessage(content: messageContent, messageType: "user-defined-message")
    
      let voiceEventSid = call.sendMessage(callMessage)
    
    See more

    Declaration

    Objective-C

    @interface TVOCallMessage : NSObject

    Swift

    class TVOCallMessage : NSObject

TVOCallOptionsBuilder

TVOCallOptions

  • Represents options available when connecting to a Call. Normally, this class is not used directly. See TVOConnectOptions or TVOCAcceptOptions for example usage.

    See more

    Declaration

    Objective-C

    @interface TVOCallOptions : NSObject

    Swift

    class TVOCallOptions : NSObject
  • @brief A TVOCallerInfo is used to represent the SHAKEN/STIR status information about the caller. TVOCallerInfo is not created directly; use the TVOCallInvite.callerInfo property instead.

    See more

    Declaration

    Objective-C

    @interface TVOCallerInfo : NSObject

    Swift

    class TVOCallerInfo : NSObject
  • The TVOCancelledCallInvite object represents a cancelled incoming Call Invite. TVOCancelledCallInvites are not created directly; they are returned by the <[TVONotificationDelegate cancelledCallInviteReceived:error:]> delegate method.

    See more

    Declaration

    Objective-C

    @interface TVOCancelledCallInvite : NSObject

    Swift

    class TVOCancelledCallInvite : NSObject
  • TVOConnectOptionsBuilder is a builder class for TVOConnectOptions.

    @discussion Connect options builder to use when connecting. For example:

      let connectOptions = TVOConnectOptions(accessToken: accessToken) { builder in
          builder.params = ["to": "bob"]
          builder.enableIceGatheringOnAnyAddressPorts = true
      }
    
      let call = TwilioVoiceSDK.connect(with: connectOptions, delegate: callDelegate)
    
    See more

    Declaration

    Objective-C

    @interface TVOConnectOptionsBuilder : TVOCallOptionsBuilder

    Swift

    class TVOConnectOptionsBuilder : TVOCallOptionsBuilder
  • @brief TVOConnectOptions represents a custom configuration to use when connecting a Call.

    @discussion Connect options builder to use when connecting. For example:

      let connectOptions = TVOConnectOptions(accessToken: accessToken) { builder in
          builder.params = ["to": "bob"]
          builder.enableIceGatheringOnAnyAddressPorts = true
      }
    
      let call = TwilioVoiceSDK.connect(with: connectOptions, delegate: callDelegate)
    

    See

    TVOCallOptions
    See more

    Declaration

    Objective-C

    @interface TVOConnectOptions : TVOCallOptions

    Swift

    class TVOConnectOptions : TVOCallOptions
  • TVODefaultAudioDevice allows you to record and playback audio when you are connected to a Call.

    See more

    Declaration

    Objective-C

    @interface TVODefaultAudioDevice : NSObject <TVOAudioDevice>

    Swift

    class TVODefaultAudioDevice : NSObject, TVOAudioDevice
  • TVODefaultLogger allows you to send your app to the default logger.

    See more

    Declaration

    Objective-C

    @interface TVODefaultLogger : NSObject <TVOLogger>

    Swift

    class TVODefaultLogger : NSObject, TVOLogger
  • TVOIceCandidatePairStats reflects the properties of a Ice candidate pair

    See more

    Declaration

    Objective-C

    @interface TVOIceCandidatePairStats : NSObject

    Swift

    class TVOIceCandidatePairStats : NSObject
  • TVOIceCandidateStats reflects the properties of a candidate in Section 15.1 in [RFC5245].

    See more

    Declaration

    Objective-C

    @interface TVOIceCandidateStats : NSObject

    Swift

    class TVOIceCandidateStats : NSObject
  • TVOIceServer is a single STUN or TURN server.

    See more

    Declaration

    Objective-C

    @interface TVOIceServer : NSObject

    Swift

    class TVOIceServer : NSObject
  • @brief TVOIceOptionsBuilder constructs TVOIceOptions.

    @discussion If you provide a transportPolicy but do not provide any ICE Servers, then the servers will automatically be fetched for you based upon how the Call was created. For Client created Calls the default Call settings are used, while settings are provided on a per-Call basis when creating Calls using the REST API.

    See more

    Declaration

    Objective-C

    @interface TVOIceOptionsBuilder : NSObject

    Swift

    class TVOIceOptionsBuilder : NSObject
  • TVOIceOptions specifies custom media connectivity configurations.

    @discussion Media connections are established using the ICE (Interactive Connectivity Establishment) protocol. These options allow you to customize how data flows to and from participants, and which protocols to use. You may also provide your own ICE servers, overriding the defaults. https://www.twilio.com/stun-turn

    See more

    Declaration

    Objective-C

    @interface TVOIceOptions : NSObject

    Swift

    class TVOIceOptions : NSObject
  • TVOLocalAudioTrackStats represents stats about a local audio track.

    See more

    Declaration

    Objective-C

    @interface TVOLocalAudioTrackStats : TVOLocalTrackStats

    Swift

    class TVOLocalAudioTrackStats : TVOLocalTrackStats
  • TVOLocalTrackStats represents stats common to local tracks.

    See more

    Declaration

    Objective-C

    @interface TVOLocalTrackStats : TVOBaseTrackStats

    Swift

    class TVOLocalTrackStats : TVOBaseTrackStats
  • A struct used to pass logging parameters to the log method in <TVOLogger>.

    See more

    Declaration

    Objective-C

    @interface TVOLogParameters : NSObject

    Swift

    class TVOLogParameters : NSObject
  • @brief Lossy audio coding format.

    See

    Opus
    See more

    Declaration

    Objective-C

    @interface TVOOpusCodec : TVOAudioCodec

    Swift

    class TVOOpusCodec : TVOAudioCodec
  • @brief ITU-T standard for audio companding.

    See

    PCMU
    See more

    Declaration

    Objective-C

    @interface TVOPcmuCodec : TVOAudioCodec

    Swift

    class TVOPcmuCodec : TVOAudioCodec
  • Undocumented

    See more

    Declaration

    Objective-C

    @interface TVOPreflightTest : NSObject
    
    /**
     * @name Properties
     */
    
    /**
     * @brief The current state of the preflight test.
     */
    @property (nonatomic, assign, readonly) TVOPreflightTestStatus status;
    
    /**
     * @brief The call SID for the preflight test call.
     */
    @property (nonatomic, strong, readonly, nonnull) NSString *callSid;
    
    /**
     * @brief Preflight test start time. Unix timestamp in milliseconds.
     */
    @property (nonatomic, assign, readonly) CFTimeInterval startTime;
    
    /**
     * @brief Preflight test end time. Unix timestamp in milliseconds.
     */
    @property (nonatomic, assign, readonly) CFTimeInterval endTime;
    
    /** 
     * @brief The preflight test report.
     *
     * @discussion If accessed when the preflight status is anything other than `TVOPreflightTestStatusCompleted`,
     * an empty report object will be returned.
     */
    @property (nonatomic, strong, readonly, nullable) TVOPreflightReport *preflightReport;
    
    /**
     * @brief Returns the latest stats sample for the preflight test.
     */
    @property (nonatomic, strong, readonly, nullable) TVOPreflightStatsSample *latestSample;
    
    /**
     * @name Preflight Test Actions
     */
    
    /**
     * @brief Stops the ongoing preflight test.
     * This will result in preflight test to be in `TVOPreflightTestStatusFailed` state.
     */
    - (void)stop;
    
    @end

    Swift

    class TVOPreflightTest : NSObject

TVOPreflightOptionsBuilder

TVOPreflightOptions

  • Represents options available when running a preflight test.

    See more

    Declaration

    Objective-C

    @interface TVOPreflightOptions : NSObject

    Swift

    class TVOPreflightOptions : NSObject
  • TVOPreflightTimeMeasurement is used to keep track of signaling connection time, peer connection time, ice connection time and preflight test time.

    See more

    Declaration

    Objective-C

    @interface TVOPreflightTimeMeasurement : NSObject

    Swift

    class TVOPreflightTimeMeasurement : NSObject
  • TVOPreflightNetworkTiming is used to keep track of start time, end time, and duration of signaling connection time, peer connection time, ice connection time and preflight test time.

    See more

    Declaration

    Objective-C

    @interface TVOPreflightNetworkTiming : NSObject

    Swift

    class TVOPreflightNetworkTiming : NSObject
  • TVOPreflightStatsSample stores a subset of relevant stats data from WebRTC provided stats.

    See more

    Declaration

    Objective-C

    @interface TVOPreflightStatsSample : NSObject

    Swift

    class TVOPreflightStatsSample : NSObject
  • TVOPreflightAggregateStats stores the minimum, maximum, and average value of stats parameters.

    See more

    Declaration

    Objective-C

    @interface TVOPreflightAggregateStats : NSObject

    Swift

    class TVOPreflightAggregateStats : NSObject
  • TVOPreflightNetworkStats stores the minimum, maximum, and average value of jitter, mos, and rtt as TVOPreflightAggregateStats objects.

    See more

    Declaration

    Objective-C

    @interface TVOPreflightNetworkStats : NSObject

    Swift

    class TVOPreflightNetworkStats : NSObject
  • TVOPreflightWarning stores the call quality warning or audio level warning parameters received during the test.

    See more

    Declaration

    Objective-C

    @interface TVOPreflightWarning : NSObject

    Swift

    class TVOPreflightWarning : NSObject
  • TVOPreflightWarningCleared stores the name of the call quality warning or audio level warning that was raised during the test and subsequently cleared.

    See more

    Declaration

    Objective-C

    @interface TVOPreflightWarningCleared : NSObject

    Swift

    class TVOPreflightWarningCleared : NSObject
  • TVOPreflightIceCandidate stores the ICE candidates gathered during ice negotiation.

    See more

    Declaration

    Objective-C

    @interface TVOPreflightIceCandidate : NSObject

    Swift

    class TVOPreflightIceCandidate : NSObject
  • TVOPreflightSelectedIceCandidatePair stores the selected local and remote ICE candidates used during the test. The values are stored as TVOPreflightIceCandidate objects.

    See more

    Declaration

    Objective-C

    @interface TVOPreflightSelectedIceCandidatePair : NSObject

    Swift

    class TVOPreflightSelectedIceCandidatePair : NSObject
  • TVOPreflightReport contains the detailed report of the preflight test. This object is returned in the [TVOPreflightDelegate preflight:didCompleteWithReport:] callback when the preflight test is successfully completed.

    See more

    Declaration

    Objective-C

    @interface TVOPreflightReport : NSObject

    Swift

    class TVOPreflightReport : NSObject
  • TVORemoteAudioTrackStats represents stats about a remote audio track.

    See more

    Declaration

    Objective-C

    @interface TVORemoteAudioTrackStats : TVORemoteTrackStats

    Swift

    class TVORemoteAudioTrackStats : TVORemoteTrackStats
  • TVORemoteTrackStats represents stats common to remote tracks.

    See more

    Declaration

    Objective-C

    @interface TVORemoteTrackStats : TVOBaseTrackStats

    Swift

    class TVORemoteTrackStats : TVOBaseTrackStats
  • TVOStatsReport contains stats for all tracks associated with a single peer connection.

    See more

    Declaration

    Objective-C

    @interface TVOStatsReport : NSObject

    Swift

    class TVOStatsReport : NSObject
  • TwilioVoiceSDK is the entry point to the Twilio Voice SDK. You can register for VoIP push notifications, make outgoing Calls, receive Call invites and set audio device to use in a Call using this class.

    See more

    Declaration

    Objective-C

    @interface TwilioVoiceSDK : NSObject

    Swift

    class TwilioVoiceSDK : NSObject