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
3
votes
1 answer

Screen recording when my iOS app is in background with ReplayKit

I have tried Broadcast Extension. I have added that extension via target. But, I don't know how to record when my app is in background. Two ways I am trying to record: Via Control center: I can see my app’s target name, after selecting that name,…
McDonal_11
  • 3,935
  • 6
  • 24
  • 55
3
votes
2 answers

iOS ReplayKit stop recording microphone if i play AVPlayer during recording

i am using ReplayKit's RPScreenRecorder.shared().startCapture method to record screen and microphone, but i am facing an issue. if i play AVPlayer while ScreenRecording, the microphone stops recording audio. Below are two scenario. in first…
Ajay saini
  • 2,352
  • 1
  • 11
  • 25
3
votes
0 answers

ReplayKit stops screen recording in background mode of the application or outside the app?

I've implemented screen recording with ReplayKit in foreground mode of the application. But when I'm going outside the app with home button app stops background record. --> There is an app available In App Store which allows background screen…
Jecky
  • 476
  • 1
  • 4
  • 21
3
votes
0 answers

Screen recording from upload extension (NOT Streaming)

I created an objc project which has the broadcast upload extension added to it. My aim is to send the CMSampleBufferRef which is returned in the extension to the main app. I want to be able to change and modify the CMSampleBufferRefs in the main…
3
votes
2 answers

ReplayKit: RPScreenRecorder.shared().startCapture() NOT WORKING

ReplayKit has really been frustrating me recently. For some reason RPScreenRecorder.shared().startCapture(handler: { (sample, bufferType, error) in does not actually work when I call it because I have a print() statement inside it and it is never…
J.Treutlein
  • 963
  • 8
  • 23
3
votes
1 answer

Creating RTCVideoframe with CVPixelBuffer

Need help in creating RTCVideoframe This is the init method for RTCVideoframe RTCVideoFrame(buffer: RTCVideoFrameBuffer, rotation: RTCVideoRotation, timeStampNs: Int64) I am able to get input buffer as CVPixelBuffer How can I convert CVpixelBuffer…
MacDeveloper
  • 1,334
  • 3
  • 16
  • 49
3
votes
0 answers

Getting Image from Broadcast Extension Sample Buffer directly thru buffer for sending thru socket

Firstly; I do not want to go thru the use of a context; be it CIContext, CGContext, etc. Reason for this is that these methods are memory intensive and it causes to hit the arbitrary memory ceiling for app extensions. Have verified that the buffer…
palcabao
  • 51
  • 2
3
votes
1 answer

Unable to get ReplayKit (w/RPBroadcastActivityViewController) to stream to YouTube live - get "The user declined application recording" error

I'm trying to use ReplayKit to live stream from within an iOS app on iOS 11 and Swift 4. My code succesfully live streams to MobCrush, but when I select YouTube and the broadcast is supposed to get kicked off it fails. Relevant code: func…
3
votes
0 answers

ReplayKit Live Data Processing

I'm currently trying to create an app which makes use of the ReplayKit Live feature to broadcast the iPhone screen to a service which I want to provide by myself (basically something similar to what Teamviewer QuickSupport is doing). I do know how…
Lukas
  • 607
  • 4
  • 9
3
votes
1 answer

ReplayKit getting the video without going to RPPreviewViewController

i am using ReplayKit but my problem is that i need to acquire the video (or the temp video), without having to go through RPPreviewViewController i am using the following, but RPPreviewViewController has to be used, is there any other way? -…
user3411226
  • 183
  • 1
  • 14
3
votes
0 answers

ReplayKit doesn't work in iOS sample SpriteKit project code

I am using the sample SpriteKit project in Xcode to test ReplayKit but it just displays the normal app without the without the navigationItem.rightBarButtonItem appearing. Just the black screen with the Hello, World! label. I'm not sure what I am…
Hilarious404
  • 434
  • 3
  • 13
3
votes
2 answers

Can I change Replaykit language?

I use record screen with replaykit. How can I change language of this alert. Or can I make my own custom alert view?
3
votes
1 answer

is it possible to record part of screen with Replaykit?

Here is the start and stop functions. @IBAction func startRecordingAction(sender: AnyObject) { activityView.hidden = false // start recording recorder.startRecordingWithMicrophoneEnabled(true) { [unowned self] (error)…
davudi
  • 117
  • 3
  • 13
3
votes
1 answer

How to test ReplayKit broadcasting in iOS 10 beta?

I followed the steps in https://developer.apple.com/videos/play/wwdc2016/601/ to test broadcasting of ReplayKit in the last iOS 10 beta. I installed some live streaming apps like Mob Crush, SHOWROOM and live.ly, but still get hint that there are no…
Tim
  • 2,121
  • 2
  • 20
  • 30
3
votes
1 answer

How to access the video recorded using Replaykit as a file and merge another video to it?

How to access the video recorded using Replaykit as a file and merge another video to it ?
S S
  • 55
  • 11