diff --git a/sflphone-common/src/audio/audiortp/AudioRtpFactory.h b/sflphone-common/src/audio/audiortp/AudioRtpFactory.h index a6041a83223ec179fd786cbda2218afe9fe1f54b..78fb34d2234730f41feac72f41e7c38b7602e1fd 100644 --- a/sflphone-common/src/audio/audiortp/AudioRtpFactory.h +++ b/sflphone-common/src/audio/audiortp/AudioRtpFactory.h @@ -116,7 +116,7 @@ class AudioRtpFactory * Sdes = 2 */ RtpMethod getAudioRtpType (void) const { - return _rtpSession->getAudioRtpType(); + return _keyExchangeProtocol; } /** @@ -163,7 +163,7 @@ class AudioRtpFactory // Field used when initializinga udio rtp session // May be set manually or from config using initAudioRtpConfig - int _keyExchangeProtocol; + RtpMethod _keyExchangeProtocol; // Field used when initializinga udio rtp session // May be set manually or from config using initAudioRtpConfig