Skip to content

Streaming video stops when there is playing sound in webview. #1036

Answered by shogo4405
balbum asked this question in Q&A
Discussion options

You must be logged in to vote

Please set AVAudioSession.sharedInstance.setCategory options with .mixWithOthers.

Example

try AVAudioSession.sharedInstance.setCategory(.playAndRecord, mode: .voiceChat, options: [.defaultToSpeaker, .allowBluetooth, .mixWithOthers])

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by shogo4405
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #838 on July 16, 2022 09:35.