rainbowcreatures / FlashyWrappers

AIR / Flash video recording SDK
17 stars 10 forks source link

ReplayKit throws exception when starting #27

Open syberkitten opened 7 years ago

syberkitten commented 7 years ago

Been trying the experimental replay kit, when i start it (after loading and getting the ready event): I get this error: [Fault] exception, information=Error: [FlashyWrappers error] Error Domain=com.apple.ReplayKit.RPRecordingErrorDomain Code=-5803 "(null)"

using:

rainbowcreatures commented 7 years ago

Hey, it seems some devices are not supported by ReplayKit, regardless of iOS version:

https://spryfox.zendesk.com/hc/en-us/articles/219399537-What-are-the-requirements-for-using-ReplayKit-iOS-devices-only-

syberkitten commented 7 years ago

This means that It's not really applicable..... iPad 1 iPad 2 iPad 3 iPad 4 iPad mini 1 iPhone 1 iPhone 2 iPhone 3 iPhone 4 iPhone 4S iPhone 5 iPhone 5C iPod Touch 1st Gen iPod Touch 2nd Gen iPod Touch 3rd Gen iPod Touch 4th Gen iPod Touch 5th Gen

The list covers most of the devices including all the iPads'.....

I guess it means using the normal capture, then.

will it work with sound as well when recording the whole app, and will i be able to pause and resume recording ?

rainbowcreatures commented 7 years ago

Yeah, its strange. I've got iPad mini 2 so I never realized there is such a list, until I googled for it just now. I thought it would be limited by iOS version as usual... I don't really understand why they did it, probably they were worried recording on older devices will limit performance and they didn't want to deal with support caused by that.

"Normal" recording doesn't work with sound by default (it doesn't record audio magically). You'd need to use methods to add soundtracks or use FWSoundMixer (also an open source project here) to do your own sound mixing by playing virtual sounds and sending them to FW.

Pause/resume is not supported as well.