Questions tagged [rpbroadcastsamplehandler]

8 questions
2
votes
0 answers

ReplayKit - Broadcast Upload Extension - EXC_RESOURCE RESOURCE_TYPE_MEMORY

It seems that I encounter a bug from Apple ReplayKit extension. How to reproduce: under Xcode 11.3.1 with a device iPhone 6S under iOS 13.3.1 if you try to debug an empty Broadcast Upload Extension under ANY application. if you authorize the…
2
votes
0 answers

How to stop Screen Recording in App Swift 4

I have one code for detected if user try to screen recorder now I want to stop recording that's mean the red part in left side is stoped here is my code for detecting now how can I stop recording automatically or dismiss recording in isCaptured ==…
MidDev
  • 182
  • 1
  • 15
2
votes
0 answers

Add Icon and App name and Bundle ID to Broadcast Swift 4

I have one Broad cast I want to add UIImage as Icon and add Name for Showing I find this code but How can I use it here is code I found it but how can I add the icon and app name ? [func loadBroadcastingApplicationInfo(completion handler: @escaping…
MidDev
  • 182
  • 1
  • 15
2
votes
1 answer

Is there a way to finish broadcast gracefully from within RPBroadcastSampleHandler?

I am implementing a broadcast upload extension in iOS using my own custom SampleHandler extending RPBroadcastSampleHandler. The problem is pretty easy - I need a way to gracefully end the broadcast from within the extension. The requirement is to…
Milan Nosáľ
  • 19,169
  • 4
  • 55
  • 90
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 screen capture RPBroadcastSampleHandler callbacks some bad video frames (yuv nv12) when the screen fps is high?

I'm working on screen capturing and recording on iOS, it's based on the ReplayKit and RPBroadcastSampleHandler, the video and audio frame was callback in processSampleBuffer:withType:. it results good if the screen was still, but when it moves,…
0
votes
1 answer

Capturing a CMSampleBuffer using an RTCAudioSource on iOS

I'm trying to stream a CMSampleBuffer video / audio combo using WebRTC on iOS, but I'm running into trouble trying to capture audio. Video works just fine: guard let pixelBuffer = CMSampleBufferGetImageBuffer(sampleBuffer) else { print("couldn't…
William
  • 81
  • 1
  • 9
0
votes
1 answer

How to store broadcasting data from RPBroadcastSampleHandler when broadcasting finished in local document directory of iPhone?

Can anybody help. I want to store broadcasting data from RPBroadcastSampleHandler in local directory of iPhone storage?