Skip to content
Snippets Groups Projects
Commit 1fb57d4f authored by Emmanuel Milou's avatar Emmanuel Milou
Browse files

Remove port number from sdp constructor

parent a43ffc38
No related branches found
No related tags found
No related merge requests found
...@@ -36,7 +36,6 @@ static const pj_str_t STR_SENDRECV = { (char*)"sendrecv", 8 }; ...@@ -36,7 +36,6 @@ static const pj_str_t STR_SENDRECV = { (char*)"sendrecv", 8 };
: _local_media_cap(), _session_media(0), _ip_addr( "" ), _local_offer( NULL ), _negociated_offer(NULL), _negociator(NULL), _pool(NULL) : _local_media_cap(), _session_media(0), _ip_addr( "" ), _local_offer( NULL ), _negociated_offer(NULL), _negociator(NULL), _pool(NULL)
{ {
_pool = pool; _pool = pool;
_localAudioPort = 65555; ///port;
} }
Sdp::~Sdp() { Sdp::~Sdp() {
......
...@@ -40,7 +40,7 @@ class Sdp { ...@@ -40,7 +40,7 @@ class Sdp {
* *
* @param ip_addr * @param ip_addr
*/ */
Sdp(pj_pool_t *pool, int port); Sdp(pj_pool_t *pool);
/* Class destructor */ /* Class destructor */
~Sdp(); ~Sdp();
......
...@@ -32,7 +32,7 @@ SIPCall::SIPCall(const CallID& id, Call::CallType type, pj_pool_t *pool) : Call( ...@@ -32,7 +32,7 @@ SIPCall::SIPCall(const CallID& id, Call::CallType type, pj_pool_t *pool) : Call(
, _invSession(NULL) , _invSession(NULL)
, _local_sdp(0) , _local_sdp(0)
{ {
_local_sdp = new Sdp (pool, getLocalExternAudioPort() ); _local_sdp = new Sdp (pool);
_debug("SIPCALL::Constructor for this clss is called \n"); _debug("SIPCALL::Constructor for this clss is called \n");
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment