‪JMSDK iOS  ‪v2.8.0
‪API文档
类方法 | 所有成员列表
JCBroadcastSampleHandler类 参考

‪屏幕共享采集类 更多...

#import <JCBroadcastSampleHandler.h>

类 JCBroadcastSampleHandler 继承关系图:

类方法

(void) + broadcastStartedWithAppGroupId:initWithSampleHandler:
 ‪broadcastStartedWithSetupInfo时调用,开启屏幕共享 更多...
 
(void) + processSampleBuffer:withType:
 ‪processSampleBuffer时调用 更多...
 
(void) + broadcastFinished
 ‪broadcastFinished时调用 更多...
 
(void) + broadcastResumed
 ‪broadcastResumed时调用 更多...
 
(void) + broadcastPaused
 ‪broadcastPaused时调用 更多...
 

详细描述

屏幕共享采集类

函数文档

◆ broadcastFinished

+ (void) broadcastFinished

‪broadcastFinished时调用

◆ broadcastPaused

+ (void) broadcastPaused

‪broadcastPaused时调用

◆ broadcastResumed

+ (void) broadcastResumed

‪broadcastResumed时调用

◆ broadcastStartedWithAppGroupId:initWithSampleHandler:

+ (void) broadcastStartedWithAppGroupId: (NSString *)  appGroupId
initWithSampleHandler: (ios(10.0))  API_AVAILABLE 

‪broadcastStartedWithSetupInfo时调用,开启屏幕共享

参数
appGroupId‪app和extension共同的groupId
sampleHandler‪系统回掉的RPBroadcastSampleHandler对象,包含插件信息

◆ processSampleBuffer:withType:

+ (void) processSampleBuffer: (CMSampleBufferRef)  sampleBuffer
withType: (ios(10.0))  API_AVAILABLE 

‪processSampleBuffer时调用

参数
sampleBuffer‪processSampleBuffer采集上来的sampleBuffer
sampleBufferType‪processSampleBuffer采集上来的sampleBufferType

该类的文档由以下文件生成: