iphone-xs-max

How to use the stereo (2 channel) built in microphone in iPhone XS, inside AVAudioSession?

自古美人都是妖i 提交于 2020-05-15 08:41:53
问题 I'm trying to get both channels from the supposedly stereo rear microphone out of the iPhone XS but can only ever see a single channel at various points in the AVAudioSession and AVAudioSessionPortDescription's associated with the rear camera. I have tried using AVAudioSession APIs like setPreferredInputNumberOfChannels do { try session.setPreferredInputNumberOfChannels(2) } catch let error { debugPrint("\(error)") } But get an error: Error Domain=NSOSStatusErrorDomain Code=-50 Has anyone had

Why did H.264, MPEG-4 HE AAC stop working on iphoneXS/Max?

假装没事ソ 提交于 2019-12-22 07:01:12
问题 Issue regarding NEW hardware I have been investigating like crazy, and haven't found any hints to why my H.264 encoded videos have stopped working on these new devices. Context: Direct from the ios device, the original is sent to s3, aws elastic transcoder then encodes the original into a more compressed H.264 preset. As of yesterday, a coworker was reporting all videos being "black", now since deliveries on these devices are being fulfilled, i've gotten confirmation. Cannot reproduce this

dyld_shared_cache_extract_dylibs failed for iPhone XS Max running ios 12.1.2

这一生的挚爱 提交于 2019-12-12 14:51:50
问题 I am trying to run my app on iPhone XS Max running iOS 12.1.2, but till the end of the build and it returns "dyld_shared_cache_extract_dylibs failed" , i removed the supported files for it and rerun my app and it gives the same error , any suggestions i'm stuck ????? 回答1: There is a (temporary) solution I've been using... Open Devices and Simulators Remove your device from the list Tap the + button on the bottom left of the window Select the device (before tapping Trust on it) Tap Trust on

Why did H.264, MPEG-4 HE AAC stop working on iphoneXS/Max?

吃可爱长大的小学妹 提交于 2019-12-05 10:33:55
Issue regarding NEW hardware I have been investigating like crazy, and haven't found any hints to why my H.264 encoded videos have stopped working on these new devices. Context: Direct from the ios device, the original is sent to s3, aws elastic transcoder then encodes the original into a more compressed H.264 preset. As of yesterday, a coworker was reporting all videos being "black", now since deliveries on these devices are being fulfilled, i've gotten confirmation. Cannot reproduce this issue on simulator. The encoded videos that are not playing, i've listed the exif data below. Is there is