fonoster/goodtok

[BUG]: Fail to switch call modes in Goodtok

psanders opened this issue · 1 comments

What happened?

Goodtok fails to properly switch between media modes during calls. Regardless of the initial media agreement (voice or video), users cannot switch to a voice-only mode after starting in video mode; the camera indicator erroneously remains active. Similarly, if the call begins with voice-only, an attempt to switch to video mode does not activate the video feed.

Steps to reproduce

  1. Start a video call using [Application Name]
  2. Attempt to stop the video feed
  3. Observe that the camera indicator remains active
  4. End the call.
  5. Initiate a voice-only call.
  6. Attempt to switch to video mode during the call.
  7. Note the failure of the application to send a video feed.

Expected behavior

The application should allow users to switch between video and voice-only modes fluidly during a call. When switching from video to voice-only, the camera indicator should deactivate to reflect the privacy status accurately. Similarly, switching from voice-only to video should activate the video feed without issues.

Additional context

No response

Closing since the project was migrated from SIP.js + Routr to PeerJS, and this is no longer applicable.