react-native-webrtc
Version:
WebRTC for React Native
18 lines (17 loc) • 424 B
TypeScript
interface RTCIceCandidateInfo {
candidate?: string;
sdpMLineIndex?: number | null;
sdpMid?: string | null;
}
export default class RTCIceCandidate {
candidate: string;
sdpMLineIndex: number;
sdpMid: string;
constructor({ candidate, sdpMLineIndex, sdpMid }: RTCIceCandidateInfo);
toJSON(): {
candidate: string;
sdpMLineIndex: number;
sdpMid: string;
};
}
export {};