C# Class CameraServer.VideoSender

显示文件 Open project: Wiladams/NewTOAPIA Class Usage Examples

Public Methods

Method Description
PrintCamera ( VideoCaptureDevice device ) : void
ReceiveFrameFromCamera ( object sender, CameraEventArgs camEvent ) : void
SendVideoFrame ( PixelAccessor aFrame ) : void
Start ( ) : void
Stop ( ) : void
VideoSender ( int deviceIndex, PayloadChannel channel ) : System

Private Methods

Method Description
EncodeBGRb ( PixelAccessor accessor, int x, int y ) : BufferChunk

Method Details

PrintCamera() public method

public PrintCamera ( VideoCaptureDevice device ) : void
device VideoCaptureDevice
return void

ReceiveFrameFromCamera() public method

public ReceiveFrameFromCamera ( object sender, CameraEventArgs camEvent ) : void
sender object
camEvent NewTOAPIA.Media.CameraEventArgs
return void

SendVideoFrame() public method

public SendVideoFrame ( PixelAccessor aFrame ) : void
aFrame PixelAccessor
return void

Start() public method

public Start ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void

VideoSender() public method

public VideoSender ( int deviceIndex, PayloadChannel channel ) : System
deviceIndex int
channel NewTOAPIA.Net.Rtp.PayloadChannel
return System