Skip to content
Snippets Groups Projects
Commit 5a21425b authored by Alexandre Savard's avatar Alexandre Savard
Browse files
parents 82d81d56 0fa17c01
Branches
No related tags found
No related merge requests found
......@@ -36,7 +36,6 @@ Call::Call (const CallID& id, Call::CallType type)
: _callMutex()
, _localIPAddress ("")
, _localAudioPort (0)
, _localExternalAudioPort (0)
, _id (id)
, _confID ("")
, _type (type)
......
......@@ -224,22 +224,6 @@ class Call: public Recordable
_localAudioPort = port;
}
/**
* Set the audio port that remote will see.
* @param port The external audio port
*/
void setLocalExternAudioPort (unsigned int port) {
_localExternalAudioPort = port;
}
/**
* Return the audio port seen by the remote side.
* @return unsigned int The external audio port
*/
unsigned int getLocalExternAudioPort() const {
return _localExternalAudioPort;
}
/**
* Return my IP [mutex protected]
* @return std::string The local IP
......@@ -262,7 +246,7 @@ class Call: public Recordable
virtual bool setRecording (void);
protected:
private:
/** Protect every attribute that can be changed by two threads */
ost::Mutex _callMutex;
......@@ -274,12 +258,6 @@ class Call: public Recordable
/** Local audio port, as seen by me. */
unsigned int _localAudioPort;
/** Port assigned to my machine by the NAT, as seen by remote peer (he connects there) */
unsigned int _localExternalAudioPort;
private:
/** Unique ID of the call */
CallID _id;
......
......@@ -4706,7 +4706,6 @@ bool setCallAudioLocal (SIPCall* call, std::string localIP)
// Set local audio port for SIPCall(id)
call->setLocalIp (localIP);
call->setLocalAudioPort (callLocalAudioPort);
call->setLocalExternAudioPort (callLocalExternAudioPort);
call->getLocalSDP()->setPortToAllMedia (callLocalExternAudioPort);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment