Log ICE candidates when closing the peer connection. (#2105)

There are cases that experience the signalling channel timeout
and disconnect and there are no logs of what the state of ICE at all.
Log ICE candidates when closing transport so that there is some
visibility in those cases.
n
This commit is contained in:
Raja Subramanian authored and GitHub committed 2023-09-26 13:21:08 +05:30
1 parent 4f9467040e
commit 789a2bd390
1 file changed
+1
+1
View File
@@ -1443,6 +1443,7 @@ func (t *PCTransport) processEvents() {
t.clearSignalStateCheckTimer()
t.params.Logger.Debugw("leaving events processor")
t.handleLogICECandidates(nil)
}
func (t *PCTransport) handleEvent(e *event) error {