You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the Amazon Chime SDK (amazon-chime-sdk-jsv. 3.25.0) in an Electron app (MacOS ARM64), there is an issue with accessing the AudioHostUrlproperty. The SDK appears to expect the audioHostUrl property with a lowercase "a", while the server response provides AudioHostUrl with an uppercase "A", resulting in a TypeError: Cannot read properties of null (reading 'audioHostUrl'). when using object.audioVideo.start()
Environment:
Client-Side Library: amazon-chime-sdk-js version 3.25.0
Server-Side Library: aws-sdk version 2.1691.0
Client Platform: Electron app on macOS (ARM64)
Browser Engine: Chromium
Expected Behavior:
The SDK should access the AudioHostUrl property in a case-insensitive manner or support AudioHostUrl in its current form without requiring transformations on the client side.
Actual Behavior:
The SDK throws an error: TypeError: Cannot read properties of null (reading 'audioHostUrl'), because it expects audioHostUrlwith a lowercase "a", while the server response includes AudioHostUrlwith an uppercase "A".
Additional Context: As a workaround, I tried normalizing the keys on the client side, but this adds extra complexity and processing overhead.
What happened and what did you expect to happen?
When using the Amazon Chime SDK (
amazon-chime-sdk-js
v. 3.25.0) in an Electron app (MacOS ARM64
), there is an issue with accessing theAudioHostUrl
property. The SDK appears to expect theaudioHostUrl
property with a lowercase "a", while the server response providesAudioHostUrl
with an uppercase "A", resulting in aTypeError: Cannot read properties of null (reading 'audioHostUrl').
when usingobject.audioVideo.start()
Environment:
amazon-chime-sdk-js
version 3.25.0aws-sdk
version 2.1691.0Electron app on macOS (ARM64)
Chromium
Expected Behavior:
The SDK should access the AudioHostUrl property in a case-insensitive manner or support
AudioHostUrl
in its current form without requiring transformations on the client side.Actual Behavior:
The SDK throws an error:
TypeError: Cannot read properties of null (reading 'audioHostUrl')
, because it expectsaudioHostUrl
with a lowercase "a", while the server response includesAudioHostUrl
with an uppercase "A".Additional Context: As a workaround, I tried normalizing the keys on the client side, but this adds extra complexity and processing overhead.
Have you reviewed our existing documentation?
Reproduction steps
aws-sdk
to create a Chime meeting.AudioHostUrl
(capitalized).object.MediaPlacement.audioHostUrl
(lowercase) based on the SDK's requirements.Amazon Chime SDK for JavaScript version
amazon-chime-sdk-js
version 3.25.0What browsers are you seeing the problem on?
Chromium
Browser version
//
Meeting and Attendee ID Information.
//
Browser console logs
MyLogger - start failed: TypeError: Cannot read properties of null (reading 'audioHostURL')
The text was updated successfully, but these errors were encountered: