Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-daemon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-daemon
Commits
81217444
Commit
81217444
authored
13 years ago
by
Tristan Matthews
Browse files
Options
Downloads
Patches
Plain Diff
* #6269: removed useless type testing
parent
5c2746b0
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
sflphone-common/src/audio/audiortp/AudioRtpFactory.cpp
+2
-30
2 additions, 30 deletions
sflphone-common/src/audio/audiortp/AudioRtpFactory.cpp
with
2 additions
and
30 deletions
sflphone-common/src/audio/audiortp/AudioRtpFactory.cpp
+
2
−
30
View file @
81217444
...
...
@@ -319,40 +319,12 @@ void AudioRtpFactory::setRemoteCryptoInfo (sfl::SdesNegotiator& nego)
void
AudioRtpFactory
::
setDtmfPayloadType
(
unsigned
int
payloadType
)
{
switch
(
_rtpSessionType
)
{
case
Sdes
:
static_cast
<
AudioSrtpSession
*>
(
_rtpSession
)
->
setDtmfPayloadType
(
payloadType
);
break
;
case
Symmetric
:
static_cast
<
AudioRtpSession
*>
(
_rtpSession
)
->
setDtmfPayloadType
(
payloadType
);
break
;
case
Zrtp
:
static_cast
<
AudioZrtpSession
*>
(
_rtpSession
)
->
setDtmfPayloadType
(
payloadType
);
break
;
}
static_cast
<
AudioRtpRecordHandler
*>
(
_rtpSession
)
->
setDtmfPayloadType
(
payloadType
);
}
void
AudioRtpFactory
::
sendDtmfDigit
(
int
digit
)
{
switch
(
_rtpSessionType
)
{
case
Sdes
:
static_cast
<
AudioSrtpSession
*>
(
_rtpSession
)
->
putDtmfEvent
(
digit
);
break
;
case
Symmetric
:
static_cast
<
AudioRtpSession
*>
(
_rtpSession
)
->
putDtmfEvent
(
digit
);
break
;
case
Zrtp
:
static_cast
<
AudioZrtpSession
*>
(
_rtpSession
)
->
putDtmfEvent
(
digit
);
break
;
}
static_cast
<
AudioRtpRecordHandler
*>
(
_rtpSession
)
->
putDtmfEvent
(
digit
);
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment