1

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 working.

Why can't I get sampleBuffer?

enter image description here enter image description here

4

1 回答 1

0

广播上传扩展在您的案例中以不同的进程名称运行:replayKit。此过程在您开始录制时运行。

按照此步骤开始录制。 https://support.apple.com/en-us/HT207935

如果你想在断点处中断,Xcode -> Debug -> Attach process by PID or Name... -> 指定 Broadcast Upload Extension name:"replayKit"

于 2018-09-04T20:53:42.977 回答