createToneScriptPlayer
createToneScriptPlayer(script: string
, toneScriptPlayerOptions: ):
Create new audio player with the specified ToneScript sequence. Media streams can later be attached using the Call.sendMediaTo method etc. Add the following line to your scenario code to use the function:
Parameters
script:
string
ToneScript string
toneScriptPlayerOptions:
Parameters for ToneScript: loop, progressivePlayback, etc.
Returns
type: