Options
Menu

External module Voice

Index

Variables

Const Backoff

Backoff: any = require('backoff')

Const C

C: any = require('./constants')

Const C

C: any = require('./constants')

Const DEFAULT_TEST_SOUND_URL

DEFAULT_TEST_SOUND_URL: string = `${SOUNDS_BASE_URL}/outgoing.mp3`

Const DTMF_INTER_TONE_GAP

DTMF_INTER_TONE_GAP: number = 70

Const DTMF_PAUSE_DURATION

DTMF_PAUSE_DURATION: number = 500

Const DTMF_TONE_DURATION

DTMF_TONE_DURATION: number = 160

Const METRICS_BATCH_SIZE

METRICS_BATCH_SIZE: number = 10

Const METRICS_DELAY

METRICS_DELAY: number = 5000

Const MediaDeviceInfoShim

MediaDeviceInfoShim: any = require('./shims/mediadeviceinfo')

Const Mos

Mos: any = require('./rtc/mos')

Const PStream

PStream: any = require('./pstream')

PeerConnection

PeerConnection: any

Const Publisher

Publisher: any = require('./eventpublisher')

Const REGISTRATION_INTERVAL

REGISTRATION_INTERVAL: 30000 = 30000

Const RINGTONE_PLAY_TIMEOUT

RINGTONE_PLAY_TIMEOUT: 2000 = 2000

Const RTCRtpTransceiver

RTCRtpTransceiver: any

Const SAMPLE_COUNT_CLEAR

SAMPLE_COUNT_CLEAR: 0 = 0

Const SAMPLE_COUNT_METRICS

SAMPLE_COUNT_METRICS: 5 = 5

Const SAMPLE_COUNT_RAISE

SAMPLE_COUNT_RAISE: 3 = 3

Const SAMPLE_INTERVAL

SAMPLE_INTERVAL: 1000 = 1000

Const Sound

Sound: any = require('./sound')

Const WARNING_TIMEOUT

WARNING_TIMEOUT: number = 5 * 1000

Private Const defaultChunderRegionURI

defaultChunderRegionURI: string = "chunderw-vpc-gll.twilio.com"

Const defaultEdge

defaultEdge: Edge = Edge.Roaming

Private Const defaultRegion

defaultRegion: string = "gll"

Private Const errorsByCode

errorsByCode: ReadonlyMap<number, any> = new Map([[ 20101, AuthorizationErrors.AccessTokenInvalid ],[ 20104, AuthorizationErrors.AccessTokenExpired ],[ 20151, AuthorizationErrors.AuthenticationFailed ],[ 31400, ClientErrors.BadRequest ],[ 31000, GeneralErrors.UnknownError ],[ 31005, GeneralErrors.ConnectionError ],[ 31009, GeneralErrors.TransportError ],[ 53000, SignalingErrors.ConnectionError ],[ 53001, SignalingErrors.ConnectionDisconnected ],[ 53400, MediaErrors.ClientLocalDescFailed ],[ 53402, MediaErrors.ClientRemoteDescFailed ],[ 53405, MediaErrors.ConnectionError ],])

getPreferredCodecInfo

getPreferredCodecInfo: any

Const getRTCStats

getRTCStats: any = require('./rtc/stats')

Const getUserMedia

getUserMedia: any = require('./rtc/getusermedia')

Let hasBeenWarnedHandlers

hasBeenWarnedHandlers: boolean = false

Let hasBeenWarnedHandlers

hasBeenWarnedHandlers: boolean = false

Let hasBeenWarnedSounds

hasBeenWarnedSounds: boolean = false

Private Const networkInformation

networkInformation: any = (navigator as any).connection|| (navigator as any).mozConnection|| (navigator as any).webkitConnection

Const rtc

rtc: any = require('./rtc')

Const webkitAudioContext

webkitAudioContext: object

Type declaration

  • constructor: function
    • new __type(contextOptions: AudioContextOptions): AudioContext
    • Parameters

      • Optional contextOptions: AudioContextOptions

      Returns AudioContext

  • prototype: AudioContext

Generated using TypeDoc