9#import <Foundation/Foundation.h>
10#import "JRTCRoomCallback.h"
11#import "JRTCRoomParticipant.h"
12#import "JRTCRoomConstants.h"
13#import "JRTCRoomJoinParam.h"
14#import "JRTCRoomQueryInfo.h"
15#import "JRTCSipInviteParam.h"
17#import "JRTCRecordRemoteParam.h"
18#import "JRTCRecordLocalParam.h"
19#import "JRTCModuleBase.h"
20#import "JRTCVideoSize.h"
97@property (nonatomic, readonly, copy, nullable) NSString *roomId;
102@property (nonatomic, readonly, assign)
unsigned int roomHandle;
107@property (nonatomic, readonly, copy, nullable) NSString *password;
123@property (nonatomic, readonly, strong, nullable) NSArray<JRTCRoomParticipant *> *participants;
131@property (nonatomic, readonly, assign)
bool uploadLocalAudio;
139@property (nonatomic, readonly, assign)
bool uploadLocalVideo;
149@property (nonatomic, readonly, assign)
bool audioOutput;
156@property (nonatomic, readonly, copy, nullable) NSString *shareStreamId;
163@property (nonatomic, readonly, copy, nullable) NSString *shareUserId;
171@property (nonatomic, readonly, assign)
bool localRecording;
176@property (nonatomic, readonly, copy, nullable) NSString *title;
184@property (nonatomic, readonly, assign)
RecordState remoteRecordState;
192@property (nonatomic, readonly, assign)
CDNState cdnState;
199@property (nonatomic, assign)
bool canBindCamera;
207@property (nonatomic, assign)
bool notifyVolumeChange;
224+ (
JRTCRoom* __nullable)create:(
JRTCClient* __nonnull)client mediaDevice:(
JRTCMediaDevice* __nonnull)mediaDevice callback:(
id<JRTCRoomCallback> __nonnull)callback;
250- (int)query:(NSString* __nonnull)roomId;
263- (bool)join:(NSString* __nonnull)roomId joinParam:(
JRTCRoomJoinParam* __nullable)joinParam;
281- (bool)kickUser:(NSString* __nonnull)userId;
289-(void)setUseExternalScreenCaptureControl:(
bool)useExternalControl;
309- (bool)enableUploadAudioStream:(
bool)enable;
329- (bool)enableUploadVideoStream:(
bool)enable;
343- (bool)enableAudioOutput:(
bool)enable;
374- (bool)requestScreenVideo:(
JRTCVideoSize *__nonnull)videoSize;
383- (bool)unRequestScreenVideo;
386#if TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR
405- (bool)enableScreenShare:(
bool)enable appGroupId:(NSString *__nullable)appGroupId preferredExtension:(NSString *__nullable)preferredExtension;
417- (bool)suspendScreenShare:(
bool)suspend tip:(NSString *_Nonnull)tip;
425- (bool)isSuspendScreenShare;
433- (bool)setSubScreenShare:(
bool)enable;
441- (bool)isSubScreenShare;
456- (bool)enableCdn:(
bool)enable keyInterval:(
int)keyInterval;
470- (bool)enableLocalRecord:(
bool)enable recordParam:(
JRTCRecordLocalParam* __nullable)recordParam;
514- (bool)updateRemoteRecordWatermark:(NSDictionary * __nonnull)watermarkTextDic;
527- (bool)enableRemoteAdvancedRecord;
543- (bool)enableAudioInputFromFile:(
bool)enable filePath:(NSString *_Nullable)filePath loop:(
bool)loop DEPRECATED_MSG_ATTRIBUTE("该方法即将废弃,请用JRTCMediaDevice#enableAudioInputFromFile:filePath:loop:代替");
555- (bool)suspendAudioInputFromFile:(
bool)suspend DEPRECATED_MSG_ATTRIBUTE("该方法即将废弃,请用JRTCMediaDevice#suspendAudioInputFromFile:代替");
749- (NSString* __nullable)getStatistics;
775- (NSString * __nullable)getJsonStats;
786- (bool)setCustomProperty:(NSString* __nonnull)value forKey:(NSString* __nonnull)key;
796- (NSString* __nullable)getCustomProperty:(NSString* __nonnull)key;
809- (bool)sendMessage:(NSString * __nonnull)type content:(NSString * __nonnull)content toUserId:(NSString * __nullable)toUserId;
832- (bool)setRatio:(
float)ratio;
845- (bool)sendAudioEmptyPack:(
bool)b;
858- (bool)sendVideoEmptyPack:(
bool)b;
869- (bool)setVideoDot:(NSString *__nonnull)timespan info:(NSString *__nonnull)info;
880- (bool)enableMicAgc:(
bool)enable;
RoomState
Definition: JRTCEnum.h:94
RecordState
Definition: JRTCEnum.h:170
CDNState
Definition: JRTCEnum.h:158
登录登出管理
Definition: JRTCClient.h:24
业务基础类
Definition: JRTCModuleBase.h:16
成员布局配置类
Definition: JRTCRecordLocalParam.h:18
本地录制参数
Definition: JRTCRecordLocalParam.h:43
成员布局配置类
Definition: JRTCRecordRemoteParam.h:18
远程录制参数
Definition: JRTCRecordRemoteParam.h:41
Definition: JRTCRoom.h:92
Definition: JRTCRoomJoinParam.h:21
Definition: JRTCRoomParticipant.h:114
Definition: JRTCRoom.h:31
bool uploadLocalVideo
Definition: JRTCRoom.h:44
bool uploadLocalAudio
Definition: JRTCRoom.h:37
bool cdnState
Definition: JRTCRoom.h:58
bool unSubScreenShare
Definition: JRTCRoom.h:79
bool audioOutput
Definition: JRTCRoom.h:51
bool screenShare
Definition: JRTCRoom.h:72
bool remoteRecordState
Definition: JRTCRoom.h:65
NSDictionary *_Nullable toDictionary()
sip邀请参数
Definition: JRTCSipInviteParam.h:18
视频尺寸
Definition: JRTCVideoSize.h:18