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

simulcast example: remove signalling offer handling #2636

Closed
wants to merge 1 commit into from

Conversation

fippo
Copy link
Contributor

@fippo fippo commented Mar 22, 2021

which does not apply to this example


Preview | Diff

which does not apply to this example
@w3cbot
Copy link

w3cbot commented Mar 22, 2021

dontcallmedom marked as non substantive for IPR from ash-nazg.

Comment on lines -16281 to -16285
// if we got an offer, we need to reply with an answer
if (description.type == 'offer') {
await pc.setLocalDescription();
signaling.send({description: pc.localDescription});
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The conferencing server may send an offer to receive simulcast. So applications may need to handle this.

Also, to handle renegotiation for stuff I don't think we should customize the negotiation handling code.

I vote against merging this.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could add something to the comment:

// if we got an offer, we need to reply with an answer. This might
// happen e.g. if a server later wants to send media back to the client.

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

Successfully merging this pull request may close these issues.

None yet

5 participants