Update Apple device list
Added new apple devices to corresponding enumeration. Added H264 profile level information. Previous update was done as part of: https://webrtc-review.googlesource.com/c/src/+/158744 Device machine names obtained from: https://gist.github.com/adamawolf/3048717 Change-Id: Ibe71ec525679d34494b579f6da851c2b45b0cd86 Bug: None Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/202743 Commit-Queue: Kári Helgason <kthelgason@webrtc.org> Reviewed-by: Kári Helgason <kthelgason@webrtc.org> Cr-Commit-Position: refs/heads/master@{#33119}
This commit is contained in:
parent
1f1e190acc
commit
b853d72250
1
AUTHORS
1
AUTHORS
@ -30,6 +30,7 @@ Colin Plumb
|
||||
Cyril Lashkevich <notorca@gmail.com>
|
||||
CZ Theng <cz.theng@gmail.com>
|
||||
Danail Kirov <dkirovbroadsoft@gmail.com>
|
||||
Dave Cowart <davecowart@gmail.com>
|
||||
David Porter <david@porter.me>
|
||||
Dax Booysen <dax@younow.com>
|
||||
Dennis Angelo <dennis.angelo@gmail.com>
|
||||
|
||||
@ -24,6 +24,10 @@ struct SupportedH264Profile {
|
||||
|
||||
constexpr SupportedH264Profile kH264MaxSupportedProfiles[] = {
|
||||
// iPhones with at least iOS 9
|
||||
{RTCDeviceTypeIPhone12ProMax, {kProfileHigh, kLevel5_2}}, // https://support.apple.com/kb/SP832
|
||||
{RTCDeviceTypeIPhone12Pro, {kProfileHigh, kLevel5_2}}, // https://support.apple.com/kb/SP831
|
||||
{RTCDeviceTypeIPhone12, {kProfileHigh, kLevel5_2}}, // https://support.apple.com/kb/SP830
|
||||
{RTCDeviceTypeIPhone12Mini, {kProfileHigh, kLevel5_2}}, // https://support.apple.com/kb/SP829
|
||||
{RTCDeviceTypeIPhone11ProMax, {kProfileHigh, kLevel5_2}}, // https://support.apple.com/kb/SP806
|
||||
{RTCDeviceTypeIPhone11Pro, {kProfileHigh, kLevel5_2}}, // https://support.apple.com/kb/SP805
|
||||
{RTCDeviceTypeIPhone11, {kProfileHigh, kLevel5_2}}, // https://support.apple.com/kb/SP804
|
||||
@ -57,6 +61,10 @@ constexpr SupportedH264Profile kH264MaxSupportedProfiles[] = {
|
||||
{RTCDeviceTypeIPodTouch5G, {kProfileMain, kLevel3_1}}, // https://support.apple.com/kb/SP657
|
||||
|
||||
// iPads with at least iOS 9
|
||||
{RTCDeviceTypeIPadAir4Gen, {kProfileHigh, kLevel4_1}}, // https://support.apple.com/kb/SP828
|
||||
{RTCDeviceTypeIPad8, {kProfileHigh, kLevel4_1}}, // https://support.apple.com/kb/SP822
|
||||
{RTCDeviceTypeIPadPro4Gen12Inch, {kProfileHigh, kLevel4_1}}, // https://support.apple.com/kb/SP815
|
||||
{RTCDeviceTypeIPadPro4Gen11Inch, {kProfileHigh, kLevel4_1}}, // https://support.apple.com/kb/SP814
|
||||
{RTCDeviceTypeIPadAir3Gen, {kProfileHigh, kLevel4_1}}, // https://support.apple.com/kb/SP787
|
||||
{RTCDeviceTypeIPadMini5Gen, {kProfileHigh, kLevel4_1}}, // https://support.apple.com/kb/SP788
|
||||
{RTCDeviceTypeIPadPro3Gen12Inch,
|
||||
|
||||
@ -40,6 +40,10 @@ typedef NS_ENUM(NSInteger, RTCDeviceType) {
|
||||
RTCDeviceTypeIPhone11,
|
||||
RTCDeviceTypeIPhone11Pro,
|
||||
RTCDeviceTypeIPhone11ProMax,
|
||||
RTCDeviceTypeIPhone12Mini,
|
||||
RTCDeviceTypeIPhone12,
|
||||
RTCDeviceTypeIPhone12Pro,
|
||||
RTCDeviceTypeIPhone12ProMax,
|
||||
RTCDeviceTypeIPodTouch1G,
|
||||
RTCDeviceTypeIPodTouch2G,
|
||||
RTCDeviceTypeIPodTouch3G,
|
||||
@ -79,8 +83,12 @@ typedef NS_ENUM(NSInteger, RTCDeviceType) {
|
||||
RTCDeviceTypeIPad7Gen10Inch,
|
||||
RTCDeviceTypeIPadPro3Gen11Inch,
|
||||
RTCDeviceTypeIPadPro3Gen12Inch,
|
||||
RTCDeviceTypeIPadPro4Gen11Inch,
|
||||
RTCDeviceTypeIPadPro4Gen12Inch,
|
||||
RTCDeviceTypeIPadMini5Gen,
|
||||
RTCDeviceTypeIPadAir3Gen,
|
||||
RTCDeviceTypeIPad8,
|
||||
RTCDeviceTypeIPadAir4Gen,
|
||||
RTCDeviceTypeSimulatori386,
|
||||
RTCDeviceTypeSimulatorx86_64,
|
||||
};
|
||||
|
||||
@ -52,6 +52,10 @@
|
||||
@"iPhone12,1" : @(RTCDeviceTypeIPhone11),
|
||||
@"iPhone12,3" : @(RTCDeviceTypeIPhone11Pro),
|
||||
@"iPhone12,5" : @(RTCDeviceTypeIPhone11ProMax),
|
||||
@"iPhone13,1" : @(RTCDeviceTypeIPhone12Mini),
|
||||
@"iPhone13,2" : @(RTCDeviceTypeIPhone12),
|
||||
@"iPhone13,3" : @(RTCDeviceTypeIPhone12Pro),
|
||||
@"iPhone13,4" : @(RTCDeviceTypeIPhone12ProMax),
|
||||
@"iPod1,1" : @(RTCDeviceTypeIPodTouch1G),
|
||||
@"iPod2,1" : @(RTCDeviceTypeIPodTouch2G),
|
||||
@"iPod3,1" : @(RTCDeviceTypeIPodTouch3G),
|
||||
@ -108,10 +112,18 @@
|
||||
@"iPad8,6" : @(RTCDeviceTypeIPadPro3Gen12Inch),
|
||||
@"iPad8,7" : @(RTCDeviceTypeIPadPro3Gen12Inch),
|
||||
@"iPad8,8" : @(RTCDeviceTypeIPadPro3Gen12Inch),
|
||||
@"iPad8,9" : @(RTCDeviceTypeIPadPro4Gen11Inch),
|
||||
@"iPad8,10" : @(RTCDeviceTypeIPadPro4Gen11Inch),
|
||||
@"iPad8,11" : @(RTCDeviceTypeIPadPro4Gen12Inch),
|
||||
@"iPad8,12" : @(RTCDeviceTypeIPadPro4Gen12Inch),
|
||||
@"iPad11,1" : @(RTCDeviceTypeIPadMini5Gen),
|
||||
@"iPad11,2" : @(RTCDeviceTypeIPadMini5Gen),
|
||||
@"iPad11,3" : @(RTCDeviceTypeIPadAir3Gen),
|
||||
@"iPad11,4" : @(RTCDeviceTypeIPadAir3Gen),
|
||||
@"iPad11,6" : @(RTCDeviceTypeIPad8),
|
||||
@"iPad11,7" : @(RTCDeviceTypeIPad8),
|
||||
@"iPad13,1" : @(RTCDeviceTypeIPadAir4Gen),
|
||||
@"iPad12,2" : @(RTCDeviceTypeIPadAir4Gen),
|
||||
@"i386" : @(RTCDeviceTypeSimulatori386),
|
||||
@"x86_64" : @(RTCDeviceTypeSimulatorx86_64),
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user