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

iOS Broadcast Extension(Screen Broadcasting) is not Working

I'm new to Programming Business and making Broadcasting App Which is supposed to Handle Screen Broadcast Function(iPhone Control Center --> Broadcast. Like a Mobcrush). So I try to implement Broadcast App Extension that was introduced at WWDC, but…
2
votes
1 answer

extract the view from ReplayKit without presenting the view controller in iOS objective c

i am using ReplayKit for screen recording and i need to get a hold of the video instead of presenting it in the viewController, i have tried the following: - (void)stopScreenRecording { RPScreenRecorder *sharedRecorder =…
user3411226
  • 183
  • 1
  • 14
2
votes
1 answer

Replay kit Not working IPAD IOS11 BUG

I am using following code to record screen. It is working fine for ios10 and ios9 @IBAction func btnRecordTapped(_ sender: UIButton) { if RPScreenRecorder.shared().isAvailable { if #available(iOS 10.0, *) { …
Prashant Tukadiya
  • 15,838
  • 4
  • 62
  • 98
2
votes
1 answer

Replaykit generate log "The operation couldn’t be completed. (com.apple.ReplayKit.RPRecordingErrorDomain error -5803.)" on start recording

func startRecording() { let recorder = RPScreenRecorder.shared() recorder.startRecording(withMicrophoneEnabled: false, handler: { (error) in if let unwrappedError = error { print(unwrappedError.localizedDescription) …
Darshit Shah
  • 2,366
  • 26
  • 33
2
votes
0 answers

How to get the video path of the Replay Kit?

Our app is a live app, do a video screen function, i use the replaykit. I want to customize the video preview, but i can not get the video of the recorded path.
ylgwhyh
  • 1,588
  • 18
  • 21
2
votes
1 answer

Replay Kit IOS not working?

I tried code on simulator iOS-10 with this link https://code.tutsplus.com/tutorials/ios-9-an-introduction-to-replaykit--cms-25458 But code is not working. Its not showing any window asking for the options. Completion handler for the start is called…
2
votes
1 answer

Can you test replaykit in the simulator in Xcode?

Im in the ipad air 2 simulator and trying to test replaykit and see if the window pops up to view the video of the recorded screen. When I do that I get an error saying this. Is that because Im testing it in the simulator? plugin…
coding22
  • 689
  • 1
  • 7
  • 28
2
votes
1 answer

ReplayKit and the title of the preview

Another ReplayKit question: When showing the preview view controller after stopping the recording, ReplayKit seems to use the target name in the title, subtitled by the current date. We would like to change this title since the project name does not…
Jonny
  • 15,955
  • 18
  • 111
  • 232
1
vote
1 answer

Record only capture the main window using SwiftUI

The ReplayKit recording will only capture the main window of your application. When designing for screen recording, you can place any UI elements in a separate UIWindow object. Although applications typically only have one UIWindow, iOS allows many…
Bogdan
  • 11
  • 2
1
vote
0 answers

How to get the status of the App switcher during screen sharing with ReplayKit

I would like to execute a certain process only when an iOS screen sharer is using the App switcher during screen sharing. Is there a way to get the status of the App switcher (if it's active or not) during screen sharing with ReplayKit? And if so,…
Kendai
  • 11
  • 3
1
vote
0 answers

Compress CVSampleBuffer in BrodcastExtension

I have an app that broadcasts the screen of the device. I am using OpenTok library to send the frames. Their library does not handle the compressing process so every time I send a frame using this code to consume…
Mehmet Baykar
  • 367
  • 3
  • 11
1
vote
0 answers

iOS ReplayKit locks screen rotation and prevents auto-roatation of iPhone/iPad

I experience a weird issue when working with Replay Kit. Specifically, when I call startCapture, the app no longer responds to rotations. It locks the current orientation RPScreenRecorder.shared().startCapture(handler: { [weak self] (sampleBuffer,…
Ross Stepaniak
  • 877
  • 1
  • 6
  • 22
1
vote
1 answer

URL of screen recording from ReplayKit

I like to get the url of the ReplayKit screen recording instead of saving the video to my camera roll or forwarding it. From a WWDC 2017 video, it was mentioned that to get the url, one can use the following function: func stopRecording(withOutput…
Athena
  • 31
  • 2
1
vote
2 answers

Check if Screen is recording swift

I am trying to check if the screen is recording before allowing a following action, I initially tried to use ReplayKit to automatically record, but this isn't a viable solution because it doesn't allow for recording outside the app, so basically…
Anthony
  • 929
  • 7
  • 21
1
vote
1 answer

iOS screen sharing (ReplayKit) using WebRTC in swift

I implemented webrtc SDK for video calling and its working fine . During video call user can share screen with another user. I am using RePlayKit for screen sharing. Here is my code class SampleHandler: RPBroadcastSampleHandler { var…
Daxesh Nagar
  • 1,405
  • 14
  • 22