Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
savoirfairelinux
jami-daemon
Commits
0e07789f
Commit
0e07789f
authored
Aug 02, 2012
by
Tristan Matthews
Browse files
* #14246: sdp: don't look for video codecs that aren't there
parent
b2aed523
Changes
1
Hide whitespace changes
Inline
Side-by-side
daemon/src/sip/sdp.cpp
View file @
0e07789f
...
...
@@ -470,6 +470,11 @@ string Sdp::getIncomingVideoDescription() const
for
(
videoIdx
=
0
;
videoIdx
<
activeLocalSession_
->
media_count
and
pj_stricmp2
(
&
activeLocalSession_
->
media
[
videoIdx
]
->
desc
.
media
,
"video"
)
!=
0
;
++
videoIdx
)
;
if
(
videoIdx
==
activeLocalSession_
->
media_count
)
{
DEBUG
(
"No video present in local session"
);
return
ss
.
str
();
}
// get direction string
static
const
pj_str_t
DIRECTIONS
[]
=
{
{(
char
*
)
"sendrecv"
,
8
},
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment