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

Section 4.4.2: createOffer() and setLocalDescription() resource handling #2835

Open
aboba opened this issue Mar 9, 2023 · 2 comments
Open
Assignees

Comments

@aboba
Copy link
Contributor

aboba commented Mar 9, 2023

Section 4.4.2 says:

"If a system has limited resources (e.g. a finite number of decoders), createOffer needs to return an offer that reflects the current state of the system, so that setLocalDescription will succeed when it attempts to acquire those resources. The session descriptions MUST remain usable by setLocalDescription without causing an error until at least the end of the fulfillment callback of the returned promise."

[BA] My understanding is that existing implementations do not provide this guarantee. Do we need to change the text?

@youennf
Copy link
Contributor

youennf commented Mar 9, 2023

My understanding is that implementations guarantee the setlocalDescription will succeed because UA will not really acquire these resources at this time.
Given the resources allocation is racy and might actually happen way after setLocalDescription, it makes sense to me to remove the mention of resource acquisition.

@dontcallmedom-bot
Copy link

dontcallmedom-bot commented Mar 29, 2023

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

No branches or pull requests

5 participants
@aboba @youennf @henbos @dontcallmedom-bot and others