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;
392- (NSString * __nullable)createExtraStream:(NSString * __nonnull)captureStreamId screenShare:(
bool)screenShare;
402- (bool)deleteExtraStream:(NSString *__nonnull)captureStreamId;
414- (bool)requestExtraStreamVideo:(
JRTCRoomParticipant *__nonnull)particiapnt streamId:(NSString *__nonnull)streamId videoSize:(
JRTCVideoSize *__nonnull)videoSize;
425- (bool)unRequestExtraStreamVideo:(
JRTCRoomParticipant *__nonnull)particiapnt streamId:(NSString *__nonnull)streamId;
428#if TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR
447- (bool)enableScreenShare:(
bool)enable appGroupId:(NSString *__nullable)appGroupId preferredExtension:(NSString *__nullable)preferredExtension;
467- (bool)enableScreenShare:(
bool)enable appGroupId:(NSString *__nullable)appGroupId preferredExtension:(NSString *__nullable)preferredExtension captureAudio:(
bool)captureAudio;
481- (bool)enableScreenShare:(
bool)enable;
493- (bool)suspendScreenShare:(
bool)suspend tip:(NSString *_Nonnull)tip;
501- (bool)isSuspendScreenShare;
509- (bool)setSubScreenShare:(
bool)enable;
517- (bool)isSubScreenShare;
532- (bool)enableCdn:(
bool)enable keyInterval:(
int)keyInterval;
546- (bool)enableLocalRecord:(
bool)enable recordParam:(
JRTCRecordLocalParam* __nullable)recordParam;
590- (bool)updateRemoteRecordWatermark:(NSDictionary * __nonnull)watermarkTextDic;
603- (bool)enableRemoteAdvancedRecord;
619- (bool)enableAudioInputFromFile:(
bool)enable filePath:(NSString *_Nullable)filePath loop:(
bool)loop DEPRECATED_MSG_ATTRIBUTE("该方法即将废弃,请用JRTCMediaDevice#enableAudioInputFromFile:filePath:loop:代替");
631- (bool)suspendAudioInputFromFile:(
bool)suspend DEPRECATED_MSG_ATTRIBUTE("该方法即将废弃,请用JRTCMediaDevice#suspendAudioInputFromFile:代替");
825- (NSString* __nullable)getStatistics;
851- (NSString * __nullable)getJsonStats;
862- (bool)setCustomProperty:(NSString* __nullable)value forKey:(NSString* __nonnull)key;
872- (NSString* __nullable)getCustomProperty:(NSString* __nonnull)key;
885- (bool)sendMessage:(NSString * __nonnull)type content:(NSString * __nonnull)content toUserId:(NSString * __nullable)toUserId;
908- (bool)setRatio:(
float)ratio;
921- (bool)sendAudioEmptyPack:(
bool)b;
934- (bool)sendVideoEmptyPack:(
bool)b;
945- (bool)setVideoDot:(NSString *__nonnull)timespan info:(NSString *__nonnull)info;
956- (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:133
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