@vonage/voice
Version:
The Voice API lets you create outbound calls, control in-progress calls and get information about historical calls.
18 lines (15 loc) • 536 B
TypeScript
import { StreamAudioParameters } from '../Parameters/StreamAudioParameters.js';
/**
* Represents the parameters for streaming audio during a call.
*
* @remarks
* Vonage API's will return information using `snake_case`. This represents the
* pure response before the client will transform the keys into `camelCase`.
*/
type StreamAudioRequest = {
/**
* An array of stream URLs for the audio source.
*/
stream_url: Array<string>;
} & Omit<StreamAudioParameters, 'streamUrl'>;
export type { StreamAudioRequest };