Commit 1a0ff3c
authored
fix: remove main thread blocking from WebRTC peer connection setup
- Remove @mainactor from setLocalDescription and setRemoteDescription
- Remove duplicate HasRemoteDescription event from setRemoteDescription
- Fixes ~1s UI freeze when joining calls after app launch1 parent 05690c0 commit 1a0ff3c
File tree
1 file changed
+0
-3
lines changed- Sources/StreamVideo/WebRTC/v2/PeerConnection
1 file changed
+0
-3
lines changedLines changed: 0 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
76 | 75 | | |
77 | 76 | | |
78 | 77 | | |
| |||
98 | 97 | | |
99 | 98 | | |
100 | 99 | | |
101 | | - | |
102 | 100 | | |
103 | 101 | | |
104 | 102 | | |
| |||
114 | 112 | | |
115 | 113 | | |
116 | 114 | | |
117 | | - | |
118 | 115 | | |
119 | 116 | | |
120 | 117 | | |
| |||
0 commit comments