Closed ysimoo closed 3 years ago
iOS or Android?
@LichKing-2234 on iOs
I think this API will change the audio session.
I think that too, but when I use also setClientRole to switch between Broadcaster and Audience (without using enableLocalAudio) I have the same issue
the audience can not record audio or capture video.
I'm doing this switch between client role to replace enableLocalAudio, Broadcaster <=> enableLocalAudio(true) and Audience <=> enableLocalAudio(false)
you can try the setDefaultAudioRoutetoSpeakerphone
method.
I tried setDefaultAudioRoutetoSpeakerphone always the same issue after calling enableLocalAudio(true)
@LichKing-2234 fixed by adding setParameters("{\"che.audio.keep.audiosession\":true}")
I want to send like Whatsapp audio (enable/disable Mic) but with a chosen music in the background, I notice that when I call enableLocalAudio the music stops, I'm using this config:
Can anyone help please