Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When I create a room and running in the background, if other participants join the room, I publishing the audio track but it is ineffective. #500

Open
liuyang2211 opened this issue Oct 15, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@liuyang2211
Copy link

Describe the bug
When I create a room and running in the background, if other participants join the room, I publishing the audio track but it is ineffective.

SDK Version
2.0.12

iOS/macOS Version
18.0

Xcode Version
16.0

-【LiveKit】: newState.trackState:none newState.isSpeakerOutputPreferred:false oldState.trackState:none oldState.isSpeakerOutputPreferred:false
-【LiveKit】: .soloAmbient configuring audio session category: AVAudioSessionCategorySoloAmbient, mode: AVAudioSessionModeDefault
-【LiveKit】: configuring audio session category: AVAudioSessionCategorySoloAmbient, mode: AVAudioSessionModeDefault, setActive: true
AVAudioSessionClient_Common.mm:574 Failed to set properties, error: '!int'
-【LiveKit】: Failed to configure audio session with error: Error Domain=NSOSStatusErrorDomain Code=560557684 "(null)"
2024-10-15T11:42:38+0800 : [LiveKit] LocalParticipant._publish(track:options:) [publish] LocalAudioTrack(sid: nil, name: microphone, source: Source(rawValue: 2)) options: Optional(<LiveKit.AudioPublishOptions: 0x300271800>)...
-【LiveKit】: newState.trackState:localOnly newState.isSpeakerOutputPreferred:false oldState.trackState:none oldState.isSpeakerOutputPreferred:false
-【LiveKit】: configuring audio session category: AVAudioSessionCategoryPlayAndRecord, mode: AVAudioSessionModeVoiceChat, setActive: true
2024-10-15T11:42:38+0800 info LiveKitSDK : [LiveKit] LocalParticipant._publish(track:options:) [publish] success LocalTrackPublication(sid: TR_AMUAw7BUZhb2n5, kind: Kind(rawValue: 0), source: Source(rawValue: 2))
-【LiveKit】:local【LewisiOS-】didPublishTrack【audio,microphone,Optional("started")】
AVAudioSessionClient_Common.mm:574 Failed to set properties, error: '!int'
AVAudioSession_iOS.mm:3396 Failed to set mode: -50
AVAudioSessionClient_Common.mm:574 Failed to set properties, error: '!int'
-【LiveKit】: Failed to configure audio session with error: Error Domain=NSOSStatusErrorDomain Code=560557684 "(null)"
AVAudioSessionClient_Common.mm:574 Failed to set properties, error: '!int'
AVAudioSession_iOS.mm:3396 Failed to set mode: -50
AVAudioSessionClient_Common.mm:574 Failed to set properties, error: '!int'
AVAudioSessionClient_Common.mm:574 Failed to set properties, error: '!int'
AVAudioSession_iOS.mm:3396 Failed to set mode: -50
AVAudioSessionClient_Common.mm:574 Failed to set properties, error: '!int'

@liuyang2211 liuyang2211 added the bug Something isn't working label Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants