Skip to content

Commit

Permalink
fix: fixed category
Browse files Browse the repository at this point in the history
  • Loading branch information
demchuk-alex committed Oct 7, 2024
1 parent 6f68554 commit be07bca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ios/AudioController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public class AudioController {

private func activateAudioSession() throws {
let audioSession = AVAudioSession.sharedInstance()
try audioSession.setCategory(.playback, mode: .default, options: [.mixWithOthers, .duckOthers])
try audioSession.setCategory(.playAndRecord, mode: .default, options: [.mixWithOthers, .duckOthers])
try audioSession.setActive(true, options: .notifyOthersOnDeactivation)
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mykin-ai/expo-audio-stream",
"version": "0.1.29",
"version": "0.1.30",
"description": "Expo Play Audio Stream module",
"main": "build/index.js",
"types": "build/index.d.ts",
Expand Down

0 comments on commit be07bca

Please sign in to comment.