C# Class Cgw.Channel.MonitorChannelManager

通道管理
Exibir arquivo Open project: eSDK/esdk_Cgw Class Usage Examples

Public Methods

Method Description
AddChannel ( string channelLabel ) : void

添加通道

AddSotChannel ( string channelLabel, string confAccessCode ) : bool

添加通道到软终端

DisableChannel ( string channelLabel ) : void

失效通道

Init ( InitSotParam param ) : SmcErr

软终端初始化

MonitorChannelManager ( IFrameCallback iFrameHandler, SotErrorReport errReportHandler ) : System

构造函数

RemoveChannel ( string channelLabel ) : void

移除通道

RemoveSotChannel ( string channelLabel ) : bool

软终端删除通道

SendMediaData ( string channelLabel, MediaData data ) : void

分发码流

Private Methods

Method Description
WriteLog ( NLogLevel level, string log, int len ) : uint

写日志回调函数

Method Details

AddChannel() public method

添加通道
public AddChannel ( string channelLabel ) : void
channelLabel string
return void

AddSotChannel() public method

添加通道到软终端
public AddSotChannel ( string channelLabel, string confAccessCode ) : bool
channelLabel string
confAccessCode string
return bool

DisableChannel() public method

失效通道
public DisableChannel ( string channelLabel ) : void
channelLabel string
return void

Init() public method

软终端初始化
public Init ( InitSotParam param ) : SmcErr
param InitSotParam
return Cgw.SmcError.SmcErr

MonitorChannelManager() public method

构造函数
public MonitorChannelManager ( IFrameCallback iFrameHandler, SotErrorReport errReportHandler ) : System
iFrameHandler IFrameCallback
errReportHandler SotErrorReport
return System

RemoveChannel() public method

移除通道
public RemoveChannel ( string channelLabel ) : void
channelLabel string
return void

RemoveSotChannel() public method

软终端删除通道
public RemoveSotChannel ( string channelLabel ) : bool
channelLabel string
return bool

SendMediaData() public method

分发码流
public SendMediaData ( string channelLabel, MediaData data ) : void
channelLabel string
data MediaData 码流
return void