Skip to content
Snippets Groups Projects
Commit 71d6b7bf authored by asavard's avatar asavard
Browse files

[#4367] Fix AudioRtpSession putDtmfEvent shadowing

parent 1eb894dc
Branches
No related tags found
No related merge requests found
...@@ -483,8 +483,8 @@ void AudioRtpRecordHandler::processDataDecode(unsigned char *spkrData, unsigned ...@@ -483,8 +483,8 @@ void AudioRtpRecordHandler::processDataDecode(unsigned char *spkrData, unsigned
audio[size] /= *factor; audio[size] /= *factor;
} }
// decrease factor // decrease factor
*factor /= FADEIN_STEP_SIZE *factor /= FADEIN_STEP_SIZE;
;
// if factor reach 0, thsi function should no be called anymore // if factor reach 0, thsi function should no be called anymore
if(*factor == 0) if(*factor == 0)
return true; return true;
......
...@@ -78,8 +78,6 @@ class AudioRtpSession : public ost::TimerPort, public ost::SymmetricRTPSession, ...@@ -78,8 +78,6 @@ class AudioRtpSession : public ost::TimerPort, public ost::SymmetricRTPSession,
*/ */
void updateDestinationIpAddress (void); void updateDestinationIpAddress (void);
void putDtmfEvent (int digit);
/** /**
* Send DTMF over RTP (RFC2833). The timestamp and sequence number must be * Send DTMF over RTP (RFC2833). The timestamp and sequence number must be
* incremented as if it was microphone audio. This function change the payload type of the rtp session, * incremented as if it was microphone audio. This function change the payload type of the rtp session,
......
...@@ -64,8 +64,6 @@ class AudioZrtpSession : public ost::TimerPort, public ost::SymmetricZRTPSession ...@@ -64,8 +64,6 @@ class AudioZrtpSession : public ost::TimerPort, public ost::SymmetricZRTPSession
*/ */
void updateDestinationIpAddress (void); void updateDestinationIpAddress (void);
void putDtmfEvent (int digit);
/** /**
* Send DTMF over RTP (RFC2833). The timestamp and sequence number must be * Send DTMF over RTP (RFC2833). The timestamp and sequence number must be
* incremented as if it was microphone audio. This function change the payload type of the rtp session, * incremented as if it was microphone audio. This function change the payload type of the rtp session,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment