Fixed init of H.264 profile/level support table on iOS
Bug: webrtc:9134, webrtc:7992 Change-Id: Ideabfae10532f815a3e95b18bad8e950da53306b Reviewed-on: https://webrtc-review.googlesource.com/73700 Reviewed-by: Kári Helgason <kthelgason@webrtc.org> Reviewed-by: Magnus Jedvert <magjed@webrtc.org> Commit-Queue: Magnus Jedvert <magjed@webrtc.org> Cr-Commit-Position: refs/heads/master@{#23123}
This commit is contained in:

committed by
Commit Bot

parent
25f0c206df
commit
1d87148a4f
@ -46,7 +46,7 @@ enum Level {
|
||||
};
|
||||
|
||||
struct ProfileLevelId {
|
||||
ProfileLevelId(Profile profile, Level level)
|
||||
constexpr ProfileLevelId(Profile profile, Level level)
|
||||
: profile(profile), level(level) {}
|
||||
Profile profile;
|
||||
Level level;
|
||||
|
@ -22,7 +22,7 @@ struct SupportedH264Profile {
|
||||
const ProfileLevelId profile;
|
||||
};
|
||||
|
||||
const SupportedH264Profile kH264MaxSupportedProfiles[] = {
|
||||
constexpr SupportedH264Profile kH264MaxSupportedProfiles[] = {
|
||||
// iPhones with at least iOS 9
|
||||
{RTCDeviceTypeIPhoneX, {kProfileHigh, kLevel5_2}}, // https://support.apple.com/kb/SP770
|
||||
{RTCDeviceTypeIPhone8, {kProfileHigh, kLevel5_2}}, // https://support.apple.com/kb/SP767
|
||||
|
Reference in New Issue
Block a user