Skip to content

Trickle ICE#456

Merged
Sean-Der merged 1 commit intoGlimesh:mainfrom
nab-os:trickle_ice_wip
Jan 24, 2026
Merged

Trickle ICE#456
Sean-Der merged 1 commit intoGlimesh:mainfrom
nab-os:trickle_ice_wip

Conversation

@nab-os
Copy link
Copy Markdown

@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
Copy Markdown
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 :)

Comment thread internal/webrtc/webrtc.go Outdated
streamMapLock sync.Mutex
apiWhip, apiWhep *webrtc.API
streamMap map[string]*stream
peerConnectionMap map[string]*webrtc.PeerConnection
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Author

nab-os commented Dec 5, 2025

Oh, I must update the tests too

@Sean-Der Sean-Der force-pushed the trickle_ice_wip branch 3 times, most recently from e7156e5 to 65d2652 Compare January 24, 2026 03:30
Co-authored-by: Nabos <2191596-nabos@users.noreply.gitlab.com>
@Sean-Der Sean-Der merged commit b0425fe into Glimesh:main Jan 24, 2026
2 checks passed
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