processSampleBuffer function not called in BroadCast Upload Extension

On iOS 11 ReplayKit 2, I created Broadcast Upload Extension with SetupUI for screen live broadcast.

It runs without error, but sampleHandler.m functions below are never called:


- (void)processSampleBuffer:(CMSampleBufferRef)sampleBuffer withType:(RPSampleBufferType)sampleBufferType

- (void)broadcastStartedWithSetupInfo:(NSDictionary<NSString *,NSObject *> *)setupInfo


info.plist is set to:

com.apple.broadcast-services-upload, and

com.apple.broadcast-services-setupui


NSExtensionPrincipalClass is set to SampleHandler

RPBroadcastProcessMode is set to RPBroadcastProcessModeSampleBuffer


What's wrong?

Any feedback is appreciated.


Thanks.

Replies

Hi,I'm having the same problem,are you solved it?

did anyone found out how to solve this ?

App groups did the trick. create app group in the developer program and then group the main apps appid, extension's appid and extentions ui's app id in to that group.