Skip to content

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

Open
manuquentin wants to merge 1 commit intomuaz-khan:masterfrom
wazo-platform:fix_undefined_results
Open

Fix undefined getStatsResult[audio|video][sendrecvType] on iOS#29
manuquentin wants to merge 1 commit intomuaz-khan:masterfrom
wazo-platform:fix_undefined_results

Conversation

@manuquentin
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant