Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot setParameters on RTCRtpSender during a meeting #2947

Open
4 tasks done
kuentinozaure opened this issue Sep 9, 2024 · 0 comments
Open
4 tasks done

Cannot setParameters on RTCRtpSender during a meeting #2947

kuentinozaure opened this issue Sep 9, 2024 · 0 comments

Comments

@kuentinozaure
Copy link

kuentinozaure commented Sep 9, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant