Added new Apple devices.
Added new apple devices to corresponding enumeration.
Added H264 profile level infromation.
Previous update was done as part of:
https://webrtc-review.googlesource.com/c/src/+/107625
Device machine names obtained from:
https://gist.github.com/adamawolf/3048717
Bug: None
Change-Id: I14aca9dbf495cf50835b388caf38b43145724bd4
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/158744
Commit-Queue: Kári Helgason <kthelgason@webrtc.org>
Reviewed-by: Kári Helgason <kthelgason@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#29660}
diff --git a/sdk/objc/helpers/UIDevice+RTCDevice.mm b/sdk/objc/helpers/UIDevice+RTCDevice.mm
index 6f68e9f..3210bde 100644
--- a/sdk/objc/helpers/UIDevice+RTCDevice.mm
+++ b/sdk/objc/helpers/UIDevice+RTCDevice.mm
@@ -49,12 +49,16 @@
@"iPhone11,4" : @(RTCDeviceTypeIPhoneXSMax),
@"iPhone11,6" : @(RTCDeviceTypeIPhoneXSMax),
@"iPhone11,8" : @(RTCDeviceTypeIPhoneXR),
+ @"iPhone12,1" : @(RTCDeviceTypeIPhone11),
+ @"iPhone12,3" : @(RTCDeviceTypeIPhone11Pro),
+ @"iPhone12,5" : @(RTCDeviceTypeIPhone11ProMax),
@"iPod1,1" : @(RTCDeviceTypeIPodTouch1G),
@"iPod2,1" : @(RTCDeviceTypeIPodTouch2G),
@"iPod3,1" : @(RTCDeviceTypeIPodTouch3G),
@"iPod4,1" : @(RTCDeviceTypeIPodTouch4G),
@"iPod5,1" : @(RTCDeviceTypeIPodTouch5G),
@"iPod7,1" : @(RTCDeviceTypeIPodTouch6G),
+ @"iPod9,1" : @(RTCDeviceTypeIPodTouch7G),
@"iPad1,1" : @(RTCDeviceTypeIPad),
@"iPad2,1" : @(RTCDeviceTypeIPad2Wifi),
@"iPad2,2" : @(RTCDeviceTypeIPad2GSM),
@@ -94,6 +98,20 @@
@"iPad7,4" : @(RTCDeviceTypeIPadPro10Inch),
@"iPad7,5" : @(RTCDeviceTypeIPad6),
@"iPad7,6" : @(RTCDeviceTypeIPad6),
+ @"iPad7,11" : @(RTCDeviceTypeIPad7Gen10Inch),
+ @"iPad7,12" : @(RTCDeviceTypeIPad7Gen10Inch),
+ @"iPad8,1" : @(RTCDeviceTypeIPadPro3Gen11Inch),
+ @"iPad8,2" : @(RTCDeviceTypeIPadPro3Gen11Inch),
+ @"iPad8,3" : @(RTCDeviceTypeIPadPro3Gen11Inch),
+ @"iPad8,4" : @(RTCDeviceTypeIPadPro3Gen11Inch),
+ @"iPad8,5" : @(RTCDeviceTypeIPadPro3Gen12Inch),
+ @"iPad8,6" : @(RTCDeviceTypeIPadPro3Gen12Inch),
+ @"iPad8,7" : @(RTCDeviceTypeIPadPro3Gen12Inch),
+ @"iPad8,8" : @(RTCDeviceTypeIPadPro3Gen12Inch),
+ @"iPad11,1" : @(RTCDeviceTypeIPadMini5Gen),
+ @"iPad11,2" : @(RTCDeviceTypeIPadMini5Gen),
+ @"iPad11,3" : @(RTCDeviceTypeIPadAir3Gen),
+ @"iPad11,4" : @(RTCDeviceTypeIPadAir3Gen),
@"i386" : @(RTCDeviceTypeSimulatori386),
@"x86_64" : @(RTCDeviceTypeSimulatorx86_64),
};