UNPKG

react-native-webrtc

Version:
17 lines (13 loc) 370 B
'use strict'; import type RTCIceCandidate from './RTCIceCandidate'; export default class RTCIceCandidateEvent { type: string; candidate: RTCIceCandidate; constructor(type, eventInitDict) { this.type = type.toString(); this.candidate = null; if (eventInitDict && eventInitDict.candidate) { this.candidate = eventInitDict.candidate; } } }