Commit b7ba473
authored
fix: ensure audio-only streams trigger onStreamReady (yondonfu#206)
During recent changes in yondonfu#38, the audio-only ability was broken because
handleCanvasStreamReady (which calls onStreamReady) is not called when the user
only supplies audio. This commit ensures that in the audio-only case, onStreamReady
is called directly, so localStream is set and offer negotiation is started.1 parent 83796b0 commit b7ba473
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
336 | 336 | | |
337 | 337 | | |
338 | 338 | | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
339 | 346 | | |
340 | 347 | | |
341 | 348 | | |
| |||
0 commit comments