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

Provides a stream writer that can be used to write images as MJPEG or (Motion JPEG) to any stream.
Inheritance: IDisposable
Afficher le fichier Open project: yodiwo/plegma Class Usage Examples

Méthodes publiques

Méthode Description
Dispose ( ) : void
MjpegWriter ( Stream stream ) : System
MjpegWriter ( Stream stream, string boundary ) : System
ReadRequest ( int length ) : string
Write ( Image image ) : void
Write ( MemoryStream imageStream ) : void
WriteHeader ( ) : void

Private Methods

Méthode Description
BytesOf ( Image image ) : MemoryStream
BytesOf ( string text ) : byte[]
Write ( byte data ) : void
Write ( string text ) : void

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

MjpegWriter() public méthode

public MjpegWriter ( Stream stream ) : System
stream Stream
Résultat System

MjpegWriter() public méthode

public MjpegWriter ( Stream stream, string boundary ) : System
stream Stream
boundary string
Résultat System

ReadRequest() public méthode

public ReadRequest ( int length ) : string
length int
Résultat string

Write() public méthode

public Write ( Image image ) : void
image Image
Résultat void

Write() public méthode

public Write ( MemoryStream imageStream ) : void
imageStream System.IO.MemoryStream
Résultat void

WriteHeader() public méthode

public WriteHeader ( ) : void
Résultat void