Code refactoring

Code refactoring
This commit is contained in:
Alexey Khit
2023-03-01 18:03:11 +03:00
parent c70c3a58f1
commit c2cdf60ffc
7 changed files with 34 additions and 17 deletions
+6
View File
@@ -0,0 +1,6 @@
## Userful links
- https://www.ietf.org/archive/id/draft-ietf-wish-whip-01.html
- https://www.ietf.org/id/draft-murillo-whep-01.html
- https://github.com/Glimesh/broadcast-box/
- https://github.com/obsproject/obs-studio/pull/7926
+1 -1
View File
@@ -61,7 +61,7 @@ func asyncCandidates(tr *api.Transport, cons *webrtc.Conn) {
if candidates, ok := ctx["candidate"].([]string); ok {
// process candidates that receive before this moment
for _, candidate := range candidates {
cons.AddCandidate(candidate)
_ = cons.AddCandidate(candidate)
}
// remove already processed candidates