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

iOS WebRTC How to replace input audio with custom source

I am trying to replace the A/V source using the native google WebRTC. I'm using the latest pod of GoogleWebRTC and using the current Google demo project. Replacing the video source was pretty easy and quick, the audio input not so much. The default…
John Lanzivision
  • 425
  • 4
  • 12
4
votes
2 answers

How to Record Screen, when app is in background?

--> I've made screen recorder using RPSScreenRecord which is able to record screen in foreground. But how can I continue record screen when app is in background ? --> Any Help and suggestion will be appreciated. Thanks in advance!!
Jecky
  • 476
  • 1
  • 4
  • 21
4
votes
1 answer

ReplayKit – Recording Screen Video with Internal Audio

Recently while working on a project, I need to record system screen with the App audio as well as microphone audio. I tried following solutions. With the help of Replay kit and its function startRecording Before Calling…
kunal mittal
  • 41
  • 1
  • 3
4
votes
2 answers

ReplayKit saving video fails first try with mic

Scenario 1: Fire up AVAssetWriter with Audio / Video writer input. Use RPScreenRecorder to start recording with no microphone and process the sample buffers. File writes out fine to Photos on first try. Scenario 2: Fire up AVAssetWriter with…
codeisforeva
  • 471
  • 5
  • 20
4
votes
1 answer

How do I draw onto a CVPixelBufferRef that is planar/ycbcr/420f/yuv/NV12/not rgb?

I have received a CMSampleBufferRef from a system API that contains CVPixelBufferRefs that are not RGBA (linear pixels). The buffer contains planar pixels (such as 420f aka kCVPixelFormatType_420YpCbCr8BiPlanarVideoRange aka yCbCr aka YUV). I would…
nevyn
  • 7,052
  • 3
  • 32
  • 43
4
votes
1 answer

ReplayKit: startRecording() completion handler is never entered

Problem description The startRecording() completion handler is never entered, even though the "Allow screen recording in $AppName" pop-up was shown. The "Allow screen recording in $AppName" pop-up is shown occasionally. This happens also when I…
Flupp
  • 856
  • 10
  • 24
4
votes
2 answers

how to prevent screen record in ios11

To some reasons, our APP dont't want people record screen, but in ios11 a new feature can let user record there iphone screen, so is there an API or notification indicate me user is recording now thank u very much
Wong Sam
  • 347
  • 3
  • 9
4
votes
2 answers

Replaykit window doesnt dismiss when pressing cancel button in Swift?

Im using replay kit to record my screen and when the preview screen pops up theres a cancel button to dismiss the screen but it doesn't do anything. I have the delegate func previewControllerDidFinish with the code to dismiss it but it doesn't go…
coding22
  • 689
  • 1
  • 7
  • 28
4
votes
1 answer

RPPreviewViewController's share extension invalidated with ReplayKit

After recording video using ReplayKit, the RPPreviewController is presented. But when selecting Messages from the share extension, the screen goes black. The following is logged out at this time: plugin com.apple.ReplayKit.RPVideoEditorExtension…
vikzilla
  • 3,998
  • 6
  • 36
  • 57
3
votes
1 answer

ReplayKit Broadcast upload extension - Service not found

I'm working on an IOS swift application that will allow the user to record the entire screen, any app and even the home screen. In order to do that, I added a Broadcast Upload Extension to my app. First I used the RPSystemBroadcastPickerView class…
Naweap
  • 105
  • 8
3
votes
1 answer

Exclude UI elements from ReplayKit screen capturing

While capturing the screen with Replaykit, how do i exclude ui elements from the recording? I now in general i need to add them into a seprate window , but my previus attemnts where not successful. how do i create another window for the ui elements…
Nevgauker
  • 241
  • 1
  • 12
3
votes
1 answer

iOS screen sharing (using ReplayKit) using WebRTC in swift

I have successfully implemented ReplayKit. SampleHandler.swift class SampleHandler: RPBroadcastSampleHandler { override func broadcastStarted(withSetupInfo setupInfo: [String : NSObject]?) { } override func processSampleBuffer(_…
Daxesh Nagar
  • 1,405
  • 14
  • 22
3
votes
2 answers

What are the delegate methods for ReplayKit's initial alert choices?

When the the user first decides to use ReplayKit there is an alert that appears. It gives 3 choices: -Record Screen and Microphone -Record Screen Only -Don’t Allow What are the delegate methods so that I can find out which option a user choose?
Lance Samaria
  • 17,576
  • 18
  • 108
  • 256
3
votes
0 answers

How to implement Broadcast Upload extension in landscape?

I'm handling ReplayKit2 in iOS, i would like to rotate the CMSampleBuffer to landscape (It always portrait). Could you please advice me a way to do that ? Here is my code override func processSampleBuffer(_ sampleBuffer: CMSampleBuffer, with…
Nguyen Hoang
  • 65
  • 1
  • 8
3
votes
1 answer

Display custom error message from iOS broadcasting extension

My application bundle consists of the main app (normal iOS application) and broadcasting extension (ReplayKit 2). My app contains a button (RPSystemBroadcastPickerView), which opens a system popup to select a broadcasting extension and start it. The…
Daniel
  • 635
  • 1
  • 5
  • 22
1 2
3
14 15