Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

H264 profile fix #2212

Merged
merged 4 commits into from
Jun 9, 2020
Merged

H264 profile fix #2212

merged 4 commits into from
Jun 9, 2020

Conversation

groupboard
Copy link
Contributor

Fix janus_sdp_get_codec_pt_full so that it works when fmtp comes before rtpmap in the sdp, for vp9 and h264.

Copy link
Member

@lminiero lminiero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I added a couple of small nits, I'll make a quick test later to see how that works.

sdp-utils.c Outdated
if(check_profile) {
return pt;
}
else {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code style nit: please put the else on the same line as the closing bracket.

sdp-utils.c Outdated
if(check_profile) {
return pt;
}
else {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here.

sdp-utils.c Outdated
if(check_profile) {
return pt;
}
else {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here.

@lminiero
Copy link
Member

lminiero commented Jun 9, 2020

Just tested this and it looks good to me! As soon as those small code style nits are addressed, I'll merge 👍

@groupboard
Copy link
Contributor Author

Ok done.

@lminiero
Copy link
Member

lminiero commented Jun 9, 2020

Thanks, merging 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants