Update go2rtc candidates processing

This commit is contained in:
Alexey Khit
2023-03-04 06:25:30 +03:00
parent d805d560b9
commit 9ab9412c95
7 changed files with 49 additions and 28 deletions
-4
View File
@@ -111,10 +111,6 @@ func asyncHandler(tr *api.Transport, msg *api.Message) error {
}
case *pion.ICECandidate:
if msg == nil {
return
}
sendAnswer.Wait()
s := msg.ToJSON().Candidate