Click or drag to resize
HttpJpegSource Class
Provides access to single JPEG file resource
Inheritance Hierarchy
SystemObject
  StreamCoders.MotionJpegHttpMotionStreamBase
    StreamCoders.MotionJpegHttpJpegSource

Namespace: StreamCoders.MotionJpeg
Assembly: MediaBase (in MediaBase.dll) Version: 2.0.5.0 (2.0.5.0)
Syntax
public class HttpJpegSource : HttpMotionStreamBase

The HttpJpegSource type exposes the following members.

Constructors
  NameDescription
Public methodHttpJpegSource(String)
Initializes a new instance of the HttpJpegSource class
Public methodHttpJpegSource(String, String, String)
Initializes a new instance of the HttpJpegSource class
Top
Properties
  NameDescription
Public propertyBytesReceived
Returns the number of bytes received.
(Inherited from HttpMotionStreamBase.)
Public propertyFramesReceived
Returns the number of frames received.
(Inherited from HttpMotionStreamBase.)
Public propertyUrl
HTTP URL of MJPEG stream.
(Inherited from HttpMotionStreamBase.)
Top
Methods
  NameDescription
Public methodStart
Starts processing packets from MJPEG resource.
(Inherited from HttpMotionStreamBase.)
Public methodStop
Stops processing packets from MJPEG resource. On completion this function raises OnStop event.
(Inherited from HttpMotionStreamBase.)
Top
Events
  NameDescription
Public eventNewFrame
Is raised when a new frame has arrived.
(Inherited from HttpMotionStreamBase.)
Public eventStopped
Is raised whenever Stop() is called or the connection terminates unexpectedly.
(Inherited from HttpMotionStreamBase.)
Top
Extension Methods
  NameDescription
Public Extension MethodCopyOverloaded.
Creates a copy of the object.
(Defined by ObjectExtensions.)
Public Extension MethodCopy(Object)Overloaded.
Creates a deep copy of the object using the supplied object as a target for the copy operation.
(Defined by ObjectExtensions.)
Top
Remarks
After calling Stop, Start can be called again on the same stream.
See Also