Skip to content

Commit 046bd96

Browse files
committed
docs: add documentation to AudioSession.configureAudio
1 parent f34d817 commit 046bd96

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

src/audio/AudioSession.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,13 @@ const LivekitReactNative = NativeModules.LivekitReactNative
3131
* 3. `"headset"`
3232
* 4. `"bluetooth"`
3333
*
34+
* * audioMode - The audio mode to use for the audio session. Defaults to 'normal'.
35+
*
36+
* * audioFocusMode - The focus mode to use for the audio session. Defaults to 'gain'.
37+
*
38+
* See [AudioManager](https://developer.android.com/reference/android/media/AudioManager) for details
39+
* on audio and focus modes.
40+
*
3441
* ----
3542
* iOS
3643
*

0 commit comments

Comments
 (0)