getStats icon indicating copy to clipboard operation
getStats copied to clipboard

Fix undefined getStatsResult[audio|video][sendrecvType] on iOS

Open manuquentin opened this issue 4 years ago • 0 comments

On iOS using react-native-webrtc I've got this error :

undefined is not an object (evaluating 'getStatsResult.audio[sendrecvType].codecs')

FIxed it by checking for getStatsResult.audio[sendrecvType] befor using it.

manuquentin avatar Feb 08 '21 19:02 manuquentin