Questions tagged [replaykit]

ReplayKit is an iOS framework available from iOS 9 that provides the ability to record video, audio and camera within an app or game.

ReplayKit is an iOS framework that provides the ability to record video, audio and camera within an app or game.

Users can share the resulting recordings with other users through social media, or live broadcast the content to sharing services.

Availability From iOS 9 and up

Limitations ReplayKit is not compatible with AVPlayer content and as such cannot record videos.

222 questions
2
votes
1 answer

How to get the status of microphone in ReplayKit Broadcast Extension

I am using ReplayKit Broadcast Extension to record system screen. I am able to get the sample buffer's for video, audioApp, audioMic & process them. Is there any way to get the microphone status i.e whether it's enabled or disabled during the screen…
Ankur Pachauri
  • 141
  • 1
  • 8
2
votes
1 answer

How to know that iOS is going to kill my app extension

I am encountering some issues with a ReplayKit Broadcast Extension I am using to broadcast my screen. I believe iOS is killing it under certain circumstances (e.g. when I sometimes lock the screen); my Broadcast Extension is not being notified of…
user2891462
  • 3,033
  • 2
  • 32
  • 60
2
votes
1 answer

How can I get my app to show in the Screen Broadcast?

I've followed all the directions in the WWDC Video to get my app to show in the Screen Broadcast. The steps are supposed to be: Create a new XCode project File > New > Target > Broadcast Upload Extension In the viewDidLoad of the first view…
Dr. Mr. Uncle
  • 484
  • 5
  • 12
2
votes
1 answer

How can I record an ARKit scene but exclude UI elements?

I'm using ARKit with Scenekit for rendering. I'd like to let users capture videos of the AR session so that they can save it to their photos or share it. Currently I'm using ARVideoKit for this, but the performance leaves something to be desired and…
Matt Bierner
  • 58,117
  • 21
  • 175
  • 206
2
votes
0 answers

Custom alert for ReplayKit screen capture

My App uses ReplayKit for screen recording. It shows the below permission alert when RPScreenRecorder.shared().startCapture() is called. Is it possible to change the text content in the alert? Allow screen capture in ? This application…
Nikhil K S
  • 21
  • 2
2
votes
0 answers

ReplayKit Broadcast Upload Extension with SwiftUI

I'm trying to implement ReplayKit screen broadcast in a SwiftUI app. According to Apple i'll need a Broadcast Upload Extension to handle video upload, as well as few delegate methods to wrap the behaviour of choosing the right extension and starting…
kernelpanic
  • 2,876
  • 3
  • 34
  • 58
2
votes
1 answer

Convert CMSampleBuffer to .mov while broadcasting with ReplayKit

Tell me please whats can be wrong with my code. I try to broadcast my screen to file(newFile.mov) and then send it with some data to server, but it doesn't save and after stop capturing, file steel empty. This is my code from BExtensionUpload that…
2
votes
0 answers

ReplayKit2 - Begin Broadcast Directly From App

In the past, if you wanted to use ReplayKit to stream video to your app, the user had to exit the app, go to Settings, enable the Screen Broadcasting option, swipe to open the Control Panel, and long press the broadcasting button; after completing…
WendiKidd
  • 4,333
  • 4
  • 33
  • 50
2
votes
1 answer

Show exception while click on RPSystemBroadcastPickerView

While clicking on RPSystemBroadcastPickerView's subview button, a controller may present. but t is giving an exception with the following description:- Fatal Exception: NSInvalidArgumentException Application tried to present modally an active…
2
votes
0 answers

Using ReplayKit with MacCatalyst

I have an app for iOS that also runs on macOS via MacCatalyst. I have just started using ReplayKit to add screen recording to the app. It is working well under iOS, but when used on Mac I get the following error when calling…
btschumy
  • 1,435
  • 1
  • 18
  • 35
2
votes
0 answers

ReplayKit - Broadcast Upload Extension - EXC_RESOURCE RESOURCE_TYPE_MEMORY

It seems that I encounter a bug from Apple ReplayKit extension. How to reproduce: under Xcode 11.3.1 with a device iPhone 6S under iOS 13.3.1 if you try to debug an empty Broadcast Upload Extension under ANY application. if you authorize the…
2
votes
0 answers

How to add multiple audio input (CMSampleBuffer) to haishinkit using swift?

I want to add internal and mic audio at same time while streaming to youtube using haishinkit. I am getting noisy beeps sound only while streaming. code used In case of RPSampleBufferType.audioMic: and RPSampleBufferType.audioApp, I am doing…
2
votes
0 answers

Record screen video with audio from microphone

I have a code records screen with audio from the microphone. When we use RPScreenRecorder.shared().startCapture completion handler returns to us sample buffer with video and audio data. There are three types of buffers (video, audio from the app,…
2
votes
0 answers

Add Icon and App name and Bundle ID to Broadcast Swift 4

I have one Broad cast I want to add UIImage as Icon and add Name for Showing I find this code but How can I use it here is code I found it but how can I add the icon and app name ? [func loadBroadcastingApplicationInfo(completion handler: @escaping…
MidDev
  • 182
  • 1
  • 15
2
votes
0 answers

How to change the Camera Roll Name in Screen Recorder from Broadcast

I have one Screen Recorder with RPBroadcastActivityViewController and Replaykit when I tap in recorder the application name is Camera Roll for start recording I want to change this name to App Project name. I don't find Camera Roll Name in Project…
MidDev
  • 182
  • 1
  • 15