Closed sindresorhus closed 4 years ago
@sindresorhus this is completely amazing ❤️ It's one of the things that I can't implement (I don't have an iOS device), so help is way more than welcome 🕵️
@sindresorhus and @matheuss look like you are working on amazing feature but I don't think iOS going to provide that much access for recording screen. As long I know we can record only our application screen nothing else still best of luck guys.
@KMSoft2013 This feature would allow you to record the actual screen output, meaning anything shown on your iPhone/iPad, not just your own app screen. This is already possible with QuickTime.
@issuehunt has funded $100.00 to this issue.
@sindresorhus Hi, I want to share some tips for implement recording on iOS, first of all exist two posible ways to do that:
Using ReplayKit (https://developer.apple.com/documentation/replaykit) The inconveniences of this approach, are in permissions that needs to be accepted by the user before start recording and not only, you also have the possibility to record another apps, and personal user device information because it isn't focused on specific app and record all entire screen
Capture UIWindow (https://developer.apple.com/documentation/uikit/uiwindow) This take the advantage to make screenshots directly from your application without permissions needed for the user. But the inconvenience are the time to implement this, since it's not trivial (you just take screenshots and you need to generate the video file) and with the restriction about recording gpu rendering content like games, webgl
@VMadalin That's the way to record an iOS screen from iOS. But this is about recording an iOS screen from macOS. That's different. I've already implemented the logic to make the iOS be discoverable as a video input (https://github.com/wulkano/Aperture/commit/ce2e2289bf0ca92aeb6bc4337c8d4826a09d0642#diff-c2e05a2beb4ce9da0391acb4a00055ccR9), so we just need to add support for selecting a video input instead of a screen.
@sindresorhus In that case, I know already solution that was implement on Zoom application and here I share with you the video (https://www.youtube.com/watch?v=tgutpcJ8NwU)
I'm not expert on that but apparently they created an Airplay server from Mac and use Screen Mirroring option from iOS, and after a little research I found the following framework (https://github.com/AirCastLab/aircast-mac)
@VMadalin This is not the correct way to do it either. I already outlined how to do it.
I'll try to do it if nobody else is working on it right now.
That'd be great @Ybrin, did you see the previous work by @sindresorhus and his outline for how to go about it? Is there anything else you need?
@skllcrn Thanks, I got this already in #69
Nice.
@sindresorhus has rewarded $90.00 to @ybrin. See it on IssueHunt
I've started the work in https://github.com/wulkano/aperture/commit/ce2e2289bf0ca92aeb6bc4337c8d4826a09d0642.
We still need to add support for recording the iOS screen. It's not considered a screen, but rather a normal video input, so we need to add some custom logic for that.
IssueHunt Summary
#### [ ybrin](https://issuehunt.io/u/ybrin) has been rewarded. ### Backers (Total: $100.00) - [ issuehunt](https://issuehunt.io/u/issuehunt) ($100.00) ### Submitted pull Requests - [#69 Add ios screen recording feature](https://issuehunt.io/r/wulkano/Aperture/pull/69) --- ### Tips - Checkout the [Issuehunt explorer](https://issuehunt.io/r/wulkano/Aperture/) to discover more funded issues. - Need some help from other developers? [Add your repositories](https://issuehunt.io/r/new) on IssueHunt to raise funds.