Add support for WHIP ICE Trickle/Restart. (#3596)

* Add support for WHIP ICE Trickle/Restart.

Tested a bit using the WHIP client at https://github.com/Eyevinn/whip,
but needs a lot more testing. ICERestart is not tested yet.

* comment

* clean up
This commit is contained in:
Raja Subramanian
2025-04-09 00:20:58 +05:30
committed by GitHub
parent ec2dff96a3
commit 35ac5f561a
7 changed files with 440 additions and 19 deletions
+1 -5
View File
@@ -903,11 +903,7 @@ func (p *ParticipantImpl) HandleOffer(offer webrtc.SessionDescription) error {
}
offer = p.setCodecPreferencesForPublisher(offer)
err := p.TransportManager.HandleOffer(offer, shouldPend)
if p.params.UseOneShotSignallingMode {
p.updateState(livekit.ParticipantInfo_ACTIVE)
}
return err
return p.TransportManager.HandleOffer(offer, shouldPend)
}
func (p *ParticipantImpl) onPublisherAnswer(answer webrtc.SessionDescription) error {