UNPKG

rn-verto-typescript

Version:

Verto Free Switch with React Native Type Script

12 lines (11 loc) 444 B
import { RTCSessionDescription } from 'react-native-webrtc'; import PeerConnectionParams from './PeerConnectionParams'; export default class FSRTCPeerConnection { private options; private peer; private gathering?; private done; constructor(options: PeerConnectionParams); addAnswerSDP(sdp: RTCSessionDescription, cbSuccess?: (value: any) => any, cbError?: (reason: any) => PromiseLike<never>): void; stop(): void; }