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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-daemon
Commits
331fe61c
Commit
331fe61c
authored
Dec 5, 2012
by
Tristan Matthews
Browse files
Options
Downloads
Patches
Plain Diff
* #18261: sdp: fix function name
parent
013d54d3
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
daemon/src/sip/sdp.cpp
+3
-3
3 additions, 3 deletions
daemon/src/sip/sdp.cpp
daemon/src/sip/sdp.h
+1
-1
1 addition, 1 deletion
daemon/src/sip/sdp.h
with
4 additions
and
4 deletions
daemon/src/sip/sdp.cpp
+
3
−
3
View file @
331fe61c
...
@@ -199,7 +199,7 @@ void Sdp::getSessionAudioMedia(std::vector<sfl::AudioCodec*> &codecs) const
...
@@ -199,7 +199,7 @@ void Sdp::getSessionAudioMedia(std::vector<sfl::AudioCodec*> &codecs) const
pjmedia_sdp_media
*
pjmedia_sdp_media
*
Sdp
::
setMediaDescriptorLine
(
bool
audio
)
Sdp
::
setMediaDescriptorLine
s
(
bool
audio
)
{
{
pjmedia_sdp_media
*
med
=
PJ_POOL_ZALLOC_T
(
memPool_
,
pjmedia_sdp_media
);
pjmedia_sdp_media
*
med
=
PJ_POOL_ZALLOC_T
(
memPool_
,
pjmedia_sdp_media
);
...
@@ -367,9 +367,9 @@ int Sdp::createLocalSession(const vector<int> &selectedAudioCodecs, const vector
...
@@ -367,9 +367,9 @@ int Sdp::createLocalSession(const vector<int> &selectedAudioCodecs, const vector
// For DTMF RTP events
// For DTMF RTP events
const
bool
audio
=
true
;
const
bool
audio
=
true
;
localSession_
->
media_count
=
1
;
localSession_
->
media_count
=
1
;
localSession_
->
media
[
0
]
=
setMediaDescriptorLine
(
audio
);
localSession_
->
media
[
0
]
=
setMediaDescriptorLine
s
(
audio
);
if
(
not
selectedVideoCodecs
.
empty
())
{
if
(
not
selectedVideoCodecs
.
empty
())
{
localSession_
->
media
[
1
]
=
setMediaDescriptorLine
(
!
audio
);
localSession_
->
media
[
1
]
=
setMediaDescriptorLine
s
(
!
audio
);
++
localSession_
->
media_count
;
++
localSession_
->
media_count
;
}
}
...
...
This diff is collapsed.
Click to expand it.
daemon/src/sip/sdp.h
+
1
−
1
View file @
331fe61c
...
@@ -323,7 +323,7 @@ class Sdp {
...
@@ -323,7 +323,7 @@ class Sdp {
* Build the sdp media section
* Build the sdp media section
* Add rtpmap field if necessary
* Add rtpmap field if necessary
*/
*/
pjmedia_sdp_media
*
setMediaDescriptorLine
(
bool
audio
);
pjmedia_sdp_media
*
setMediaDescriptorLine
s
(
bool
audio
);
void
setTelephoneEventRtpmap
(
pjmedia_sdp_media
*
med
);
void
setTelephoneEventRtpmap
(
pjmedia_sdp_media
*
med
);
...
...
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
sign in
to comment