Skip to content

Cannot setParameters on RTCRtpSender during a meeting #2947

@kuentinozaure

Description

@kuentinozaure

What happened and what did you expect to happen?

Context

I've a web application running on different browser (safari / chrome / opera)
The users can share content and do some realtime work on a pdf.
I ve two type of user:

  • Host
  • Participant.

Host

The host can manage the meeting, un/mute mic, toggle on /off the participant camera.

Participant

Can interact with the pdf element and un/mute his mic and toggle his camera.

Error

=> The error appears randomly (in 3 months it only appeared about ten times)

For some reason, when my host try to change the status of mic / camera and sending with the realtimeSendDataMessage, the sdk return me an error in my browser console.

Uncaught (in promise): InvalidStateError: Failed to execute 'setParameters' on 'RTCRtpSender': Failed to set parameters since getParameters() has never been called on this sender

After this error happens, the mic / camera status cannot be changed

Have you reviewed our existing documentation?

Reproduction steps

  • create a meeting
  • Try to toggle mic with realtimeMuteLocalAudio() or realtimeUnmuteLocalAudio()
  • Try to toggle camera with startLocalVideoTile() or stopLocalVideoTile()
  • Send the value of the mic / camera with the realtimeSendDataMessage
    -> The error should appears

Amazon Chime SDK for JavaScript version

3.18.2

What browsers are you seeing the problem on?

Chrome

Browser version

128.0.0

Meeting and Attendee ID Information.

No response

Browser console logs

Uncaught (in promise): InvalidStateError: Failed to execute 'setParameters' on 'RTCRtpSender': Failed to set parameters since getParameters() has never been called on this sender

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't workingTriagedvideoIssues related to quality of the video stream - blurry, jerky, freezes, black screens or unable to s

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions