-
Notifications
You must be signed in to change notification settings - Fork 129
Trickle ICE #456
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
base: main
Are you sure you want to change the base?
Trickle ICE #456
Conversation
ac2cd53 to
b968bf8
Compare
|
Nice this LGTM @nab-os! I am going to add support in frontend (unless you have interest/time to do it yourself!) Thanks for doing this :) |
| streamMapLock sync.Mutex | ||
| apiWhip, apiWhep *webrtc.API | ||
| streamMap map[string]*stream | ||
| peerConnectionMap map[string]*webrtc.PeerConnection |
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.
Do we need peerConnectionMap
Would it be possible to walk the existing streamMap? I am worried duplicated state will lead to bugs
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.
Yes we need it, but I think we could extract the stream from the peerConnection.
I'm gonna look into having only one map but maybe it's out of scope for the PR ?
|
I'll let you work out the frontend if you are willing to do it. |
|
Oh, I must update the tests too |
Allowing post-offer ice negotiation via Trickle ICE
Tested on a local setup with meetecho/simple-whip-client