@vonage/client-sdk
Version:
The Client SDK is intended to provide a ready solution for developers to build Programmable Conversation applications across multiple Channels including: Messages, Voice, SIP, websockets, and App.
6 lines (5 loc) • 441 B
TypeScript
type CreateRtcAudioConnectionFunction = () => Promise<RTCPeerConnection>;
declare const createRtcAudioConnection: CreateRtcAudioConnectionFunction;
declare const createOffer: (peerConnection: RTCPeerConnection) => Promise<RTCSessionDescription['sdp']>;
declare const createAnswer: (peerConnection: RTCPeerConnection, sdp: string) => Promise<RTCSessionDescription['sdp']>;
export { createRtcAudioConnection, createOffer, createAnswer };