3 Replies
      Latest reply on Jul 3, 2018 11:37 AM by Sarayoodharan
      actiontec Level 1 Level 1 (0 points)

        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.