Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support joining an existing call in the CallComposite & CallWithChatComposite #5148

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

JamesBurnside
Copy link
Member

@JamesBurnside JamesBurnside commented Sep 10, 2024

What

  • Update createAzureCommunicationCallAdapterFromClients and createAzureCommunicationCallWithChatAdapterFromClients to allow passing in a Call object instead of a locator
  • Recalculate isTeamsMeeting/isRoomsMeeting/isTeamsCall on the fly instead of only at contruction time

Why

Supports scenarios such as CallAutomation or IncomingCalls were a call could be created outside of the regular adapter flow.

How Tested

Verified in the Call sample and CallWithChat sample that I could join existing calls. Tried joining with&without unMute and cameraOn

image

Copy link
Contributor

Copy link
Contributor

Copy link
Contributor

github-actions bot commented Sep 10, 2024

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

Lines Statements Functions Branches
Base 26920 / 43514
61.86%
26920 / 43514
61.86%
735 / 1355
54.24%
2155 / 3473
62.05%
Current 26980 / 43523
61.99%
26980 / 43523
61.99%
735 / 1355
54.24%
2184 / 3496
62.47%
Diff 60 / 9
0.13%
60 / 9
0.13%
0 / 0
0%
29 / 23
0.42%

Copy link
Contributor

github-actions bot commented Sep 10, 2024

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

Lines Statements Functions Branches
Base 54661 / 90432
60.44%
54661 / 90432
60.44%
1107 / 2574
43%
3237 / 5390
60.05%
Current 54776 / 90527
60.5%
54776 / 90527
60.5%
1113 / 2578
43.17%
3247 / 5404
60.08%
Diff 115 / 95
0.06%
115 / 95
0.06%
6 / 4
0.17%
10 / 14
0.03%

Copy link
Contributor

Copy link
Contributor

Copy link
Contributor

Copy link
Contributor

Copy link
Contributor

Copy link
Contributor

Copy link
Contributor

Chat bundle size is increased❗.

  • Current size: 1762309
  • Base size: 1762308
  • Diff size: 1

Copy link
Contributor

Calling bundle size is not changed.

  • Current size: 11767065
  • Base size: 11767065
  • Diff size: 0

Copy link
Contributor

CallWithChat bundle size is not changed.

  • Current size: 11767078
  • Base size: 11767078
  • Diff size: 0

Copy link
Contributor

Copy link
Contributor

Failed to pass the UI Test. If this PR is for UI change and the error is snapshot mismatch, please add "update_snapshots" label to the PR for updating the snapshot.

2 similar comments
Copy link
Contributor

Failed to pass the UI Test. If this PR is for UI change and the error is snapshot mismatch, please add "update_snapshots" label to the PR for updating the snapshot.

Copy link
Contributor

Failed to pass the UI Test. If this PR is for UI change and the error is snapshot mismatch, please add "update_snapshots" label to the PR for updating the snapshot.

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