- make sure all RTP ports are unsigned

- prevents totally bogus SDP offers from being made due to conversion kabooms (m=audio 4294935774 RTP/AVP 3)
(upstream r8160)
This commit is contained in:
Michael Iedema
2014-04-09 15:23:55 +02:00
parent e62971ef41
commit 3b79030258
3 changed files with 4 additions and 4 deletions

View File

@@ -251,7 +251,7 @@ class SipRtp {
public:
/**@name RTP state and parameters. */
//@{
short mRTPPort;
unsigned mRTPPort;
//short mRTPRemPort;
//string mRTPRemIP;
Control::CodecSet mCodec;
@@ -275,7 +275,7 @@ class SipRtp {
RtpSession * RTPSession() const { return mSession; }
/** Return the RTP Port being used. */
short RTPPort() const { return mRTPPort; }
unsigned RTPPort() const { return mRTPPort; }
bool txDtmf();