HttpMJpegServerPrepareEnqueue Method |
Transforms a stream containing a JPEG into a M-JPEG (streamable) buffer.
Namespace: StreamCoders.MotionJpegAssembly: MediaBase (in MediaBase.dll) Version: 2.0.5.0 (2.0.5.0)
Syntaxpublic MediaBuffer<byte> PrepareEnqueue(
Stream stream
)
Public Function PrepareEnqueue (
stream As Stream
) As MediaBuffer(Of Byte)
public:
MediaBuffer<unsigned char>^ PrepareEnqueue(
Stream^ stream
)
member PrepareEnqueue :
stream : Stream -> MediaBuffer<byte>
Parameters
- stream
- Type: System.IOStream
The stream to transform.
Return Value
Type:
MediaBufferByteReturns the transformed stream, otherwise null.
See Also