@vonage/video
Version:
Package to interact with the Vonage Video API (Not OpenTok Compatible)
25 lines • 627 B
TypeScript
import { AudioRate } from '../enums';
/**
* Configuration options for establishing a WebSocket connection.
*/
export type WebSocketConfig = {
/**
* The URI to connect to the WebSocket server.
*/
uri: string;
/**
* An array of stream IDs to associate with the WebSocket connection.
*/
streams?: string[];
/**
* Optional headers to include in the WebSocket request.
*/
headers?: {
[key: string]: string;
};
/**
* The audio rate to be used for the WebSocket connection.
*/
audioRate?: AudioRate;
};
//# sourceMappingURL=WebSocketConfig.d.ts.map