-
Notifications
You must be signed in to change notification settings - Fork 18
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
feat: set/create events #71
Conversation
I think we should consider here what the native events look like and think about being consistent: the real events don't fire an event with the SDP on |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Just one small comment on the unit tests.
Also, for completeness, maybe we should add an event for createAnswerOnSuccess
too. We don't use that API much but we might as well add it while we're working on these other events.
Let's also update the PR description to reflect your recent changes, in case we want to refer back to this PR in the future.
# [2.5.0](v2.4.0...v2.5.0) (2024-02-14) ### Features * set/create events ([#71](#71)) ([92e01d9](92e01d9))
Added events that will be called on success operations on offer/answer/description
This includes
CreateOfferOnSuccess
- whencreateOffer
succeededCreateAnswerOnSuccess
- whencreateAnswer
succeededSetLocalDescriptionOnSuccess
- whensetLocalDescription
succeededSetRemoteDescriptionOnSuccess
- whensetRemoteDescription
succeeded