-
Notifications
You must be signed in to change notification settings - Fork 69
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
Add missing createSIPParticipant params #337
Add missing createSIPParticipant params #337
Conversation
🦋 Changeset detectedLatest commit: 45a9390 The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Added a change set as I assume there will be a minor version bump with this change. Feel free to take over the PR as a maintainer or ping me if I can help with something. |
Pinging @dennwc for review as I saw you reviewed another SIP PR. Hope not the wrong reviewer 🙏🏽 |
ringingTimeout: new Duration({ seconds: BigInt(ringingTimeout) }), | ||
maxCallDuration: new Duration({ seconds: BigInt(maxCallDuration) }), |
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.
when it's not passed in, we should leave these as undefined
instead of set to 0. this way the server is able to pick sane defaults, versus having different defaults from each client
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.
@davidzhao thanks for the review, defaulted the 3 new params to be undefined if not specified
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.
thanks for the PR!
The following params exist in the Go SDK but not in the node SDK:
They were added last month to the protocol: livekit/protocol@19b686d
Tested in my local project to work correctly.