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:
@@ -462,6 +462,18 @@ func (t *TransportManager) GetAnswer() (webrtc.SessionDescription, error) {
|
||||
return answer, err
|
||||
}
|
||||
|
||||
func (t *TransportManager) GetPublisherICESessionUfrag() (string, error) {
|
||||
return t.publisher.GetICESessionUfrag()
|
||||
}
|
||||
|
||||
func (t *TransportManager) HandleICETrickleSDPFragment(sdpFragment string) error {
|
||||
return t.publisher.HandleICETrickleSDPFragment(sdpFragment)
|
||||
}
|
||||
|
||||
func (t *TransportManager) HandleICERestartSDPFragment(sdpFragment string) (string, error) {
|
||||
return t.publisher.HandleICERestartSDPFragment(sdpFragment)
|
||||
}
|
||||
|
||||
func (t *TransportManager) ProcessPendingPublisherOffer() {
|
||||
t.lock.Lock()
|
||||
pendingOffer := t.pendingOfferPublisher
|
||||
|
||||
Reference in New Issue
Block a user