视频通话插件 - iOS v2601.0
载入中...
搜索中...
未找到
JCCTalkingConfig.h
1//
2// JCCTalkingConfig.h
3// JCCGuestPlugin
4//
5// Created by mirror on 2022/5/24.
6// Copyright © 2022 juphoon. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10#import <JCCGuestPlugin/JCCIBaseView.h>
11
12NS_ASSUME_NONNULL_BEGIN
13
16
18typedef NS_ENUM(NSUInteger, JCCToolBarButtons) {
19 JCCEndButton = 1, // 挂断按钮
20 JCCSpeakerButton, // 扬声器按钮
21 JCCMicButton, // 麦克风按钮
22 JCCCameraButton, // 摄像头按钮
23 JCCFlipButton, // 翻转按钮
24 JCCScreenShareButton, // 屏幕共享按钮
25 JCCLocalRecordButton, // 本地录制按钮
26 JCCChatButton, // 消息按钮
27 JCCCollaborationButton, // 协作按钮
28 JCCRemoteRecordButton // 远程录制按钮
29};
30
32@interface JCCTalkingConfig : NSObject
33
35
37@property (nonatomic, assign) NSUInteger topBarBackground;
39@property (nonatomic, copy) NSString *title;
41@property (nonatomic, assign) NSUInteger titleTextSize;
43@property (nonatomic, assign) NSUInteger timerTextSize;
45@property (nonatomic, assign) NSUInteger toolBarBackground;
47@property (nonatomic, strong) NSArray *toolBarButtons;
49@property (nonatomic, assign) NSUInteger toolBottomBarMargin;
51@property (nonatomic, assign) NSUInteger toolBarButtonTextSize;
52
54@property (nonatomic, strong) UIView<JCCIBaseView> *customView;
56@property (nonatomic, assign) BOOL showMinimized;
58@property (nonatomic, assign) BOOL showStatistic;
60@property (nonatomic, assign) BOOL showRequestResolution;
62@property (nonatomic, assign) BOOL useThirdACD;
64@property (nonatomic, assign) BOOL showDoodleButton;
66@property (nonatomic, assign) BOOL showCancelSign;
68@property (nonatomic, assign) NSUInteger defaultDoodleStrokeWidth;
70@property (nonatomic, assign) BOOL signFullScreen;
73@property (nonatomic, copy) NSString *heldAudioPath;
76@property (nonatomic, copy) NSString *transferAudioPath;
78@property (nonatomic, assign) BOOL showShareCanvas;
80@property (nonatomic, assign) NSUInteger collaborationRemotePathColor;
82@property (nonatomic, assign) NSUInteger collaborationSelfPathColor;
84@property (nonatomic, assign) NSInteger videoHoldBackgroundColor;
86@property (nonatomic, strong) UIImage *videoHoldSmallIcon;
88@property (nonatomic, strong) UIImage *videoHoldLargeIcon;
90@property (nonatomic, assign) BOOL videoHoldLastFrame;
92@property (nonatomic, assign) BOOL fullDisplayFunctionLayout;
94@property (nonatomic, assign) NSUInteger delayDimissDuration;
96@property (nonatomic, assign) BOOL isAutoCloseRemoteRecord;
98@property (nonatomic, copy) NSString *miniScreenShareTip;
100@property (nonatomic, assign) BOOL switchFocusVideoViewWithClick;
102@property (nonatomic, assign) BOOL remoteVideoFullScreen;
104@property (nonatomic, assign) BOOL localVideoFullScreen;
106@property (nonatomic, copy) NSString *messageToast;
108@property (nonatomic, assign) BOOL msgSupportSendFile;
110@property (nonatomic, copy) NSString *msgGetSendFilesUrl;
112@property (nonatomic, assign) NSUInteger msgLayoutInitialHeight;
113
115@property (nonatomic, assign) NSUInteger pipSmallVideoWindowWidth;
117@property (nonatomic, assign) NSUInteger pipSmallVideoWindowHeight;
118
119@end
120
122
123NS_ASSUME_NONNULL_END
JCCToolBarButtons
通话工具栏按钮类型
定义 JCCTalkingConfig.h:18
通话页面配置
定义 JCCTalkingConfig.h:33
BOOL showRequestResolution
是否显示切换分辨率按钮,默认为YES
定义 JCCTalkingConfig.h:60
NSUInteger timerTextSize
计时字体大小,默认12
定义 JCCTalkingConfig.h:43
NSUInteger defaultDoodleStrokeWidth
电子签名画笔宽度,默认为8
定义 JCCTalkingConfig.h:68
NSUInteger toolBottomBarMargin
工具栏距离底部距离,默认0,只支持不大于4个按钮的场景
定义 JCCTalkingConfig.h:49
NSUInteger delayDimissDuration
通话结束后延迟销毁通话界面,单位秒。默认为0
定义 JCCTalkingConfig.h:94
NSString * miniScreenShareTip
屏幕共享时最小化窗口提示
定义 JCCTalkingConfig.h:98
BOOL localVideoFullScreen
本端视频是否全屏显示,默认为YES
定义 JCCTalkingConfig.h:104
NSUInteger topBarBackground
颜色格式为8位16进制ARGB,例如0xFFFFFFFF
定义 JCCTalkingConfig.h:37
BOOL signFullScreen
签字签名是否全屏显示
定义 JCCTalkingConfig.h:70
BOOL showShareCanvas
是否显示共享的画面,默认为YES
定义 JCCTalkingConfig.h:78
BOOL fullDisplayFunctionLayout
全显示功能布局,默认NO
定义 JCCTalkingConfig.h:92
NSUInteger toolBarBackground
工具栏背景色
定义 JCCTalkingConfig.h:45
BOOL isAutoCloseRemoteRecord
是否自动关闭远程录制,默认为NO
定义 JCCTalkingConfig.h:96
BOOL switchFocusVideoViewWithClick
设置是否允许点击小视频窗口切换焦点视频。默认允许
定义 JCCTalkingConfig.h:100
UIView< JCCIBaseView > * customView
自定义图层,需实现 JCCIBaseView 协议,用来接收生命周期等事件,尺寸为全屏幕大小
定义 JCCTalkingConfig.h:54
NSUInteger msgLayoutInitialHeight
聊天窗口初始高度,单位dp,0表示使用当前聊天窗口高度自动换算
定义 JCCTalkingConfig.h:112
NSUInteger collaborationSelfPathColor
协作共享自己端路径颜色
定义 JCCTalkingConfig.h:82
NSUInteger collaborationRemotePathColor
协作共享远端路径颜色
定义 JCCTalkingConfig.h:80
UIImage * videoHoldLargeIcon
通话中关闭摄像头大视频图标
定义 JCCTalkingConfig.h:88
BOOL showCancelSign
是否显示电子签名栏取消按钮,默认为NO
定义 JCCTalkingConfig.h:66
NSString * heldAudioPath
定义 JCCTalkingConfig.h:73
NSString * transferAudioPath
定义 JCCTalkingConfig.h:76
BOOL showDoodleButton
是否显示涂鸦按钮,默认为YES
定义 JCCTalkingConfig.h:64
BOOL videoHoldLastFrame
获取关闭摄像头后是否停留在最后一帧,包括远端和本端视频,默认NO
定义 JCCTalkingConfig.h:90
NSArray * toolBarButtons
JCToolbarButtons配置数组
定义 JCCTalkingConfig.h:47
UIImage * videoHoldSmallIcon
通话中关闭摄像头小视频图标
定义 JCCTalkingConfig.h:86
BOOL useThirdACD
是否使用第三方排队机,如果为NO,则使用插件中排队机,默认为NO
定义 JCCTalkingConfig.h:62
NSUInteger pipSmallVideoWindowHeight
对讲模式小窗口显示高度,默认160
定义 JCCTalkingConfig.h:117
BOOL msgSupportSendFile
是否支持发送文件,默认为NO
定义 JCCTalkingConfig.h:108
NSInteger videoHoldBackgroundColor
通话中关闭摄像头视频背景颜色,如果不使用背景颜色则设置为-1,默认设置为-1
定义 JCCTalkingConfig.h:84
NSString * messageToast
新消息提示
定义 JCCTalkingConfig.h:106
BOOL showMinimized
是否显示最小化按钮,默认为YES
定义 JCCTalkingConfig.h:56
NSUInteger toolBarButtonTextSize
工具栏按钮字体大小,默认12
定义 JCCTalkingConfig.h:51
BOOL showStatistic
是否显示统计按钮,默认为YES
定义 JCCTalkingConfig.h:58
NSUInteger pipSmallVideoWindowWidth
对讲模式小窗口显示宽度, 默认90
定义 JCCTalkingConfig.h:115
NSUInteger titleTextSize
标题字体大小,默认14
定义 JCCTalkingConfig.h:41
BOOL remoteVideoFullScreen
远端视频是否全屏显示,默认为NO
定义 JCCTalkingConfig.h:102
NSString * title
标题内容
定义 JCCTalkingConfig.h:39
NSString * msgGetSendFilesUrl
获取预加载文件列表的地址
定义 JCCTalkingConfig.h:110