[Asterisk-code-review] res format attr h264.c: Make sure profile-level-id fmtp attr... (asterisk[master])
Joshua C. Colp
asteriskteam at digium.com
Mon Dec 17 09:34:50 CST 2018
Joshua C. Colp has submitted this change and it was merged. ( https://gerrit.asterisk.org/10814 )
Change subject: res_format_attr_h264.c: Make sure profile-level-id fmtp attribute is set
......................................................................
res_format_attr_h264.c: Make sure profile-level-id fmtp attribute is set
The profile-iop octet (the 2nd) of profile-level-id can be zero
according to RFC 6184 Section 8.1. So we ignore its value when deciding
to include profile-level-id in the outgoing SDP.
ASTERISK-27959 #close
Reported by: David Kuehling
Change-Id: Id28cd916a3d7748058fe9609b585d07d9e243f73
---
M res/res_format_attr_h264.c
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Benjamin Keith Ford: Looks good to me, but someone else must approve
Joshua C. Colp: Looks good to me, approved; Approved for Submit
diff --git a/res/res_format_attr_h264.c b/res/res_format_attr_h264.c
index 682b871..c1b538e 100644
--- a/res/res_format_attr_h264.c
+++ b/res/res_format_attr_h264.c
@@ -282,7 +282,7 @@
APPEND_IF_NOT_H264_UNSET(attr->PACKETIZATION_MODE, str, "packetization-mode");
APPEND_IF_NOT_H264_UNSET(attr->LEVEL_ASYMMETRY_ALLOWED, str, "level-asymmetry-allowed");
- if (attr->PROFILE_IDC && attr->PROFILE_IOP && attr->LEVEL) {
+ if (attr->PROFILE_IDC && attr->LEVEL) {
if (added) {
ast_str_append(str, 0, ";");
} else if (0 < ast_str_append(str, 0, "a=fmtp:%u ", payload)) {
--
To view, visit https://gerrit.asterisk.org/10814
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Id28cd916a3d7748058fe9609b585d07d9e243f73
Gerrit-Change-Number: 10814
Gerrit-PatchSet: 1
Gerrit-Owner: Sean Bright <sean.bright at gmail.com>
Gerrit-Reviewer: Benjamin Keith Ford <bford at digium.com>
Gerrit-Reviewer: Friendly Automation (1000185)
Gerrit-Reviewer: Joshua C. Colp <jcolp at digium.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20181217/53c01ad6/attachment.html>
More information about the asterisk-code-review
mailing list