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

How to access the view controller which is evoked by the stopRecording() method of ReplayKit framework. And how to save the video in my camera roll

How to access the view controller which is evoked by the stopRecording() method of ReplayKit framework. And how to save the video in the camera roll?
S S
  • 55
  • 11
1
vote
1 answer

ReplayKit and discardRecordingWithHandler

Just me or does discardRecordingWithHandler: in ReplayKit not work? At all. Has anyone ever been able to discard a recording? What I see is, the handler is never called. The recording is never discarded.
Jonny
  • 15,955
  • 18
  • 111
  • 232
1
vote
1 answer

Why doesn't my audio in my game record in ReplayKit?

I have audio playing in my app using MPMusicPlayerController and Im recording the screen using RPScreenRecorder. The problem Im having is that it only records the screen and not the audio in the app. The other problem I have is that when I press the…
coding22
  • 689
  • 1
  • 7
  • 28
1
vote
2 answers

ReplayKit square recording

I was wondering is there any way to force replaykit to record only a part of the screen in square mode? The current API seems to record the whole screen!
iOS.Lover
  • 5,923
  • 21
  • 90
  • 162
0
votes
0 answers

Create videos with react native and generate uri to share or save on device

I have a component that renders a short animation, with a maximum duration of 8s, I need to generate a video of this component and get a uri, so the user can share it or save it on the device. It doesn't seem like anything in react native supports…
0
votes
1 answer

iOS replaykit ,why didn`t have callback when user select "don`t allow " to record screen in ReplayKit

recently i found when user select the last one item [dont allow],but didnt have any callback tell me ,cause the developer don`t konw which one user select it. static private func startCapture(callback:@escaping(_ code:ScreenCheckStatus,_…
boy lucky
  • 26
  • 1
0
votes
0 answers

When a BroadcastSampleHandler is used for screen recording, the screen recording file cannot be played when the call ends

When I was using Replaykit for video development, I did a functional test. First, I clicked the "Start Live" button and turned on the microphone. When a wechat voice call comes in, hang up the voice and continue recording. After a period of time,…
0
votes
0 answers

iOS: Audio not coming with Twilio ReplayKitExample in Broadcast

We are currently using the Twilio ReplayKitExample for broadcast in conjunction with video calls using the library found at https://github.com/twilio/video-quickstart-ios. While we are able to successfully conduct video calls without any issues, we…
Lalit Poptani
  • 67,150
  • 23
  • 161
  • 242
0
votes
0 answers

RPBroadcastSampleHandler method invocation programmatically

I have a container app and a broadcast upload extension. The broadcast upload extension's SampleHandler inherits RPBroadcastSampleHandler When I tap on broadcast picker view and start the broadcast - SampleHandler's broadcastStarted() is called. I…
Ashutosh Shukla
  • 358
  • 5
  • 14
0
votes
0 answers

record video with UIImagePickerController not working while zoom call is active

I'm using UIImagePickerController to record video. It is using fine but when user is on zoom call or sharing the screen the recorder stops and start/stop button stops to respond on user actions. How can I check if call/screen broadcast is on and…
0
votes
1 answer

iOS broadcast Upload Extension not started

I create a RPSystemBroadcastPickerView and setting preferredExtension to the bundle identifier of my broadcast extension. let pickerView = RPSystemBroadcastPickerView(frame: CGRect(x: 0, y: 0, width: 100, height: 100)) …
nenseso
  • 33
  • 5
0
votes
0 answers

How to match RPScreenRecorder screenshot times to application logs

I'm trying to align the screenshots emitted by RPScreenRecorder's startCapture method to logs saved elsewhere in my code. I was hoping that I could just match CMSampleBuffer's presentationTimeStamp to the timestamp reported by…
ryanipete
  • 419
  • 5
  • 15
0
votes
0 answers

iOS Screensharing (ReplayKit) to Windows

I'm learning networking hardware devices and using iOS and PC I've setup ReplayKit to record the screen and send it over a websocket to a windows C# server for display in a browser. The problem I'm facing is potential latency and wondered if a…
Warve
  • 481
  • 1
  • 8
  • 22
0
votes
1 answer

How to modify FPS, Bit rate and resolution for the video programmatically in iOS?

I am implementing the functionality for to record the video in my iOS application, Also, i am using ReplayKit to record a full screen instead of the camera's default capturing In that there is a requirement for customizing, (1) Resolution (2) FPS…
0
votes
0 answers

ReplayKit - Is it possible to get the name of app in use while screen sharing?

In an app that allows screen sharing among multiple users, I would like to implement a certain process only when the screen sharer is using a specific app (e.g. Instagram). In order to implement the above feature, I would like to know if there is a…
Kendai
  • 11
  • 3