ionorg / ion-sdk-js

ion javascript sdk
MIT License
102 stars 70 forks source link

prevent passing undefined to addTransceiver #177

Closed kcking closed 3 years ago

kcking commented 3 years ago

sendEncodings: undefined causes webrtc-adapter to throw an error because they check for the key being present as opposed to truthy. I hit this case when requesting an audio-only stream.