mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-07 14:18:25 +00:00
Fix incoming calls for android (no sound because stream type was set to ring)
This commit is contained in:
parent
53750c5a08
commit
3b69788398
1 changed files with 3 additions and 1 deletions
|
|
@ -2698,7 +2698,6 @@ void linphone_call_init_audio_stream(LinphoneCall *call){
|
|||
char* cname;
|
||||
|
||||
if (call->audiostream != NULL) return;
|
||||
ms_snd_card_set_stream_type(lc->sound_conf.play_sndcard, MS_SND_CARD_STREAM_VOICE);
|
||||
|
||||
if (call->sessions[call->main_audio_stream_index].rtp_session==NULL){
|
||||
SalMulticastRole multicast_role = linphone_call_get_multicast_role(call,SalAudio);
|
||||
|
|
@ -3564,6 +3563,9 @@ static void linphone_call_start_audio_stream(LinphoneCall *call, LinphoneCallSta
|
|||
}
|
||||
|
||||
}
|
||||
if (playcard){
|
||||
ms_snd_card_set_stream_type(playcard, MS_SND_CARD_STREAM_VOICE);
|
||||
}
|
||||
if (ok == TRUE) {
|
||||
int err = audio_stream_start_from_io(call->audiostream,
|
||||
call->audio_profile,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue