amazon-chime-sdk-js: Error when start audioVideo after 3.18.1 update
What happened and what did you expect to happen?
After updated to 3.18.1 I started to get an error to initialize new meeting. I didn’t change the code and start to get this error:
The audio video controller will reconnect due to status code TaskFailed and error: serial group task AudioVideoStart/b03cc98d-2348-4055-8ff6-a93ed3e82713/d525b3b3-734f-f00d-4613-c96e4a92c3ce was canceled due to subtask AudioVideoStart/b03cc98d-2348-4055-8ff6-a93ed3e82713/d525b3b3-734f-f00d-4613-c96e4a92c3ce/Timeout15000ms error: serial group task AudioVideoStart/b03cc98d-2348-4055-8ff6-a93ed3e82713/d525b3b3-734f-f00d-4613-c96e4a92c3ce/Timeout15000ms/Peer was canceled due to subtask AudioVideoStart/b03cc98d-2348-4055-8ff6-a93ed3e82713/d525b3b3-734f-f00d-4613-c96e4a92c3ce/Timeout15000ms/Peer/SubscribeAndReceiveSubscribeAckTask (once) error: Cannot read properties of null (reading '1')
This error occur after audioVideo.start()
I followed this documentation to create the configuration: https://github.com/aws/amazon-chime-sdk-js/blob/main/guides/03_API_Overview.md
Have you reviewed our existing documentation?
Reproduction steps
This is the configuration that I use to start the meeting, without the subscribers and observers In version 3.17.0 works, but in 3.18.0 start to get error.
const configuration = new ChimeSDK.MeetingSessionConfiguration(
meeting,
attendee
)
const chimeLogger = new ChimeSDK.ConsoleLogger(
'ChimeLogger',
ChimeSDK.LogLevel.INFO
)
const deviceController = new ChimeSDK.DefaultDeviceController(
chimeLogger
)
this.meetingSession = new ChimeSDK.DefaultMeetingSession(
configuration,
chimeLogger,
deviceController
)
const videoInputs =
await this.meetingSession.audioVideo.listVideoInputDevices()
await this.meetingSession.audioVideo.startVideoInput(
videoInputs[0].deviceId
)
const audioInputs =
await this.meetingSession.audioVideo.listAudioInputDevices()
await this.meetingSession.audioVideo.startAudioInput(
audioInputs[0].deviceId
)
const audioOutputs =
await this.meetingSession.audioVideo.listAudioOutputDevices()
await this.meetingSession.audioVideo.chooseAudioOutput(
audioOutputs[0]?.deviceId
)
this.meetingSession.audioVideo.start()
Amazon Chime SDK for JavaScript version
3.18.1
What browsers are you seeing the problem on?
chrome
Browser version
117.0.5938.132
Meeting and Attendee ID Information.
No response
Browser console logs
[INFO] ChimeLogger - DefaultDeviceController video dimension 960 x 540
[INFO] ChimeLogger - Supported Constraints in this browser {"aspectRatio":true,"autoGainControl":true,"brightness":true,"channelCount":true,"colorTemperature":true,"contrast":true,"deviceId":true,"displaySurface":true,"echoCancellation":true,"exposureCompensation":true,"exposureMode":true,"exposureTime":true,"facingMode":true,"focusDistance":true,"focusMode":true,"frameRate":true,"groupId":true,"height":true,"iso":true,"latency":true,"noiseSuppression":true,"pan":true,"pointsOfInterest":true,"resizeMode":true,"sampleRate":true,"sampleSize":true,"saturation":true,"sharpness":true,"suppressLocalAudioPlayback":true,"tilt":true,"torch":true,"whiteBalanceMode":true,"width":true,"zoom":true}
[INFO] ChimeLogger - browser is chrome 117 (117.0.0)
[INFO] ChimeLogger - Event ingestion URL is present in the configuration
[INFO] ChimeLogger - Event reporting started
[INFO] ChimeLogger - adding meeting observer
[INFO] ChimeLogger - API/DefaultDeviceController/listVideoInputDevices false -> [{"deviceId":"6e5884b00bfc0d4e4a30a1e71646d029da24dbf3130a21716a59957658b74ed9","kind":"videoinput","label":"Câmera FaceTime HD (Integrada) (05ac:8514)","groupId":"b42f2b04fc2e8a19250027d842cd3406c56809e3b0d3f49b5797231f5923a18c"}]
[INFO] ChimeLogger - API/DefaultAudioVideoFacade/042ee945-9e5a-4695-8cd5-b9a3fa372713/8ee76c72-e0de-8101-c3c7-f49c5bfd9243/listVideoInputDevices false -> [{"deviceId":"6e5884b00bfc0d4e4a30a1e71646d029da24dbf3130a21716a59957658b74ed9","kind":"videoinput","label":"Câmera FaceTime HD (Integrada) (05ac:8514)","groupId":"b42f2b04fc2e8a19250027d842cd3406c56809e3b0d3f49b5797231f5923a18c"}]
[INFO] ChimeLogger - API/DefaultAudioVideoFacade/042ee945-9e5a-4695-8cd5-b9a3fa372713/8ee76c72-e0de-8101-c3c7-f49c5bfd9243/startVideoInput "6e5884b00bfc0d4e4a30a1e71646d029da24dbf3130a21716a59957658b74ed9"
[INFO] ChimeLogger - requesting new video device with constraint {"video":{"deviceId":{"exact":"6e5884b00bfc0d4e4a30a1e71646d029da24dbf3130a21716a59957658b74ed9"},"width":{"ideal":960},"height":{"ideal":540},"frameRate":{"ideal":15}}}
[INFO] ChimeLogger - API/DefaultAudioVideoFacade/042ee945-9e5a-4695-8cd5-b9a3fa372713/8ee76c72-e0de-8101-c3c7-f49c5bfd9243/getAllVideoTiles
[INFO] ChimeLogger - got video device for constraints {"video":{"deviceId":{"exact":"6e5884b00bfc0d4e4a30a1e71646d029da24dbf3130a21716a59957658b74ed9"},"width":{"ideal":960},"height":{"ideal":540},"frameRate":{"ideal":15}}}
[INFO] ChimeLogger - Starting devicechange listener.
[INFO] ChimeLogger - API/DefaultDeviceController/startVideoInputDevice "6e5884b00bfc0d4e4a30a1e71646d029da24dbf3130a21716a59957658b74ed9"
[INFO] ChimeLogger - API/DefaultDeviceController/listAudioInputDevices false -> [{"deviceId":"default","kind":"audioinput","label":"Padrão - Microfone (MacBook Pro) (Built-in)","groupId":"afa9100cfb4d6e33d8e86f080d370a7ae557362ed75a70dcf6021ec8c180f56d"},{"deviceId":"5c1b427e1e1117f3ce8f09601095e922da32a37bcc451cbae784a72780332b0c","kind":"audioinput","label":"Microfone (MacBook Pro) (Built-in)","groupId":"afa9100cfb4d6e33d8e86f080d370a7ae557362ed75a70dcf6021ec8c180f56d"}]
[INFO] ChimeLogger - API/DefaultAudioVideoFacade/042ee945-9e5a-4695-8cd5-b9a3fa372713/8ee76c72-e0de-8101-c3c7-f49c5bfd9243/listAudioInputDevices false -> [{"deviceId":"default","kind":"audioinput","label":"Padrão - Microfone (MacBook Pro) (Built-in)","groupId":"afa9100cfb4d6e33d8e86f080d370a7ae557362ed75a70dcf6021ec8c180f56d"},{"deviceId":"5c1b427e1e1117f3ce8f09601095e922da32a37bcc451cbae784a72780332b0c","kind":"audioinput","label":"Microfone (MacBook Pro) (Built-in)","groupId":"afa9100cfb4d6e33d8e86f080d370a7ae557362ed75a70dcf6021ec8c180f56d"}]
[INFO] ChimeLogger - API/DefaultAudioVideoFacade/042ee945-9e5a-4695-8cd5-b9a3fa372713/8ee76c72-e0de-8101-c3c7-f49c5bfd9243/startAudioInput "default"
[INFO] ChimeLogger - Choosing intrinsic audio input device default
[INFO] ChimeLogger - requesting new audio device with constraint {"audio":{"echoCancellation":true,"googEchoCancellation":true,"googEchoCancellation2":true,"googAutoGainControl":true,"googAutoGainControl2":true,"googNoiseSuppression":true,"googNoiseSuppression2":true,"googHighpassFilter":true,"deviceId":{"exact":"default"}}}
[INFO] ChimeLogger - got audio device for constraints {"audio":{"echoCancellation":true,"googEchoCancellation":true,"googEchoCancellation2":true,"googAutoGainControl":true,"googAutoGainControl2":true,"googNoiseSuppression":true,"googNoiseSuppression2":true,"googHighpassFilter":true,"deviceId":{"exact":"default"}}}
[INFO] ChimeLogger - API/DefaultDeviceController/startAudioInputDevice "default" -> "success"
[INFO] ChimeLogger - API/DefaultDeviceController/listAudioOutputDevices false -> [{"deviceId":"default","kind":"audiooutput","label":"Padrão - Fones de Ouvido Externos (Built-in)","groupId":"e3ebcd3aff64f0adea623c06d24bf2618c44f28b0a006e2bfa81619ba942f962"},{"deviceId":"afdb86a01c7af6062b7ebdb9a3a6fe82e87283475fb8888fe78450c5c75e66f9","kind":"audiooutput","label":"Fones de Ouvido Externos (Built-in)","groupId":"e3ebcd3aff64f0adea623c06d24bf2618c44f28b0a006e2bfa81619ba942f962"},{"deviceId":"e6c7f994201e66bf92b32073424ef798e2558ef04360fe82f67e920fd086fc2a","kind":"audiooutput","label":"Alto-falantes (MacBook Pro) (Built-in)","groupId":"afa9100cfb4d6e33d8e86f080d370a7ae557362ed75a70dcf6021ec8c180f56d"}]
[INFO] ChimeLogger - API/DefaultAudioVideoFacade/042ee945-9e5a-4695-8cd5-b9a3fa372713/8ee76c72-e0de-8101-c3c7-f49c5bfd9243/listAudioOutputDevices false -> [{"deviceId":"default","kind":"audiooutput","label":"Padrão - Fones de Ouvido Externos (Built-in)","groupId":"e3ebcd3aff64f0adea623c06d24bf2618c44f28b0a006e2bfa81619ba942f962"},{"deviceId":"afdb86a01c7af6062b7ebdb9a3a6fe82e87283475fb8888fe78450c5c75e66f9","kind":"audiooutput","label":"Fones de Ouvido Externos (Built-in)","groupId":"e3ebcd3aff64f0adea623c06d24bf2618c44f28b0a006e2bfa81619ba942f962"},{"deviceId":"e6c7f994201e66bf92b32073424ef798e2558ef04360fe82f67e920fd086fc2a","kind":"audiooutput","label":"Alto-falantes (MacBook Pro) (Built-in)","groupId":"afa9100cfb4d6e33d8e86f080d370a7ae557362ed75a70dcf6021ec8c180f56d"}]
[INFO] ChimeLogger - API/DefaultDeviceController/chooseAudioOutput "default" -> null
[INFO] ChimeLogger - API/DefaultAudioVideoFacade/042ee945-9e5a-4695-8cd5-b9a3fa372713/8ee76c72-e0de-8101-c3c7-f49c5bfd9243/chooseAudioOutput "default"
[INFO] ChimeLogger - adding meeting observer
[INFO] ChimeLogger - API/DefaultAudioVideoFacade/042ee945-9e5a-4695-8cd5-b9a3fa372713/8ee76c72-e0de-8101-c3c7-f49c5bfd9243/addObserver
[INFO] ChimeLogger - transitioning from NotConnected to Connecting with Connect
[INFO] ChimeLogger - Using default transceiver controller
[INFO] ChimeLogger - Needs to wait for attendee presence? false
[INFO] ChimeLogger - running task AudioVideoStart/042ee945-9e5a-4695-8cd5-b9a3fa372713/8ee76c72-e0de-8101-c3c7-f49c5bfd9243
[INFO] ChimeLogger - serial group task AudioVideoStart/042ee945-9e5a-4695-8cd5-b9a3fa372713/8ee76c72-e0de-8101-c3c7-f49c5bfd9243 running subtask AudioVideoStart/042ee945-9e5a-4695-8cd5-b9a3fa372713/8ee76c72-e0de-8101-c3c7-f49c5bfd9243/MonitorTask (once)
[INFO] ChimeLogger - AudioVideoStart/042ee945-9e5a-4695-8cd5-b9a3fa372713/8ee76c72-e0de-8101-c3c7-f49c5bfd9243/MonitorTask waiting for dependencies:
[INFO] ChimeLogger - API/DefaultAudioVideoFacade/042ee945-9e5a-4695-8cd5-b9a3fa372713/8ee76c72-e0de-8101-c3c7-f49c5bfd9243/start
[INFO] ChimeLogger - Update request requires resubscribe
[INFO] ChimeLogger - deferring transition from Connecting with Update
[INFO] ChimeLogger - API/DefaultAudioVideoFacade/042ee945-9e5a-4695-8cd5-b9a3fa372713/8ee76c72-e0de-8101-c3c7-f49c5bfd9243/startLocalVideoTile null -> 1
[INFO] ChimeLogger - API/DefaultAudioVideoFacade/042ee945-9e5a-4695-8cd5-b9a3fa372713/8ee76c72-e0de-8101-c3c7-f49c5bfd9243/realtimeSubscribeToAttendeeIdPresence
[INFO] ChimeLogger - adding meeting observer
[INFO] ChimeLogger - API/DefaultAudioVideoFacade/042ee945-9e5a-4695-8cd5-b9a3fa372713/8ee76c72-e0de-8101-c3c7-f49c5bfd9243/addObserver
[INFO] ChimeLogger - running task AudioVideoStart/042ee945-9e5a-4695-8cd5-b9a3fa372713/8ee76c72-e0de-8101-c3c7-f49c5bfd9243/MonitorTask
[INFO] ChimeLogger - adding meeting observer
[INFO] ChimeLogger - adding a ping-pong observer
[INFO] ChimeLogger - adding meeting observer
[INFO] ChimeLogger - Starting StatsCollector
[INFO] ChimeLogger - API/DefaultAudioVideoFacade/042ee945-9e5a-4695-8cd5-b9a3fa372713/8ee76c72-e0de-8101-c3c7-f49c5bfd9243/getAllVideoTiles
[INFO] ChimeLogger - AudioVideoStart/042ee945-9e5a-4695-8cd5-b9a3fa372713/8ee76c72-e0de-8101-c3c7-f49c5bfd9243/MonitorTask took 2 ms
[INFO] ChimeLogger - serial group task AudioVideoStart/042ee945-9e5a-4695-8cd5-b9a3fa372713/8ee76c72-e0de-8101-c3c7-f49c5bfd9243 completed subtask AudioVideoStart/042ee945-9e5a-4695-8cd5-b9a3fa372713/8ee76c72-e0de-8101-c3c7-f49c5bfd9243/MonitorTask (once)
[INFO] ChimeLogger - serial group task AudioVideoStart/042ee945-9e5a-4695-8cd5-b9a3fa372713/8ee76c72-e0de-8101-c3c7-f49c5bfd9243 running subtask AudioVideoStart/042ee945-9e5a-4695-8cd5-b9a3fa372713/8ee76c72-e0de-8101-c3c7-f49c5bfd9243/Timeout15000ms
[INFO] ChimeLogger - running task AudioVideoStart/042ee945-9e5a-4695-8cd5-b9a3fa372713/8ee76c72-e0de-8101-c3c7-f49c5bfd9243/Timeout15000ms
[INFO] ChimeLogger - running task AudioVideoStart/042ee945-9e5a-4695-8cd5-b9a3fa372713/8ee76c72-e0de-8101-c3c7-f49c5bfd9243/Timeout15000ms/Peer
[INFO] ChimeLogger - serial group task AudioVideoStart/042ee945-9e5a-4695-8cd5-b9a3fa372713/8ee76c72-e0de-8101-c3c7-f49c5bfd9243/Timeout15000ms/Peer running subtask AudioVideoStart/042ee945-9e5a-4695-8cd5-b9a3fa372713/8ee76c72-e0de-8101-c3c7-f49c5bfd9243/Timeout15000ms/Peer/SubscribeAndReceiveSubscribeAckTask (once)
[INFO] ChimeLogger - Signaling waiting for dependencies:
[INFO] ChimeLogger - CreatePeerConnectionTask waiting for dependencies: Signaling (once)
[INFO] ChimeLogger - ReceiveAudioInputTask waiting for dependencies:
[INFO] ChimeLogger - AttachMediaInputTask waiting for dependencies: CreatePeerConnectionTask (once), ReceiveAudioInputTask (once)
[INFO] ChimeLogger - CreateSDPTask waiting for dependencies: AttachMediaInputTask (once)
[INFO] ChimeLogger - SetLocalDescriptionTask waiting for dependencies: CreateSDPTask (once)
[INFO] ChimeLogger - FinishGatheringICECandidatesTask waiting for dependencies: SetLocalDescriptionTask (once)
[INFO] ChimeLogger - AudioVideoStart/042ee945-9e5a-4695-8cd5-b9a3fa372713/8ee76c72-e0de-8101-c3c7-f49c5bfd9243/Timeout15000ms/Peer/SubscribeAndReceiveSubscribeAckTask waiting for dependencies: FinishGatheringICECandidatesTask (once)
[INFO] ChimeLogger - running task Signaling
[INFO] ChimeLogger - serial group task Signaling running subtask Signaling/Timeout15000ms (once)
[INFO] ChimeLogger - Signaling/Timeout15000ms waiting for dependencies:
[INFO] ChimeLogger - running task ReceiveAudioInputTask
[INFO] ChimeLogger - running task Signaling/Timeout15000ms
[INFO] ChimeLogger - running task Signaling/Timeout15000ms/OpenSignalingConnectionTask
[INFO] ChimeLogger - adding connection request to queue: wss://signal.m3.ue1.app.chime.aws/control/042ee945-9e5a-4695-8cd5-b9a3fa372713?X-Chime-Control-Protocol-Version=3&X-Amzn-Chime-Send-Close-On-Error=1
[INFO] ChimeLogger - no existing signaling client connection needs closing
[INFO] ChimeLogger - opening connection to wss://signal.m3.ue1.app.chime.aws/control/042ee945-9e5a-4695-8cd5-b9a3fa372713?X-Chime-Control-Protocol-Version=3&X-Amzn-Chime-Send-Close-On-Error=1
[INFO] ChimeLogger - notifying event: WebSocketConnecting
[INFO] ChimeLogger - ReceiveAudioInputTask took 4 ms
[INFO] ChimeLogger - Receive an audio output change event
[INFO] ChimeLogger - notifying event: WebSocketOpen
[INFO] ChimeLogger - Opening signaling connection took 503 ms
[INFO] ChimeLogger - Signaling/Timeout15000ms/OpenSignalingConnectionTask took 506 ms
[INFO] ChimeLogger - timeout task Signaling/Timeout15000ms completed
[INFO] ChimeLogger - Signaling/Timeout15000ms took 506 ms
[INFO] ChimeLogger - serial group task Signaling completed subtask Signaling/Timeout15000ms (once)
[INFO] ChimeLogger - serial group task Signaling running subtask Signaling/ListenForVolumeIndicatorsTask
[INFO] ChimeLogger - running task Signaling/ListenForVolumeIndicatorsTask
[INFO] ChimeLogger - Signaling/ListenForVolumeIndicatorsTask took 0 ms
[INFO] ChimeLogger - serial group task Signaling completed subtask Signaling/ListenForVolumeIndicatorsTask
[INFO] ChimeLogger - serial group task Signaling running subtask Signaling/SendAndReceiveDataMessagesTask
[INFO] ChimeLogger - running task Signaling/SendAndReceiveDataMessagesTask
[INFO] ChimeLogger - Signaling/SendAndReceiveDataMessagesTask took 0 ms
[INFO] ChimeLogger - serial group task Signaling completed subtask Signaling/SendAndReceiveDataMessagesTask
[INFO] ChimeLogger - serial group task Signaling running subtask Signaling/JoinAndReceiveIndexTask
[INFO] ChimeLogger - running task Signaling/JoinAndReceiveIndexTask
[INFO] ChimeLogger - sending join
[INFO] ChimeLogger - local clock skew estimate=-251ms from ping-pong time=161ms
[INFO] ChimeLogger - received first index {"atCapacity":false,"numParticipants":1,"supportedReceiveCodecIntersection":["H264_CONSTRAINED_BASELINE_PROFILE","VP8"]}
[INFO] ChimeLogger - Signaling/JoinAndReceiveIndexTask took 163 ms
[INFO] ChimeLogger - serial group task Signaling completed subtask Signaling/JoinAndReceiveIndexTask
[INFO] ChimeLogger - serial group task Signaling running subtask Signaling/ReceiveTURNCredentialsTask
[INFO] ChimeLogger - running task Signaling/ReceiveTURNCredentialsTask
[INFO] ChimeLogger - TURN credentials available, skipping credentials fetch
[INFO] ChimeLogger - Signaling/ReceiveTURNCredentialsTask took 0 ms
[INFO] ChimeLogger - serial group task Signaling completed subtask Signaling/ReceiveTURNCredentialsTask
[INFO] ChimeLogger - serial group task Signaling running subtask Signaling/ReceiveVideoStreamIndexTask
[INFO] ChimeLogger - running task Signaling/ReceiveVideoStreamIndexTask
[INFO] ChimeLogger - Index ingestion is paused, setting most recent index as pending
[INFO] ChimeLogger - Signaling/ReceiveVideoStreamIndexTask took 0 ms
[INFO] ChimeLogger - serial group task Signaling completed subtask Signaling/ReceiveVideoStreamIndexTask
[INFO] ChimeLogger - serial group task Signaling completed
[INFO] ChimeLogger - Signaling took 674 ms
[INFO] ChimeLogger - running task CreatePeerConnectionTask
[INFO] ChimeLogger - creating new peer connection
[INFO] ChimeLogger - CreatePeerConnectionTask took 2 ms
[INFO] ChimeLogger - running task AttachMediaInputTask
[INFO] ChimeLogger - [AudioRed] Supports encoded insertable streams using TransformStream
[INFO] ChimeLogger - serial group task AudioVideoStart/042ee945-9e5a-4695-8cd5-b9a3fa372713/8ee76c72-e0de-8101-c3c7-f49c5bfd9243/Timeout15000ms/Peer was canceled due to subtask AudioVideoStart/042ee945-9e5a-4695-8cd5-b9a3fa372713/8ee76c72-e0de-8101-c3c7-f49c5bfd9243/Timeout15000ms/Peer/SubscribeAndReceiveSubscribeAckTask (once) error: Cannot read properties of null (reading '1')
[INFO] ChimeLogger - serial group task AudioVideoStart/042ee945-9e5a-4695-8cd5-b9a3fa372713/8ee76c72-e0de-8101-c3c7-f49c5bfd9243 was canceled due to subtask AudioVideoStart/042ee945-9e5a-4695-8cd5-b9a3fa372713/8ee76c72-e0de-8101-c3c7-f49c5bfd9243/Timeout15000ms error: serial group task AudioVideoStart/042ee945-9e5a-4695-8cd5-b9a3fa372713/8ee76c72-e0de-8101-c3c7-f49c5bfd9243/Timeout15000ms/Peer was canceled due to subtask AudioVideoStart/042ee945-9e5a-4695-8cd5-b9a3fa372713/8ee76c72-e0de-8101-c3c7-f49c5bfd9243/Timeout15000ms/Peer/SubscribeAndReceiveSubscribeAckTask (once) error: Cannot read properties of null (reading '1')
[INFO] ChimeLogger - Start failed: The connection failed. See the error message for more details. due to error Error: serial group task AudioVideoStart/042ee945-9e5a-4695-8cd5-b9a3fa372713/8ee76c72-e0de-8101-c3c7-f49c5bfd9243 was canceled due to subtask AudioVideoStart/042ee945-9e5a-4695-8cd5-b9a3fa372713/8ee76c72-e0de-8101-c3c7-f49c5bfd9243/Timeout15000ms error: serial group task AudioVideoStart/042ee945-9e5a-4695-8cd5-b9a3fa372713/8ee76c72-e0de-8101-c3c7-f49c5bfd9243/Timeout15000ms/Peer was canceled due to subtask AudioVideoStart/042ee945-9e5a-4695-8cd5-b9a3fa372713/8ee76c72-e0de-8101-c3c7-f49c5bfd9243/Timeout15000ms/Peer/SubscribeAndReceiveSubscribeAckTask (once) error: Cannot read properties of null (reading '1').
[INFO] ChimeLogger - transitioning from Connecting to Disconnecting with Fail
[INFO] ChimeLogger - running task AudioVideoStop/042ee945-9e5a-4695-8cd5-b9a3fa372713/8ee76c72-e0de-8101-c3c7-f49c5bfd9243
[INFO] ChimeLogger - serial group task AudioVideoStop/042ee945-9e5a-4695-8cd5-b9a3fa372713/8ee76c72-e0de-8101-c3c7-f49c5bfd9243 running subtask AudioVideoStop/042ee945-9e5a-4695-8cd5-b9a3fa372713/8ee76c72-e0de-8101-c3c7-f49c5bfd9243/Timeout15000ms
[INFO] ChimeLogger - running task AudioVideoStop/042ee945-9e5a-4695-8cd5-b9a3fa372713/8ee76c72-e0de-8101-c3c7-f49c5bfd9243/Timeout15000ms
[INFO] ChimeLogger - running task AudioVideoStop/042ee945-9e5a-4695-8cd5-b9a3fa372713/8ee76c72-e0de-8101-c3c7-f49c5bfd9243/Timeout15000ms/LeaveAndReceiveLeaveAckTask
[INFO] ChimeLogger - sent leave
[INFO] ChimeLogger - performing deferred action Update
[WARN] ChimeLogger - no transition found from Disconnecting with Update
[INFO] ChimeLogger - unable to perform deferred action Update in state Disconnecting
[INFO] ChimeLogger - start completed
[INFO] ChimeLogger - peer connection negotiation is needed
[INFO] ChimeLogger - got leave ack
[INFO] ChimeLogger - AudioVideoStop/042ee945-9e5a-4695-8cd5-b9a3fa372713/8ee76c72-e0de-8101-c3c7-f49c5bfd9243/Timeout15000ms/LeaveAndReceiveLeaveAckTask took 161 ms
[INFO] ChimeLogger - timeout task AudioVideoStop/042ee945-9e5a-4695-8cd5-b9a3fa372713/8ee76c72-e0de-8101-c3c7-f49c5bfd9243/Timeout15000ms completed
[INFO] ChimeLogger - AudioVideoStop/042ee945-9e5a-4695-8cd5-b9a3fa372713/8ee76c72-e0de-8101-c3c7-f49c5bfd9243/Timeout15000ms took 162 ms
[INFO] ChimeLogger - serial group task AudioVideoStop/042ee945-9e5a-4695-8cd5-b9a3fa372713/8ee76c72-e0de-8101-c3c7-f49c5bfd9243 completed subtask AudioVideoStop/042ee945-9e5a-4695-8cd5-b9a3fa372713/8ee76c72-e0de-8101-c3c7-f49c5bfd9243/Timeout15000ms
[INFO] ChimeLogger - serial group task AudioVideoStop/042ee945-9e5a-4695-8cd5-b9a3fa372713/8ee76c72-e0de-8101-c3c7-f49c5bfd9243 completed
[INFO] ChimeLogger - AudioVideoStop/042ee945-9e5a-4695-8cd5-b9a3fa372713/8ee76c72-e0de-8101-c3c7-f49c5bfd9243 took 162 ms
[INFO] ChimeLogger - running task AudioVideoClean/042ee945-9e5a-4695-8cd5-b9a3fa372713/8ee76c72-e0de-8101-c3c7-f49c5bfd9243
[INFO] ChimeLogger - serial group task AudioVideoClean/042ee945-9e5a-4695-8cd5-b9a3fa372713/8ee76c72-e0de-8101-c3c7-f49c5bfd9243 running subtask AudioVideoClean/042ee945-9e5a-4695-8cd5-b9a3fa372713/8ee76c72-e0de-8101-c3c7-f49c5bfd9243/Timeout15000ms
[INFO] ChimeLogger - running task AudioVideoClean/042ee945-9e5a-4695-8cd5-b9a3fa372713/8ee76c72-e0de-8101-c3c7-f49c5bfd9243/Timeout15000ms
[INFO] ChimeLogger - running task AudioVideoClean/042ee945-9e5a-4695-8cd5-b9a3fa372713/8ee76c72-e0de-8101-c3c7-f49c5bfd9243/Timeout15000ms/CleanStoppedSessionTask
[INFO] ChimeLogger - notifying event: WebSocketClosing
[INFO] ChimeLogger - stopped pinging (WebSocketClosing)
[INFO] ChimeLogger - Resubscribe check is paused, setting incoming client metric report as pending
[INFO] ChimeLogger - notifying event: WebSocketClosed, code: 1005 reason:
[INFO] ChimeLogger - stopped pinging (WebSocketClosed)
[INFO] ChimeLogger - no connection requests to service
[INFO] ChimeLogger - removing meeting observer
[INFO] ChimeLogger - Stopping StatsCollector
[INFO] ChimeLogger - removing a ping-pong observer
[INFO] ChimeLogger - removing meeting observer
[INFO] ChimeLogger - API/DefaultAudioVideoFacade/042ee945-9e5a-4695-8cd5-b9a3fa372713/8ee76c72-e0de-8101-c3c7-f49c5bfd9243/getAllVideoTiles
[INFO] ChimeLogger - AudioVideoClean/042ee945-9e5a-4695-8cd5-b9a3fa372713/8ee76c72-e0de-8101-c3c7-f49c5bfd9243/Timeout15000ms/CleanStoppedSessionTask took 163 ms
[INFO] ChimeLogger - timeout task AudioVideoClean/042ee945-9e5a-4695-8cd5-b9a3fa372713/8ee76c72-e0de-8101-c3c7-f49c5bfd9243/Timeout15000ms completed
[INFO] ChimeLogger - AudioVideoClean/042ee945-9e5a-4695-8cd5-b9a3fa372713/8ee76c72-e0de-8101-c3c7-f49c5bfd9243/Timeout15000ms took 164 ms
[INFO] ChimeLogger - serial group task AudioVideoClean/042ee945-9e5a-4695-8cd5-b9a3fa372713/8ee76c72-e0de-8101-c3c7-f49c5bfd9243 completed subtask AudioVideoClean/042ee945-9e5a-4695-8cd5-b9a3fa372713/8ee76c72-e0de-8101-c3c7-f49c5bfd9243/Timeout15000ms
[INFO] ChimeLogger - serial group task AudioVideoClean/042ee945-9e5a-4695-8cd5-b9a3fa372713/8ee76c72-e0de-8101-c3c7-f49c5bfd9243 completed
[INFO] ChimeLogger - AudioVideoClean/042ee945-9e5a-4695-8cd5-b9a3fa372713/8ee76c72-e0de-8101-c3c7-f49c5bfd9243 took 165 ms
[INFO] ChimeLogger - transitioning from Disconnecting to NotConnected with FinishDisconnecting
[INFO] ChimeLogger - handling status: TaskFailed
[WARN] ChimeLogger - The audio video controller will reconnect due to status code TaskFailed and error: serial group task AudioVideoStart/042ee945-9e5a-4695-8cd5-b9a3fa372713/8ee76c72-e0de-8101-c3c7-f49c5bfd9243 was canceled due to subtask AudioVideoStart/042ee945-9e5a-4695-8cd5-b9a3fa372713/8ee76c72-e0de-8101-c3c7-f49c5bfd9243/Timeout15000ms error: serial group task AudioVideoStart/042ee945-9e5a-4695-8cd5-b9a3fa372713/8ee76c72-e0de-8101-c3c7-f49c5bfd9243/Timeout15000ms/Peer was canceled due to subtask AudioVideoStart/042ee945-9e5a-4695-8cd5-b9a3fa372713/8ee76c72-e0de-8101-c3c7-f49c5bfd9243/Timeout15000ms/Peer/SubscribeAndReceiveSubscribeAckTask (once) error: Cannot read properties of null (reading '1')
About this issue
- Original URL
- State: closed
- Created 9 months ago
- Reactions: 2
- Comments: 26 (15 by maintainers)
Commits related to this issue
- Avoid use of regex to create RED worker code Now, the RED worker code will all come bundled together in a single blob that only needs to be passed to the worker, which will avoid the use of parsing t... — committed to aws/amazon-chime-sdk-js by dinmin-amzn 9 months ago
- Avoid use of regex to create RED worker code Now, the RED worker code will all come bundled together in a single blob that only needs to be passed to the worker, which will avoid the use of parsing t... — committed to aws/amazon-chime-sdk-js by dinmin-amzn 9 months ago
- Avoid use of regex to create RED worker code Now, the RED worker code will all come bundled together in a single blob that only needs to be passed to the worker, which will avoid the use of parsing t... — committed to aws/amazon-chime-sdk-js by dinmin-amzn 9 months ago
- Save the redundant audio worker code during build time so that the worker code stays intact and is able to be loaded The redundant audio worker code string may vary based on the build system of diffe... — committed to aws/amazon-chime-sdk-js by dinmin-amzn 9 months ago
- Save the redundant audio worker code during build time so that the worker code stays intact and is able to be loaded The redundant audio worker code string may vary based on the build system of diffe... — committed to aws/amazon-chime-sdk-js by dinmin-amzn 9 months ago
- Save the redundant audio worker code during build time so that the worker code stays intact and is able to be loaded The redundant audio worker code string may vary based on the build system of diffe... — committed to aws/amazon-chime-sdk-js by dinmin-amzn 9 months ago
- Save the redundant audio worker code during build time so that the worker code stays intact and is able to be loaded The redundant audio worker code string may vary based on the build system of diffe... — committed to aws/amazon-chime-sdk-js by dinmin-amzn 9 months ago
- Save the redundant audio worker code during build time so that the worker code stays intact and is able to be loaded The redundant audio worker code string may vary based on the build system of diffe... — committed to aws/amazon-chime-sdk-js by dinmin-amzn 9 months ago
- Save the redundant audio worker code during build time so that the worker code stays intact and is able to be loaded The redundant audio worker code string may vary based on the build system of diffe... — committed to aws/amazon-chime-sdk-js by dinmin-amzn 9 months ago
- Save the redundant audio worker code during build time so that the worker code stays intact and is able to be loaded The redundant audio worker code string may vary based on the build system of diffe... — committed to aws/amazon-chime-sdk-js by dinmin-amzn 9 months ago
- Save the redundant audio worker code during build time so that the worker code stays intact and is able to be loaded (#2772) The redundant audio worker code string may vary based on the build system ... — committed to aws/amazon-chime-sdk-js by dinmin-amzn 9 months ago
- Save the redundant audio worker code during build time so that the worker code stays intact and is able to be loaded (#2772) The redundant audio worker code string may vary based on the build system ... — committed to aws/amazon-chime-sdk-js by dinmin-amzn 9 months ago
We are still working on a fix for this issue as it seems that the current fix attempt is still not working.
However, for anybody that is currently blocked by this issue, here is a quick fix. The issue is caused by logic in our new Audio Redundancy feature that was released in 3.18.0, but this feature can be disabled anytime before
meetingSession.audioVideo.start()
is called to prevent encountering this failure. The steps to disable Audio Redundancy can be found here under the Use case 35. Redundant Audio section. To disable Audio Redundancy, just callanytime before
meetingSession.audioVideo.start()
.@dinmin-amzn Yes
This logs are from the other project that was not working I manage to fix the issue, it was a dependecy conflict 😃
I’m getting the same issue on
Chrome 117.0.5938.149
(Windows 11). If it adds any meaningful info, this started for me on v3.18.0 of the SDK.For me the Audio Video controller seems to try to get started a few times and then just fails.
@maisasb @liydaco We have released a new version 3.18.2 to NPM that includes the fix for this issue. Version 3.18.1 is now deprecated, so please update to 3.18.2 and let us know if the issue has been resolved.
@maisasb Thank you again for sending those logs. Glad you were able to fix the dependency issue in the main project!
@maisasb Is it possible for you to send a link to the repo/branch that you are currently using to test this issue? The discrepancy seems to lie in the different build systems used for your project and our project and I’d like to be able to test the build in your project more reliably.
@ltrung I did a link with the branch that you ask in my project, but I got the following error
RedundantAudioEncoder.initializeWorker is not a function
@maisasb We have a potential fix for this issue in #2772 . Can you pull that branch and verify that it fixes your issue?
This seems to be where it throws the error https://github.com/aws/amazon-chime-sdk-js/blob/12418f35fe9abb6c5e997343f62126cdcaf31671/src/transceivercontroller/DefaultTransceiverController.ts#L499. If you could put a breakpoint in that line, could you let us know what would be the return for
redWorkerCode
?