diff --git a/sflphone-common/src/audio/audiortp/AudioRtpFactory.cpp b/sflphone-common/src/audio/audiortp/AudioRtpFactory.cpp index c41a2fc07e3422953ea3bae04eddf226c9b7d4b8..6499f07064894e67a8dd573128510630faaae2c2 100644 --- a/sflphone-common/src/audio/audiortp/AudioRtpFactory.cpp +++ b/sflphone-common/src/audio/audiortp/AudioRtpFactory.cpp @@ -50,17 +50,6 @@ AudioRtpFactory::AudioRtpFactory() : _rtpSession (NULL), remoteContext(NULL), lo } -AudioRtpFactory::AudioRtpFactory (SIPCall *ca) : _rtpSession (NULL) -{ - assert (ca); - - try { - initAudioRtpSession (ca); - } catch (UnsupportedRtpSessionType& exception) { - throw exception; - } -} - AudioRtpFactory::~AudioRtpFactory() { stop(); diff --git a/sflphone-common/src/audio/audiortp/AudioRtpFactory.h b/sflphone-common/src/audio/audiortp/AudioRtpFactory.h index b1fb1f0a6f8d6eda34b3ecf30bd984f430799a6e..28329d0d59f93ab5422ce8bb30e83a77a38ee93f 100644 --- a/sflphone-common/src/audio/audiortp/AudioRtpFactory.h +++ b/sflphone-common/src/audio/audiortp/AudioRtpFactory.h @@ -84,7 +84,6 @@ class AudioRtpFactory { public: AudioRtpFactory(); - AudioRtpFactory (SIPCall * ca); ~AudioRtpFactory(); void initAudioRtpConfig (SIPCall *ca);