Skip to content
Snippets Groups Projects
Commit ae2b66d8 authored by Tristan Matthews's avatar Tristan Matthews
Browse files

* #6595: more logical initialization order

parent 22cad81c
Branches
No related tags found
No related merge requests found
...@@ -43,8 +43,8 @@ namespace sfl ...@@ -43,8 +43,8 @@ namespace sfl
{ {
AudioSymmetricRtpSession::AudioSymmetricRtpSession (SIPCall * sipcall) : AudioSymmetricRtpSession::AudioSymmetricRtpSession (SIPCall * sipcall) :
AudioRtpSession(sipcall, Symmetric, static_cast<ost::RTPDataQueue *>(this), static_cast<ost::Thread *>(this)) ost::SymmetricRTPSession (ost::InetHostAddress (sipcall->getLocalIp().c_str()), sipcall->getLocalAudioPort())
,ost::SymmetricRTPSession (ost::InetHostAddress (sipcall->getLocalIp().c_str()), sipcall->getLocalAudioPort()) , AudioRtpSession(sipcall, Symmetric, this, this)
, _rtpThread (new AudioRtpThread (this)) , _rtpThread (new AudioRtpThread (this))
{ {
_info ("AudioSymmetricRtpSession: Setting new RTP session with destination %s:%d", _ca->getLocalIp().c_str(), _ca->getLocalAudioPort()); _info ("AudioSymmetricRtpSession: Setting new RTP session with destination %s:%d", _ca->getLocalIp().c_str(), _ca->getLocalAudioPort());
......
...@@ -56,7 +56,7 @@ namespace sfl ...@@ -56,7 +56,7 @@ namespace sfl
{ {
// class AudioSymmetricRtpSession : protected ost::Thread, public ost::TimerPort, public AudioRtpRecordHandler, public ost::TRTPSessionBase<ost::DualRTPUDPIPv4Channel,ost::DualRTPUDPIPv4Channel,ost::AVPQueue> // class AudioSymmetricRtpSession : protected ost::Thread, public ost::TimerPort, public AudioRtpRecordHandler, public ost::TRTPSessionBase<ost::DualRTPUDPIPv4Channel,ost::DualRTPUDPIPv4Channel,ost::AVPQueue>
class AudioSymmetricRtpSession : public AudioRtpSession, public ost::TimerPort, public ost::SymmetricRTPSession class AudioSymmetricRtpSession : public ost::TimerPort, public ost::SymmetricRTPSession, public AudioRtpSession
{ {
public: public:
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment