Skip to content

Commit

Permalink
core: add getSpeakingParticipants entry point
Browse files Browse the repository at this point in the history
  • Loading branch information
lucienbl committed Sep 18, 2019
1 parent 64bcd61 commit 116b973
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,3 +83,11 @@ export const muteMyself = async (value: boolean): void => {
export const isMuted = async (): boolean => {
return Vivox.isMuted();
};

/**
* Retrieve the currently speaking players.
* @returns {Promise<Object>}
*/
export const getSpeakingParticipants = async ():Object => {
return Vivox.getSpeakingParticipants();
} ;

0 comments on commit 116b973

Please sign in to comment.