Commit 80baf65
fix(JitsiConference): handles mute state updates arriving before track creation (jitsi#2956)
* feat(JitsiParticipant): Add participant-level mute state change events
Adds TRACK_AUDIO_MUTED_CHANGED and TRACK_VIDEO_MUTED_CHANGED events that emit when a participant's aggregate mute state changes. A participant is considered unmuted
if ANY source for that media type is unmuted.
Also fixes bug where sources weren't added when media type map didn't exist.
* fix(JitsiConference): Emit TRACK_MUTE_CHANGED for initial remote track mute state
* fix(JitsiConference): handle mute state updates arriving before track creation1 parent 1b9895e commit 80baf65
File tree
3 files changed
+71
-2
lines changed- modules/RTC
3 files changed
+71
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3546 | 3546 | | |
3547 | 3547 | | |
3548 | 3548 | | |
| 3549 | + | |
| 3550 | + | |
| 3551 | + | |
| 3552 | + | |
| 3553 | + | |
| 3554 | + | |
| 3555 | + | |
| 3556 | + | |
| 3557 | + | |
| 3558 | + | |
3549 | 3559 | | |
3550 | 3560 | | |
3551 | 3561 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
50 | 51 | | |
| 52 | + | |
51 | 53 | | |
52 | 54 | | |
53 | 55 | | |
| |||
101 | 103 | | |
102 | 104 | | |
103 | 105 | | |
| 106 | + | |
104 | 107 | | |
105 | 108 | | |
106 | 109 | | |
| |||
423 | 426 | | |
424 | 427 | | |
425 | 428 | | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
426 | 460 | | |
427 | 461 | | |
428 | 462 | | |
| |||
444 | 478 | | |
445 | 479 | | |
446 | 480 | | |
447 | | - | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
448 | 486 | | |
449 | 487 | | |
450 | 488 | | |
| 489 | + | |
| 490 | + | |
451 | 491 | | |
452 | 492 | | |
453 | 493 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
| 160 | + | |
160 | 161 | | |
161 | 162 | | |
162 | 163 | | |
| |||
324 | 325 | | |
325 | 326 | | |
326 | 327 | | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
327 | 335 | | |
328 | 336 | | |
329 | 337 | | |
| |||
1203 | 1211 | | |
1204 | 1212 | | |
1205 | 1213 | | |
1206 | | - | |
| 1214 | + | |
| 1215 | + | |
1207 | 1216 | | |
1208 | 1217 | | |
1209 | 1218 | | |
1210 | 1219 | | |
| 1220 | + | |
| 1221 | + | |
1211 | 1222 | | |
1212 | 1223 | | |
1213 | 1224 | | |
| |||
1692 | 1703 | | |
1693 | 1704 | | |
1694 | 1705 | | |
| 1706 | + | |
| 1707 | + | |
| 1708 | + | |
| 1709 | + | |
| 1710 | + | |
| 1711 | + | |
| 1712 | + | |
| 1713 | + | |
1695 | 1714 | | |
1696 | 1715 | | |
1697 | 1716 | | |
| |||
0 commit comments