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
Afficher le fichier Open project: yodiwo/plegma Class Usage Examples

Méthodes publiques

Свойство Type Description
IsRunning bool
Port int

Méthodes publiques

Méthode 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

Méthode 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 méthode

public CreateVideoFeed ( string videoFeedName ) : VideoFeed
videoFeedName string
Résultat VideoFeed

DestroyVideoFeed() public méthode

public DestroyVideoFeed ( VideoFeed videofeed ) : void
videofeed VideoFeed
Résultat void

DestroyVideoFeed() public méthode

public DestroyVideoFeed ( string videoFeedName ) : void
videoFeedName string
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

MjpegServer() public méthode

public MjpegServer ( int Port = 5859 ) : System
Port int
Résultat System

Start() public méthode

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

Stop() public méthode

public Stop ( ) : void
Résultat void

Property Details

IsRunning public_oe property

public bool IsRunning
Résultat bool

Port public_oe property

public int Port
Résultat int