Skip to content
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.

Commit

Permalink
Add MIXER_MIX participant type (android + RN) (#284)
Browse files Browse the repository at this point in the history
* Add MIXER_MIX participant type (android + RN)

* Update documentation
  • Loading branch information
kbetl-dlb authored Sep 4, 2023
1 parent 141cbbd commit 2eba225
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ dependencies {
implementation "androidx.appcompat:appcompat:1.1.0"
implementation "androidx.annotation:annotation:1.1.0"

implementation "io.dolby:sdk:[3.10.1,3.11)"
implementation "io.dolby:sdk:[3.11.0, 3.12)"

testImplementation("junit:junit:${JUNIT_VERSION}")
testImplementation("org.powermock:powermock-api-mockito2:${POWERMOCK_VERSION}")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ class ParticipantMapper {
private fun toRNParticipantType(participantType: ParticipantType) = when (participantType) {
ParticipantType.USER -> "USER"
ParticipantType.LISTENER -> "LISTENER"
ParticipantType.MIXER_MIX -> "MIXER_MIX"
ParticipantType.SPEAKER,
ParticipantType.PSTN,
ParticipantType.MIXER,
Expand Down
9 changes: 9 additions & 0 deletions docs/enums/internal.ParticipantType.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ The ParticipantTypes enum gathers the possible types of conference participants.

- [LISTENER](internal.ParticipantType.md#listener)
- [USER](internal.ParticipantType.md#user)
- [MIXER\_MIX](internal.ParticipantType.md#mixer_mix)
- [UNKNOWN](internal.ParticipantType.md#unknown)

## Enumeration Members
Expand All @@ -30,6 +31,14 @@ A participant who can send and receive audio and video during the conference.

___

### MIXER\_MIX

**MIXER\_MIX** = ``"MIXER_MIX"``

A special participant responsible for mixing video and sending one mixed video stream from a conference to each participant who joined the conference as a mixed listener. This type is available in SDK 3.11 and later.

___

### UNKNOWN

**UNKNOWN** = ``"UNKNOWN"``
Expand Down
2 changes: 2 additions & 0 deletions src/services/conference/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,8 @@ export enum ParticipantType {
LISTENER = 'LISTENER',
/** A participant who can send and receive audio and video during the conference. */
USER = 'USER',
/** A special participant responsible for mixing video and sending one mixed video stream from a conference to each participant who joined the conference as a mixed listener. This type is available in SDK 3.11 and later. */
MIXER_MIX = 'MIXER_MIX',
/** Any other type that is unsupported in react-native. */
UNKNOWN = 'UNKNOWN',
}
Expand Down

0 comments on commit 2eba225

Please sign in to comment.