-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Refactoring to separate the `CallAdapter` and the `CallComposite` to reflect the architecture of the Communication UI Library. This refactoring required now a service which will let the developer to create the `CallAdapter`. The events has been moved to the `CallAdapter`. - The `CallComposite` have parameters to select the button to hide or display. - Add the following APIs in the `CallAdapter`: - `LeaveCallAsync()` - `MuteAsync()` - `UnmuteAsync()` - `StartScreenShareAsync()` - `StopScreenShareAsync()` - Add the following events in the `CallAdapter` - `OnMicrophoneMuteChanged` - `CallEnded`
- Loading branch information
1 parent
e26df03
commit 1700787
Showing
42 changed files
with
1,623 additions
and
651 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
## Ported API | ||
|
||
This section contains the list of the APIs from the | ||
[Adapters for Composites documentation](https://azure.github.io/communication-ui-library/?path=/docs/composite-adapters--page) | ||
which has been ported to this library. | ||
|
||
### CallAdapter | ||
|
||
#### Methods | ||
|
||
| Method | Available | Remarks | | ||
|-------------------------------|------------|------------------------------------------------------| | ||
| onStateChange | TODO | | | ||
| offStateChange | TODO | | | ||
| getState | TODO | | | ||
| dispose | **Done** | | | ||
| holdCall (Beta) | No | Currently in beta | | ||
| joinCall (Deprecated) | No | Deprecated | | ||
| joinCall | Partially | Need to wrap the Call returned object | | ||
| leaveCall | **Done** | | | ||
| resumeCall (Beta) | No | Currently in beta | | ||
| startCamera | TODO | | | ||
| stopCamera | TODO | | | ||
| mute | **Done** | | | ||
| unmute | **Done** | | | ||
| startCall (Beta) | No | Currently in beta | | ||
| startScreenShare | **Done** | | | ||
| stopScreenShare | **Done** | | | ||
| addParticipant (Beta) | No | Currently in beta | | ||
| removeParticipant | TODO | | | ||
| createStreamView | TODO | | | ||
| disposeStreamView | TODO | | | ||
| askDevicePermission | TODO | | | ||
| queryCameras | TODO | | | ||
| queryMicrophones | TODO | | | ||
| querySpeakers | TODO | | | ||
| setCamera | TODO | | | ||
| setMicrophone | TODO | | | ||
| setSpeaker | TODO | | | ||
| startCaptions | TODO | | | ||
| stopCaptions | TODO | | | ||
| raiseHand | TODO | | | ||
| lowerHand | TODO | | | ||
| setCaptionLanguage | TODO | | | ||
| setSpokenLanguage | TODO | | | ||
| submitSurvey | TODO | | | ||
| startVideoBackgroundEffect | TODO | | | ||
| stopVideoBackgroundEffects | TODO | | | ||
| updateBackgroundPickerImages | TODO | | | ||
| updateSelectedVideoBackgroundEffect | TODO | | | ||
|
||
|
||
#### Events | ||
| Name | Available | Remarks | | ||
|-----------------------------------|-----------|---------| | ||
| participantsJoined | **Done** | | | ||
| participantsLeft | **Done** | | | ||
| isMutedChanged | **Done** | | | ||
| callIdChanged | TODO | | | ||
| isLocalScreenSharingActiveChanged | TODO | | | ||
| displayNameChanged | TODO | | | ||
| isSpeakingChanged | TODO | | | ||
| callEnded | **Done** | | | ||
| diagnosticChanged | TODO | | | ||
| error | TODO | | | ||
| captionsReceived | TODO | | | ||
| isCaptionsActiveChanged | TODO | | | ||
| transferAccepted | TODO | | | ||
| capabilitiesChanged | TODO | | | ||
| spotlightChanged | TODO | | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
//----------------------------------------------------------------------- | ||
// <copyright file="AsyncEventHandler.cs" company="P.O.S Informatique"> | ||
// Copyright (c) P.O.S Informatique. All rights reserved. | ||
// </copyright> | ||
//----------------------------------------------------------------------- | ||
|
||
namespace PosInformatique.Azure.Communication.UI.Blazor | ||
{ | ||
/// <summary> | ||
/// Represents the method that will handle asynchronously an event when the event provides data. | ||
/// </summary> | ||
/// <typeparam name="TEvent">The type of the event data generated by the event.</typeparam> | ||
/// <param name="event">An object that contains the event data.</param> | ||
/// <returns>A <see cref="Task"/> which represents the asynchronous operation.</returns> | ||
public delegate Task AsyncEventHandler<TEvent>(TEvent @event); | ||
} |
Oops, something went wrong.