The stream is attached before the video type change event is fired, so comparing them is too late. Unconditionally update the screen-sharing indicator, and perform the check for a change right there, to avoid re-renders.master
|
||
373 | 373 |
|
374 | 374 |
|
375 | 375 |
|
376 |
|
|
377 | 376 |
|
378 | 377 |
|
379 | 378 |
|
|
||
484 | 483 |
|
485 | 484 |
|
486 | 485 |
|
487 |
|
|
488 | 486 |
|
489 | 487 |
|
490 | 488 |
|
|
||
243 | 243 |
|
244 | 244 |
|
245 | 245 |
|
246 |
|
|
247 |
|
|
248 |
|
|
249 |
|
|
246 | 250 |
|
247 | 251 |
|
248 | 252 |
|
|
||
489 | 489 |
|
490 | 490 |
|
491 | 491 |
|
492 |
|
|
492 |
|
|
493 | 493 |
|
494 | 494 |
|
495 | 495 |
|