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
0
votes
2 answers

ReplayKit SampleHandler pass data to the app module from upload broadcast extension

I've created an Upload Broadcast Extension to capture screen recording and my main app uses native webrtc for audio/video calls. I'm successfully able to receive frames inside the SampleHandler class. My question is how to pass the data from this…
Jaswant Singh
  • 9,900
  • 8
  • 29
  • 50
0
votes
1 answer

Trouble with screen recording in iOS

I've got some trouble with screen recording using ReplayKit So, the strangeness begins in the startCapture's handler closure Every time it starts to capture and sampleType is .video, the self.videoWriter?.startSession is called, and instantaneously…
Skufler
  • 187
  • 1
  • 4
  • 14
0
votes
1 answer

How to send CMSampleBuffer to WebRTC?

So I am using Replaykit to try stream my phone screen on a web browser. override func processSampleBuffer(_ sampleBuffer: CMSampleBuffer, with sampleBufferType: RPSampleBufferType) { //if source!.isSocketConnected { switch sampleBufferType…
Sam J Smith
  • 3
  • 1
  • 2
0
votes
1 answer

Replaykit - Recording not starting Error- 5803

I want to start recording in my App, I am using ReplayKit func startRecordn(){ recorder.startRecording{ [unowned self] (error) in //2 guard error == nil else { print("There was an error starting the…
0
votes
2 answers

Get recorded video samples from RPSystemBroadcastPicker Swift Xcode

I have managed to implement a function, with which the user is able to record his screen when pressing a button. I have accomplished that by adding a RPSystemBroadcastPickerView to my respective ViewController: var picker:…
Oscar Junius
  • 320
  • 3
  • 10
0
votes
1 answer

Scale CMSampleBuffer Size Without Passing the Memory Limit Of Broadcast Extension

I am developing an app that sends pixel buffers from the Broadcast Upload Extension to OpenTok. When I run my broadcast extension it hits its memory limit in seconds. I have been looking for ways to reduce the size and scale of CMSampleBuffers and…
Mehmet Baykar
  • 367
  • 3
  • 11
0
votes
0 answers

BroadCast Extension Send PixelBuffer to OpenTok Servers

I am developing an app that has a Live Streaming of screen feature using OpenTok API. I have to do memory management on sending the buffers to OpenTok servers since they do not accept original buffers from SampleHandler. Therefore, I need to find a…
Mehmet Baykar
  • 367
  • 3
  • 11
0
votes
1 answer

Custom RPSystemBroadcastPickerView?

I'm launching system broadcasting picker used for screen recording on iPhone with RPSystemBroadcastPickerView button and it works properly. However it seems that there is no way to customize the look of this RPSystemBroadcastPickerView button.…
Leszek Szary
  • 9,763
  • 4
  • 55
  • 62
0
votes
3 answers

How to record screen and broadcast to smart TV in the same wifi network on ios app?

I used Broadcast Extension for screen recording on ios device. But I don't know how to stream ios device screen to smart TV on same wifi network?
xamxier
  • 1
  • 1
0
votes
1 answer

replayKit RPSampleBufferType does not have video

I am using ReplayKit to record the screen. However, I have a very strange issue with having video buffers. When user taps record button, the following method is called; rpScreenRecorder.startCapture { (sampleBuffer, bufferType, error) in …
musakokcen
  • 359
  • 2
  • 12
0
votes
1 answer

Hide Broadcast Upload Extension in Control Center

I have implemented the Broadcast Upload Extension in my app. My requirement is that the user must start it only within the app, but right now there is an entry in the recorder button in Control Center that lets the user also start it from there. My…
svprdga
  • 2,171
  • 1
  • 28
  • 51
0
votes
2 answers

Customise the color of buttons in the RPPreviewViewController (ReplayKit)

I have recorded a video sequence with RPScreenRecorder. Everything works perfectly fine. Now I want to customize the UI of the preview controller. How can I change the color of the cancel and save buttons? Yeah, in general I know how to change the…
tk97tk
  • 71
  • 1
  • 6
0
votes
1 answer

AVAssetWriter recorded audio no sound

My app can record the audio from the chat and save it in file. I recorded some music on the app screen but when I playback the audio.m4a file there is no sound coming out. The file show as "Apple MPEG-4 audio" and has 12KB size. Did I config the…
14079_Z
  • 401
  • 5
  • 20
0
votes
1 answer

iOS Replaykit Screen Recording with Custom Video Setting (resolution, bitrate etc.)

I'm using Replaykit framework to capture screen in iOS 14 app, xcode 12. I need to provide custom setting (screen resolution, bitrate etc) to store the recorded video. is there way to do that?
0
votes
1 answer

Fails running sample project with Broadcast Upload Extension on iOS device

I'm trying to make from scratch a simple iOS app with a Broadcast Upload Extension. The scope is just showing the RPSystemBroadcastPickerView, start broadcasting and receive the audio & video samples in the upload extension. This is the code for…
alexbumbu
  • 321
  • 3
  • 10