mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-20 12:38:09 +00:00
Fix conferencing issue if no sound card
This commit is contained in:
parent
7fb6ce4241
commit
651b8ddac8
1 changed files with 3 additions and 0 deletions
|
|
@ -3801,6 +3801,9 @@ static MSFilter *get_dtmf_gen(LinphoneCore *lc){
|
|||
if (lc->ringstream==NULL){
|
||||
float amp=0.1;
|
||||
MSSndCard *ringcard=lc->sound_conf.lsd_card ?lc->sound_conf.lsd_card : lc->sound_conf.ring_sndcard;
|
||||
if (ringcard == NULL)
|
||||
return NULL;
|
||||
|
||||
lc->ringstream=ring_start(NULL,0,ringcard);
|
||||
ms_filter_call_method(lc->ringstream->gendtmf,MS_DTMF_GEN_SET_DEFAULT_AMPLITUDE,&);
|
||||
lc->dmfs_playing_start_time=time(NULL);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue