用于管理多方通话 更多...

class  JCMediaChannelSipParamExtra
 
class  JCMediaChannelSipParam
 
class  JCMediaChannelRecordParamVideoConfig
 
class  JCMediaChannelRecordParam
 
class  JCMediaChannelJoinParam
 
class  JCMediaChannelPropChangeParam
 
class  JCMediaChannelScreenShareParam
 
class  JCMediaChannel
 
class  JCMediaChannelParticipantChangeParam
 
class  JCMediaChannelParticipant
 
class  JCMediaChannelQueryInfo
 
protocol  <JCMediaChannelCallback>
 

宏定义

#define MASK_CUSTOM_ROLE   (JCMediaChannelCustomRole0 | JCMediaChannelCustomRole1 | JCMediaChannelCustomRole2 | JCMediaChannelCustomRole3);
 
#define MASK_CUSTOM_STATE   (JCMediaChannelCustomState0 | JCMediaChannelCustomState1 | JCMediaChannelCustomState2 | JCMediaChannelCustomState3);
 

枚举

enum  JCMediaChannelPictureSize : NSInteger {
  JCMediaChannelPictureSizeNone, JCMediaChannelPictureSizeMin, JCMediaChannelPictureSizeSmall, JCMediaChannelPictureSizeLarge,
  JCMediaChannelPictureSizeMax
}
 
enum  JCMediaChannelMaxResolution : NSInteger { JCMediaChannelMaxResolution360, JCMediaChannelMaxResolution720, JCMediaChannelMaxResolution1080 }
 
enum  JCMediaChannelState : NSInteger { JCMediaChannelStateIdle, JCMediaChannelStateJoining, JCMediaChannelStateJoined, JCMediaChannelStateLeaving }
 
enum  JCMediaChannelParticipantType : NSInteger { JCMediaChannelParticipantTypeNormal, JCMediaChannelParticipantTypePstn, JCMediaChannelParticipantTypeWebrtc, JCMediaChannelParticipantTypeIrc }
 
enum  JCMediaChannelVolumeStatus : NSInteger {
  JCMediaChannelVolumeStatusNone, JCMediaChannelVolumeStatusZero, JCMediaChannelVolumeStatusLow, JCMediaChannelVolumeStatusMid,
  JCMediaChannelVolumeStatusHigh
}
 
enum  JCMediaChannelNetStatus : NSInteger {
  JCMediaChannelNetStatusDisconnected, JCMediaChannelNetStatusVeryBad, JCMediaChannelNetStatusBad, JCMediaChannelNetStatusNormal,
  JCMediaChannelNetStatusGood, JCMediaChannelNetStatusVeryGood
}
 
enum  JCMediaChannelRecordState : NSInteger { JCMediaChannelRecordStateNone, JCMediaChannelRecordStateReady, JCMediaChannelRecordStateRunning }
 
enum  JCMediaChannelCdnState : NSInteger { JCMediaChannelCdnStateNone, JCMediaChannelCdnStateReady, JCMediaChannelCdnStateRunning }
 
enum  JCMediaChannelCustomRole : NSInteger {
  JCMediaChannelCustomRoleNone = 0, JCMediaChannelCustomRole0 = 1<<12, JCMediaChannelCustomRole1 = 1<<13, JCMediaChannelCustomRole2 = 1<<14,
  JCMediaChannelCustomRole3 = 1<<15
}
 
enum  JCMediaChannelCustomState : NSInteger {
  JCMediaChannelCustomStateNone = 0, JCMediaChannelCustomState0 = 1<<12, JCMediaChannelCustomState1 = 1<<13, JCMediaChannelCustomState2 = 1<<14,
  JCMediaChannelCustomState3 = 1<<15
}
 
enum  JCMediaChannelVideoLevel : NSInteger { JCMediaChannelVideoLevelMin = 256, JCMediaChannelVideoLevelSmall = 512, JCMediaChannelVideoLevelLarge = 768, JCMediaChannelVideoLevelMax = 1024 }
 
enum  JCMediaChannelMergeMode : NSInteger {
  JCMediaChannelMergeModeScreen = 1, JCMediaChannelMergeModePlatform = 2, JCMediaChannelMergeModeSpeaker = 3, JCMediaChannelMergeModeLayout = 4,
  JCMediaChannelMergeModeIntellegence = 5, JCMediaChannelMergeModeScreenSharing = 6
}
 
enum  JCMediaChannelMergeModeEx : NSInteger {
  JCMediaChannelMergeModeExFreelayoutI = 1, JCMediaChannelMergeModeExRectLayoutI = 2, JCMediaChannelMergeModeExBigSmallX2I = 3, JCMediaChannelMergeModeExBigSmallX3I = 4,
  JCMediaChannelMergeModeExBigSmallX4I = 5, JCMediaChannelMergeModeExBigSmallX5I = 6, JCMediaChannelMergeModeExBigSmallX6I = 7, JCMediaChannelMergeModeExBigSmallX7I = 8,
  JCMediaChannelMergeModeExBigSmallX8I = 9, JCMediaChannelMergeModeExBigSmallX9I = 10, JCMediaChannelMergeModeExBigSmallX10I = 11, JCMediaChannelMergeModeExBigSmallTopI = 12,
  JCMediaChannelMergeModeExBigSmallBottomI = 13, JCMediaChannelMergeModeExDivideLayoutI = 14, JCMediaChannelMergeModeExDivideLayoutNoangleI = 15
}
 

详细描述

用于管理多方通话

宏定义说明

◆ MASK_CUSTOM_ROLE

◆ MASK_CUSTOM_STATE

枚举类型说明

◆ JCMediaChannelCdnState

enum JCMediaChannelCdnState : NSInteger

CDN状态

枚举值
JCMediaChannelCdnStateNone 

无法进行Cdn推流

JCMediaChannelCdnStateReady 

可以开启Cdn推流

JCMediaChannelCdnStateRunning 

Cdn推流中

◆ JCMediaChannelCustomRole

enum JCMediaChannelCustomRole : NSInteger

自定义角色

枚举值
JCMediaChannelCustomRoleNone 

无自定义状态

JCMediaChannelCustomRole0 

自定义角色0

JCMediaChannelCustomRole1 

自定义角色1

JCMediaChannelCustomRole2 

自定义角色2

JCMediaChannelCustomRole3 

自定义角色3

◆ JCMediaChannelCustomState

enum JCMediaChannelCustomState : NSInteger

自定义状态

枚举值
JCMediaChannelCustomStateNone 

无自定义状态

JCMediaChannelCustomState0 

自定义状态0

JCMediaChannelCustomState1 

自定义状态1

JCMediaChannelCustomState2 

自定义状态2

JCMediaChannelCustomState3 

自定义状态3

◆ JCMediaChannelMaxResolution

enum JCMediaChannelMaxResolution : NSInteger

媒体视频最大分辨率

枚举值
JCMediaChannelMaxResolution360 

最大分辨率360P

JCMediaChannelMaxResolution720 

最大分辨率720P

JCMediaChannelMaxResolution1080 

最大分辨率1080P

◆ JCMediaChannelMergeMode

enum JCMediaChannelMergeMode : NSInteger

录制混屏模式

枚举值
JCMediaChannelMergeModeScreen 

平铺模式

JCMediaChannelMergeModePlatform 

讲台模式

JCMediaChannelMergeModeSpeaker 

演讲者模式

JCMediaChannelMergeModeLayout 

自定义布局模式

JCMediaChannelMergeModeIntellegence 

智能模式

JCMediaChannelMergeModeScreenSharing 

屏幕分享模式

◆ JCMediaChannelMergeModeEx

enum JCMediaChannelMergeModeEx : NSInteger

混屏的详细模式

枚举值
JCMediaChannelMergeModeExFreelayoutI 

自由布局

