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

Unable to downgrade call form Video call to Audio call #1076

Open
MuneebAhmed568 opened this issue Mar 25, 2024 · 0 comments
Open

Unable to downgrade call form Video call to Audio call #1076

MuneebAhmed568 opened this issue Mar 25, 2024 · 0 comments

Comments

@MuneebAhmed568
Copy link

File => /src/platform/web/session-description-handler/session-description-handler.ts

protected getLocalMediaStream(options?: SessionDescriptionHandlerOptions): Promise {
// ignore constraint "downgrades"
constraints.audio = constraints.audio || this.localMediaStreamConstraints.audio;
constraints.video = constraints.video || this.localMediaStreamConstraints.video;
}

Can you Explain why the developer doesn't allow to downgrade a call from Video to audio call

I SOLVED THIS ISSUE BY THIS

protected getLocalMediaStream(options?: SessionDescriptionHandlerOptions): Promise {
// ignore constraint "downgrades"
constraints.audio = constraints.audio;
constraints.video = constraints.video;
}

is this a security issue????

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