C# Class Yodiwo.Media.Video.Sink.MjpegServer.MjpegServer

Provides a streaming server that can be used to stream any images source to any client.
Inheritance: IDisposable
Datei anzeigen Open project: yodiwo/plegma Class Usage Examples

Public Properties

Property Type Description
IsRunning bool
Port int

Public Methods

Method Description
CreateVideoFeed ( string videoFeedName ) : VideoFeed
DestroyVideoFeed ( VideoFeed videofeed ) : void
DestroyVideoFeed ( string videoFeedName ) : void
Dispose ( ) : void
MjpegServer ( int Port = 5859 ) : System
Start ( ) : void

Starts the server to accepts any new connections on the specified port.

Stop ( ) : void

Private Methods

Method Description
ClientThread ( object client ) : void
ServerThread ( object port ) : void

This the main thread of the server that serves all the new connections from clients.

Method Details

CreateVideoFeed() public method

public CreateVideoFeed ( string videoFeedName ) : VideoFeed
videoFeedName string
return VideoFeed

DestroyVideoFeed() public method

public DestroyVideoFeed ( VideoFeed videofeed ) : void
videofeed VideoFeed
return void

DestroyVideoFeed() public method

public DestroyVideoFeed ( string videoFeedName ) : void
videoFeedName string
return void

Dispose() public method

public Dispose ( ) : void
return void

MjpegServer() public method

public MjpegServer ( int Port = 5859 ) : System
Port int
return System

Start() public method

Starts the server to accepts any new connections on the specified port.
public Start ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void

Property Details

IsRunning public_oe property

public bool IsRunning
return bool

Port public_oe property

public int Port
return int