JCMediaChannelMergeModeExRectLayoutI 

矩形布局

JCMediaChannelMergeModeExBigSmallX2I 

大小屏放大2倍

JCMediaChannelMergeModeExBigSmallX3I 

大小屏放大3倍

JCMediaChannelMergeModeExBigSmallX4I 

大小屏放大4倍

JCMediaChannelMergeModeExBigSmallX5I 

大小屏放大5倍

JCMediaChannelMergeModeExBigSmallX6I 

大小屏放大6倍

JCMediaChannelMergeModeExBigSmallX7I 

大小屏放大7倍

JCMediaChannelMergeModeExBigSmallX8I 

大小屏放大8倍

JCMediaChannelMergeModeExBigSmallX9I 

大小屏放大9倍

JCMediaChannelMergeModeExBigSmallX10I 

大小屏放大10倍

JCMediaChannelMergeModeExBigSmallTopI 

大小屏放大到顶部

JCMediaChannelMergeModeExBigSmallBottomI 

大小屏放大到底部

JCMediaChannelMergeModeExDivideLayoutI 

等分模式

JCMediaChannelMergeModeExDivideLayoutNoangleI 

等分模式忽略图像角度

◆ JCMediaChannelNetStatus

enum JCMediaChannelNetStatus : NSInteger

网络状态

枚举值
JCMediaChannelNetStatusDisconnected 

未连接

JCMediaChannelNetStatusVeryBad 

非常差

JCMediaChannelNetStatusBad 

JCMediaChannelNetStatusNormal 

一般

JCMediaChannelNetStatusGood 

JCMediaChannelNetStatusVeryGood 

非常好

◆ JCMediaChannelParticipantType

成员类型

枚举值
JCMediaChannelParticipantTypeNormal 

普通成员

JCMediaChannelParticipantTypePstn 

Pstn成员

JCMediaChannelParticipantTypeWebrtc 

Webrtc成员

JCMediaChannelParticipantTypeIrc 

IRC 成员

◆ JCMediaChannelPictureSize

enum JCMediaChannelPictureSize : NSInteger

图像尺寸等级

枚举值
JCMediaChannelPictureSizeNone 

不渲染

JCMediaChannelPictureSizeMin 

最小尺寸

JCMediaChannelPictureSizeSmall 

小尺寸

JCMediaChannelPictureSizeLarge 

大尺寸

JCMediaChannelPictureSizeMax 

最大尺寸

◆ JCMediaChannelRecordState

enum JCMediaChannelRecordState : NSInteger

视频录制状态

枚举值
JCMediaChannelRecordStateNone 

无法进行视频录制

JCMediaChannelRecordStateReady 

可以开启视频录制

JCMediaChannelRecordStateRunning 

视频录制中

◆ JCMediaChannelState

enum JCMediaChannelState : NSInteger

自身在频道中状态

枚举值
JCMediaChannelStateIdle 

空闲状态

JCMediaChannelStateJoining 

加入中

JCMediaChannelStateJoined 

已加入

JCMediaChannelStateLeaving 

离开中

◆ JCMediaChannelVideoLevel

enum JCMediaChannelVideoLevel : NSInteger

视频等级

枚举值
JCMediaChannelVideoLevelMin 

最小尺寸

JCMediaChannelVideoLevelSmall 

小尺寸

JCMediaChannelVideoLevelLarge 

大尺寸

JCMediaChannelVideoLevelMax 

最大尺寸

◆ JCMediaChannelVolumeStatus

enum JCMediaChannelVolumeStatus : NSInteger

音量状态

枚举值
JCMediaChannelVolumeStatusNone 

静音

JCMediaChannelVolumeStatusZero 

无声音 1

JCMediaChannelVolumeStatusLow 

低 1 - 30

JCMediaChannelVolumeStatusMid 

中 31 - 60

JCMediaChannelVolumeStatusHigh 

高 61 -100

最后更新时间: 2021/11/9 17:34:32