@vonage/voice
Version:
The Voice API lets you create outbound calls, control in-progress calls and get information about historical calls.
20 lines (18 loc) • 473 B
TypeScript
/**
* Represents parameters for streaming audio in a call.
*/
type StreamAudioParameters = {
/**
* An array of URLs specifying the audio streams to be played in the call.
*/
streamUrl: Array<string>;
/**
* The number of times to loop the audio stream playback. Optional.
*/
loop?: number;
/**
* The audio level or volume for the streamed audio. Optional.
*/
level?: number;
};
export type { StreamAudioParameters };