Fix issue where remote ring is not heard during an outgoing call, if previously an incoming call has been declined.

This commit is contained in:
Simon Morlat 2018-05-30 17:34:14 +02:00
parent 63732921f9
commit 8352ebcafd

View file

@ -164,6 +164,7 @@ void CallPrivate::startRemoteRing () {
if (as)
audio_stream_unprepare_sound(as);
if (lc->sound_conf.remote_ring) {
ms_snd_card_set_stream_type(ringCard, MS_SND_CARD_STREAM_VOICE);
lc->ringstream = ring_start(lc->factory, lc->sound_conf.remote_ring, 2000, ringCard);
}
}