Skip to content
This repository has been archived by the owner on May 13, 2024. It is now read-only.

fix bug with relayProtocol === undefined && relayProtocol.toUpperCase() #700

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

AKosmachyov
Copy link

Description
Runtime error: TypeError: Cannot read property 'toUpperCase' of undefined.
Default value for connectionStats.localRelayProtocol is undefined.

localProtocol: '',
localRelayProtocol: undefined,
remoteCandidateId: '',

Purpose
Remove the logical NOT operation from the check.

@google-cla google-cla bot added the cla: yes label Mar 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant