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

Screen sharing and camera stream with Twilio SDK

I'm trying to implement an app a'la google hangout where you can create a video conference and share your screen when needed using Twilio SDK. Screen recording should go system-wide so I'm using Replay Kit 2 and the Broadcast Upload Extension. The…
msmialko
  • 1,439
  • 2
  • 20
  • 35
1
vote
1 answer

Is there any way to restrict the duration of output of AVAssetWriter in iOS?

I'm capturing video/audio samples using ReplayKit apis. Below is the snippet for capturing screen frames recorder.startCapture(handler: { (cmSampleBuffer, rpSampleBufferType, error) in AssetWriter.shared.write(buffer:…
umesh
  • 801
  • 1
  • 6
  • 4
1
vote
0 answers

Replaykit stopRecording shows black screen iOS 12

After updating to iOS 12 release version on Sept 18, 2018 - I see that my app with replaykit shows black screen instead of a RPPreviewViewController after stopRecording is called. I present the previewController in stopRecording. The log shows -…
1
vote
1 answer

iOS replayKit question. default load 'Broadcast Upload Extension' when running application?

If I run Broadcast Upload Extension scheme, - (void)processSampleBuffer:(CMSampleBufferRef)sampleBuffer withType:(RPSampleBufferType)sampleBufferType Get it sampleBuffer. but if I run application scheme, Broadcast Upload Extension is not…
yushengchu
  • 13
  • 5
1
vote
0 answers

Image sticking Issue when using iOS replaykit Broadcast Upload Extension

I am testing Broadcast Upload Extension under iOS11.4.1 or 12.0 with iPad6. After extracting the YUV data from CMSampleBufferRef, and saving those data to a file, I get some bad images. The issue seems like that the last frame image still remains on…
walt li
  • 11
  • 3
1
vote
1 answer

How to Stream screen without Broadcast Extension in iOS

I wanna streaming my app to twitch, youtube or such a streaming service without any other application likes mob crush. According to Apple, by using Broadcast Extension I can stream my application screen. Broadcast Extension gave video data as a type…
user3490401
  • 13
  • 1
  • 6
1
vote
0 answers

Xcode 10 beta: linker command failed with exit code 1 RPSystemBroadcastPickerView

I was trying to build and run the below code on simulator but got the linker error: import UIKit import ReplayKit class ViewController: UIViewController { var broadcastPicker:RPSystemBroadcastPickerView? override func viewDidLoad() { …
devdork
  • 195
  • 1
  • 9
1
vote
0 answers

iOS Broadcast Extension using replaykit is not Working

hi i am trying to making broadcasting app which support screen broadcast feature like Mobcrush. So i try to implement Broadcast App Extension that was introduced at WWDC, but my Demo App Doesn't work Well. My Demo App Just Doesn't Broadcast And Just…
Mit Patel
  • 23
  • 5
1
vote
1 answer

How to control upload extension initiated from controller center?

I implemented upload extension and setup RTMP server for broadcasting via upload extension. The broadcasting is initiated from control center, not through SetupUI extension. Since the SampleHandler.m doesn't provide RPBroadcastController, I can't…
user3806731
  • 889
  • 2
  • 8
  • 14
1
vote
0 answers

Broadcast pairing: broadcastURL not valid

I'm using Broadcast pairing with ReplayKit2. In BroadcastSetupViewController when i'm calling self.extensionContext?.completeRequest(withBroadcast: broadcastURL, setupInfo: setupInfo), i've got the following error: [default] [ERROR] Failed to…
1
vote
0 answers

How to raise human voice (mic voice) when using replayKit

In my project I have to use replayKit to record video and human voice in my app, and the microphone volume is really down after recording, which means the app background music always beats my voice. does anyone know about this?
張憲騰
  • 11
  • 1
1
vote
1 answer

CVPixelBufferCreate does not care Planar format

I try to rotate CoreVideo '420f' image without transfer to RGBA. The incoming CMSampleBuffer Y-plane bytesPerRow is width + 32. That means Y-plane row size is 8bit * width + sizeof(CVPlanarComponentInfo). But if I call…
user1418067
  • 304
  • 1
  • 8
1
vote
0 answers

ReplayKit 2 Broadcast pairing service is not working

I have integrated Broadcast pairing service in my application using ReplayKit 2. When we start a new session an alert prompt for the permission to accept/deny. Broadcast setup popover will present once we accept the permission. In the application…
Robin JR
  • 141
  • 1
  • 2
  • 11
1
vote
1 answer

UIButton Position Changing| UIWindow | ReplayKit

I'm working with Replaykit for recording the screen.. and excluding video recorder UIButton from the recording using below code... It works well. After recording a video I'm presenting a alert and giving option to edit or delete. when I select edit…
Santosh
  • 1,275
  • 1
  • 10
  • 21
1
vote
1 answer

Live streaming with Replaykit

Can I build an application that uses the sharing screen feature of the replaykit. This feature is similar to the Mobcrush application. This means that instead of using 3rd party services like Mocbrush, Youtube, Facebook ... then Can I use my own…
iOS dev
  • 35
  • 1
  • 6