C# Class Cgw.Channel.MonitorChannel

监控通道
Exibir arquivo Open project: eSDK/esdk_Cgw Class Usage Examples

Public Methods

Method Description
AddMediaData ( MediaData data ) : void

发送码流添加进队列

Disable ( ) : void

通道失效

MonitorChannel ( string label, SoftTerminalAdapter adapter ) : System

构造函数

StopThread ( ) : void

停止线程

Private Methods

Method Description
GetMediaData ( ) : List

获取队列中的码流

WorkThreadRun ( ) : void

工作线程函数

Method Details

AddMediaData() public method

发送码流添加进队列
public AddMediaData ( MediaData data ) : void
data MediaData
return void

Disable() public method

通道失效
public Disable ( ) : void
return void

MonitorChannel() public method

构造函数
public MonitorChannel ( string label, SoftTerminalAdapter adapter ) : System
label string
adapter SoftTerminalAdapter
return System

StopThread() public method

停止线程
public StopThread ( ) : void
return void