Skip to content

Add delay to switching source#5650

Merged
JamesBurnside merged 4 commits intomainfrom
jaburnsi/iphone-switcher-bug
Feb 16, 2025
Merged

Add delay to switching source#5650
JamesBurnside merged 4 commits intomainfrom
jaburnsi/iphone-switcher-bug

Conversation

@JamesBurnside
Copy link
Copy Markdown
Member

What

Add 1second delay to indicating switch source completed to throttle switching source

Why

Fix bug where switching camera on iphone may cause stream to freeze for remote participants. We have also filed a bug on the communication-calling package to fix this internally and not need this arbitrary delay.

How Tested

Locally on iphone 11 and android pixel

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Feb 14, 2025

@azure/communication-react jest test coverage for stable.

Lines Statements Functions Branches
Base 27986 / 44652
62.67%
27986 / 44652
62.67%
786 / 1436
54.73%
2352 / 3718
63.25%
Current 27992 / 44659
62.67%
27992 / 44659
62.67%
786 / 1436
54.73%
2346 / 3712
63.2%
Diff 6 / 7
0%
6 / 7
0%
0 / 0
0%
-6 / -6
-0.05%

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Feb 14, 2025

@azure/communication-react jest test coverage for beta.

Lines Statements Functions Branches
Base 58224 / 94181
61.82%
58224 / 94181
61.82%
1177 / 2693
43.7%
3563 / 5837
61.04%
Current 58241 / 94191
61.83%
58241 / 94191
61.83%
1177 / 2693
43.7%
3562 / 5843
60.96%
Diff 17 / 10
0.01%
17 / 10
0.01%
0 / 0
0%
-1 / 6
-0.08%

@github-actions
Copy link
Copy Markdown
Contributor

CallWithChat bundle size is not changed.

  • Current size: 12401112
  • Base size: 12401112
  • Diff size: 0

@github-actions
Copy link
Copy Markdown
Contributor

Calling bundle size is not changed.

  • Current size: 12401100
  • Base size: 12401100
  • Diff size: 0

@github-actions
Copy link
Copy Markdown
Contributor

Chat bundle size is not changed.

  • Current size: 1777282
  • Base size: 1777282
  • Diff size: 0

@JamesBurnside JamesBurnside merged commit 5127860 into main Feb 16, 2025
@JamesBurnside JamesBurnside deleted the jaburnsi/iphone-switcher-bug branch February 16, 2025 05:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants