Skip to content

Conversation

@nab-os
Copy link

@nab-os nab-os commented Dec 3, 2025

Allowing post-offer ice negotiation via Trickle ICE

Tested on a local setup with meetecho/simple-whip-client

@Sean-Der
Copy link
Collaborator

Sean-Der commented Dec 5, 2025

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
Copy link
Collaborator

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

Copy link
Author

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 ?

@nab-os
Copy link
Author

nab-os commented Dec 5, 2025

I'll let you work out the frontend if you are willing to do it.

@nab-os
Copy link
Author

nab-os commented Dec 5, 2025

Oh, I must update the tests too

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants