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
e1855c43
Commit
e1855c43
authored
Jul 27, 2012
by
Tristan Matthews
Browse files
* #13814: video: default to level 0xa (1.0) if peer doesn't provide a profile-level-id
parent
3562d3f5
Changes
2
Hide whitespace changes
Inline
Side-by-side
daemon/src/sip/sdp.cpp
View file @
e1855c43
...
...
@@ -668,7 +668,6 @@ bool Sdp::getOutgoingVideoSettings(map<string, string> &args) const
std
::
ostringstream
os
;
os
<<
payload
;
args
[
"payload_type"
]
=
os
.
str
();
args
[
"parameters"
]
=
getOutgoingVideoField
(
codec
,
"parameters"
);
// override with profile-level-id from remote, if present
getOutgoingProfileLevelID
(
args
[
"parameters"
],
payload
);
}
...
...
daemon/src/video/video_send_thread.cpp
View file @
e1855c43
...
...
@@ -129,7 +129,7 @@ extractProfileLevelID(const std::string ¶meters, AVCodecContext *ctx)
// If no profile-level-id is present, the Baseline Profile without
// additional constraints at Level 1 MUST be implied.
ctx
->
profile
=
FF_PROFILE_H264_BASELINE
;
ctx
->
level
=
0x
1
;
ctx
->
level
=
0x
a
;
// ctx->level = 0x0d; // => 13 aka 1.3
if
(
parameters
.
empty
())
return
;
...
...
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