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"
90@property (nonatomic, readonly, copy, nullable) NSString *roomId;
95@property (nonatomic, readonly, assign)
unsigned int roomHandle;
100@property (nonatomic, readonly, copy, nullable) NSString *password;
116@property (nonatomic, readonly, strong, nullable) NSArray<JRTCRoomParticipant *> *participants;
124@property (nonatomic, readonly, assign)
bool uploadLocalAudio;
132@property (nonatomic, readonly, assign)
bool uploadLocalVideo;
142@property (nonatomic, readonly, assign)
bool audioOutput;
149@property (nonatomic, readonly, copy, nullable) NSString *shareStreamId;
156@property (nonatomic, readonly, copy, nullable) NSString *shareUserId;
164@property (nonatomic, readonly, assign)
bool localRecording;
169@property (nonatomic, readonly, copy, nullable) NSString *title;
177@property (nonatomic, readonly, assign)
RecordState remoteRecordState;
185@property (nonatomic, readonly, assign)
CDNState cdnState;
192@property (nonatomic, assign)
bool canBindCamera;
200@property (nonatomic, assign)
bool notifyVolumeChange;
217+ (
JRTCRoom* __nullable)create:(
JRTCClient* __nonnull)client mediaDevice:(
JRTCMediaDevice* __nonnull)mediaDevice callback:(
id<JRTCRoomCallback> __nonnull)callback;
243- (int)query:(NSString* __nonnull)roomId;
256- (bool)join:(NSString* __nonnull)roomId joinParam:(
JRTCRoomJoinParam* __nullable)joinParam;
272-(void)setUseExternalScreenCaptureControl:(
bool)useExternalControl;
292- (bool)enableUploadAudioStream:(
bool)enable;
312- (bool)enableUploadVideoStream:(
bool)enable;
326- (bool)enableAudioOutput:(
bool)enable;
357- (bool)requestScreenVideo:(
JRTCVideoSize *__nonnull)videoSize;
366- (bool)unRequestScreenVideo;
369#if TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR
388- (bool)enableScreenShare:(
bool)enable appGroupId:(NSString *__nullable)appGroupId preferredExtension:(NSString *__nullable)preferredExtension;
400- (bool)suspendScreenShare:(
bool)suspend tip:(NSString *_Nonnull)tip;
408- (bool)isSuspendScreenShare;
423- (bool)enableCdn:(
bool)enable keyInterval:(
int)keyInterval;
437- (bool)enableLocalRecord:(
bool)enable recordParam:(
JRTCRecordLocalParam* __nullable)recordParam;
481- (bool)updateRemoteRecordWatermark:(NSDictionary * __nonnull)watermarkTextDic;
494- (bool)enableRemoteAdvancedRecord;
510- (bool)enableAudioInputFromFile:(
bool)enable filePath:(NSString *_Nullable)filePath loop:(
bool)loop DEPRECATED_MSG_ATTRIBUTE("该方法即将废弃,请用JRTCMediaDevice#enableAudioInputFromFile:filePath:loop:代替");
522- (bool)suspendAudioInputFromFile:(
bool)suspend DEPRECATED_MSG_ATTRIBUTE("该方法即将废弃,请用JRTCMediaDevice#suspendAudioInputFromFile:代替");
716- (NSString* __nullable)getStatistics;
742- (NSString * __nullable)getJsonStats;
753- (bool)setCustomProperty:(NSString* __nonnull)value forKey:(NSString* __nonnull)key;
763- (NSString* __nullable)getCustomProperty:(NSString* __nonnull)key;
776- (bool)sendMessage:(NSString * __nonnull)type content:(NSString * __nonnull)content toUserId:(NSString * __nullable)toUserId;
799- (bool)setRatio:(
float)ratio;
812- (bool)sendAudioEmptyPack:(
bool)b;
825- (bool)sendVideoEmptyPack:(
bool)b;
836- (bool)setVideoDot:(NSString *__nonnull)timespan info:(NSString *__nonnull)info;
847- (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:85
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 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