JRTCSDK-iOS v2301.0
多方通话 API 文档
|
屏幕采集 更多...
#import <JRTCBroadcastSampleHandler.h>
类方法 | |
(void) | + broadcastStartedWithAppGroupId:initWithSampleHandler: |
broadcastStartedWithSetupInfo时调用,开启屏幕共享 | |
(void) | + processSampleBuffer:withType: |
processSampleBuffer时调用 | |
(void) | + broadcastFinished |
broadcastFinished时调用 | |
(void) | + broadcastResumed |
broadcastResumed时调用 | |
(void) | + broadcastPaused |
broadcastPaused时调用 | |
屏幕采集
+ (void) broadcastStartedWithAppGroupId: | (NSString *) | appGroupId | |
initWithSampleHandler: | (ios(10.0)) | API_AVAILABLE | |
broadcastStartedWithSetupInfo时调用,开启屏幕共享
appGroupId | app和extension共同的groupId |
sampleHandler | 系统回掉的RPBroadcastSampleHandler对象,包含插件信息 |
+ (void) processSampleBuffer: | (CMSampleBufferRef) | sampleBuffer | |
withType: | (ios(10.0)) | API_AVAILABLE | |
processSampleBuffer时调用
sampleBuffer | processSampleBuffer采集上来的sampleBuffer |
sampleBufferType | processSampleBuffer采集上来的sampleBufferType |