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
1
vote
1 answer

Save Samplebuffer to camera roll swift

I'm using ReplayKit to record video: let sharedRecorder = RPScreenRecorder.shared() sharedRecorder.startCapture(handler: { (sampleBuffer, sampleType, error) in print("VIDEO INPUT:", sampleBuffer) }, completionHandler: {…
John
  • 799
  • 6
  • 22
1
vote
1 answer

How to add application to the record/broadcast section of the control center in iOS11?

Does anyone know, how it is possible to add an application to the control center in iOS 11 like TeamViewer does? Thanks for any kind of help.
thatmarcel
  • 388
  • 3
  • 15
1
vote
2 answers

Can I use ReplayKit to record both microphone and system audio?

There is not much documentation online about this because it's an odd task. I am trying to record my screen, the internal microphone, and the system audio at the same time using ReplayKit. Here is how I am recording my screen right now: …
evenodd
  • 2,026
  • 4
  • 26
  • 38
1
vote
0 answers

ReplayKit not calling stopRecording completion handler sometimes

I'm using iPad WiFi 2017 iOS 11.0.3. It only happens sometimes, and only first time the app is opened. Steps to reproduce it: Open the app Start a new recording Stop it If handler is called, then it worked. Then, to try to reproduce the issue…
Sergio Viudes
  • 2,714
  • 5
  • 26
  • 44
1
vote
2 answers

ReplayKit stopRecording not entered the first time

I am trying to video capture an ARKIt app using ReplayKit. I have a record button, when pressed turned red and start recording, then pressed again to turn white and stop recording. But the stopRecording method never worked on the first time. if…
Lim Thye Chean
  • 8,704
  • 9
  • 49
  • 88
1
vote
1 answer

Unity ReplayKit how to bypass native preview?

Using the Unity ReplayKit API from https://docs.unity3d.com/550/Documentation/ScriptReference/Apple.ReplayKit.ReplayKit.html I can record, preview and share screen recordings just fine, however due to design & UX requirements I need to have custom…
tiivik
  • 91
  • 5
1
vote
1 answer

ReplayKit doesn't work when work with webrtc

I use WebRtc to create a peer to peer connection to share video and audio. i want to use replaykit to record Screen & Microphone.if i start recording after the peer connection has been established which means the two can share video and audio from…
potato
  • 333
  • 1
  • 10
1
vote
1 answer

iOS 11 - Do not allow recording of app

Apple announced system-level screen recording to be a feature of iOS 11. This is great for gaming and probably many other use cases, but not good for content apps such as Netflix, YouTube, Spotify, etc. Will it be possible for developers to not…
FateNuller
  • 878
  • 2
  • 12
  • 27
1
vote
0 answers

ReplayKit access to recording and custom preview actions

I am using the replayKit to record my game. After the recording is done, I want to upload the video to my server. 1. How do I access the recording from my app 2. The preview has "save" and "cancel" actions. How do I make my own custom actions like…
1
vote
2 answers

RPPreviewViewController disables audio after playback

I'm using replaykit in my app, and after the user has done a recording I provide a button to "share" the video. I present the RPPreviewViewController, and if I click play in the video, when I go back to the app, audio doesn't work. It only works…
CodyMace
  • 646
  • 1
  • 8
  • 19
1
vote
0 answers

Is there a way to show comments and hearts from periscope using replaykit?

Im using replaykit and periscope to live stream my apps screen and I want to be able to show the comments and hearts as well. Is there a way to do that?
coding22
  • 689
  • 1
  • 7
  • 28
1
vote
2 answers

ReplayKit sharing video to facebook has no commentary

I'm recording a video with commentary, and I'm using replaykit. Everything is working fine on iPhone, but when I share to facebook, my videos has no sound at all. I've downloaded a video to my mac and it's m4v with sound. But when I'm trying to…
Michal Rogowski
  • 431
  • 3
  • 18
1
vote
2 answers

ReplayKit RPBroadcastActivityViewController iPad

How do I present the RPBroadcastActivityViewController on iPads. I am using the standard code to start a recording RPBroadcastActivityViewController.load { [unowned self] (broadcastActivityViewController, error) in // If an error has…
crashoverride777
  • 10,581
  • 2
  • 32
  • 56
1
vote
1 answer

Unable to Dismiss the PreviewViewController when Using iOS ReplayKit with Unity 5.3.4 via Custom Plugin

I am attempting to use ReplayKit's native screen recording functionality along with my Unity app so that I can enjoy the benefits of native screen recording and sharing UI. I have created a Unity plugin which calls my native code written in…
Tim Mutlow
  • 11
  • 4
1
vote
1 answer

Why cant I show my facebook interstitial ad after dismissing a view controller?

Im working with ReplayKit and when I press the cancel or save button it dismisses the view controller and I would like to show an ad. The problem is that the ad doesn't show up and I get this error: How do I fix it? Thanks! Warning: Exception…
coding22
  • 689
  • 1
  • 7
  • 28