Remove STUN candidates, disconnect clients on ICE failed
This commit is contained in:
@@ -54,7 +54,7 @@ func TestICEStateChange(t *testing.T) {
|
||||
p.onClose = func(participant types.Participant) {
|
||||
close(closeChan)
|
||||
}
|
||||
p.handlePublisherICEStateChange(webrtc.ICEConnectionStateDisconnected)
|
||||
p.handlePublisherICEStateChange(webrtc.ICEConnectionStateFailed)
|
||||
|
||||
select {
|
||||
case <-closeChan:
|
||||
|
||||
Reference in New Issue
Block a user