iOS replayKit 问题。当 运行 应用程序时默认加载 'Broadcast Upload Extension'?
iOS replayKit question. default load 'Broadcast Upload Extension' when running application?
如果我运行广播上传扩展方案,
- (void)processSampleBuffer:(CMSampleBufferRef)sampleBuffer withType:(RPSampleBufferType)sampleBufferType
获取 sampleBuffer.
但是如果我运行申请scheme,Broadcast Upload Extension不工作。
为什么我获取不到sampleBuffer?
广播上传扩展在您的案例中作为不同的进程运行 name:replayKit。
此过程在您开始录制时运行。
按照此步骤开始录制。
https://support.apple.com/en-us/HT207935
如果要在断点处中断,Xcode -> 调试 -> 通过 PID 或名称附加进程... -> 指定广播上传扩展名称:"replayKit"
如果我运行广播上传扩展方案,
- (void)processSampleBuffer:(CMSampleBufferRef)sampleBuffer withType:(RPSampleBufferType)sampleBufferType
获取 sampleBuffer.
但是如果我运行申请scheme,Broadcast Upload Extension不工作。
为什么我获取不到sampleBuffer?
广播上传扩展在您的案例中作为不同的进程运行 name:replayKit。 此过程在您开始录制时运行。
按照此步骤开始录制。 https://support.apple.com/en-us/HT207935
如果要在断点处中断,Xcode -> 调试 -> 通过 PID 或名称附加进程... -> 指定广播上传扩展名称:"replayKit"