HttpMJpegServer Class |
Namespace: StreamCoders.MotionJpeg
The HttpMJpegServer type exposes the following members.
Name | Description | |
---|---|---|
![]() | HttpMJpegServer(HttpListener) |
Construct server using a previous created HttpListener object.
|
![]() | HttpMJpegServer(String) |
Constructs HTTP server with a number of prefixes.
|
Name | Description | |
---|---|---|
![]() | Boundary |
Custom boundary string.
|
![]() | ConnectedClients |
Number of currently connected clients.
|
Name | Description | |
---|---|---|
![]() | AddContext |
Adds a context to the server.
|
![]() | ContextQueueCount |
Retrieves the number of queued pictures for a specific context.
|
![]() | DequeueFromContext |
Deques an item from a specific context.
|
![]() | Enqueue |
Enqueues a new stream to the server. The stream have to be of a complete encoded JPEG picture.
|
![]() | EnqueueToAllContexts |
Enqueues an already serialized picture to all contexts.
|
![]() | PrepareEnqueue | Transforms a stream containing a JPEG into a M-JPEG (streamable) buffer. |
![]() | RemoveContext |
Removes a context from the server. Note that this only removes the structure, but does not disconnect the actual
client. To deny a client access, set CancelRequest to true in the OnInitialRequest event.
|
![]() | Start |
Starts the listener to allow incoming connections. The listener cannot be started again
after calling Stop().
|
![]() | Stop |
Stops the listener and disposes all connected contexts.
|
Name | Description | |
---|---|---|
![]() | OnAddContext |
Is raised to notify the application of the creation of a new context, identified by a unique Id.
|
![]() | OnInitialRequest |
is raised in order to notify application of newly created context, request and response.
The application has the option to cancel the request and deny access to the client.
The application can also modify the response message.
|
![]() | OnRemoveContext |
Is raised to notify the application of the removal of a specific context, identified by a unique Id.
|
Name | Description | |
---|---|---|
![]() | Copy | Overloaded.
Creates a copy of the object.
(Defined by ObjectExtensions.) |
![]() | Copy(Object) | Overloaded.
Creates a deep copy of the object using the supplied object as a target for the copy operation.
(Defined by ObjectExtensions.) |