Not asking for camera permission on a video call if camera is not turned on

[Problem/Question]

I am building an assymetric call feature where the person calling does not have their camera on by default, the person receiving may have their camera on. The caller can then later turn on their camera if they choose.

Right now using the javascript SDK, the browser prompts the user for camera permission as soon as the call is triggered even if the camera is not turned on. How can we defer this until the camera is turned on?


// If problem, please fill out the below. If question, please delete.
[SDK Version]
// What version of the SDK are you using?

[Reproduction Steps]
// Please provide reproduction steps and, if possible, code snippets.

[Frequency]
// How frequently is this issue occurring?

[Current impact]
// How is this currently impacting your implementation?