@telnyx/webrtc
Version:
Telnyx WebRTC Client
17 lines (16 loc) • 721 B
TypeScript
import BaseCall from './BaseCall';
import { IVertoCallOptions } from './interfaces';
import type { FunctionCallOutputItem } from './AIConversationTypes';
export declare class Call extends BaseCall {
screenShare: Call;
private _statsInterval;
hangup(params?: any, execute?: boolean): Promise<void>;
startScreenShare(opts?: IVertoCallOptions): Promise<Call>;
stopScreenShare(): Promise<void>;
sendConversationMessage: (message: string, attachments?: string[]) => Promise<any>;
sendAIConversationMessage: (item: FunctionCallOutputItem) => void;
setAudioOutDevice(deviceId: string): Promise<boolean>;
protected _finalize(): void;
private _stats;
}
export default Call;