21#ifndef _BYTE_STREAM_MEMORY_BUFFER_SOURCE_HH
22#define _BYTE_STREAM_MEMORY_BUFFER_SOURCE_HH
24#ifndef _FRAMED_SOURCE_HH
33 unsigned preferredFrameSize = 0,
34 unsigned playTimePerFrame = 0);
48 unsigned preferredFrameSize,
49 unsigned playTimePerFrame);
Boolean fLimitNumBytesToStream
u_int64_t fNumBytesToStream
Boolean fDeleteBufferOnClose
unsigned fPreferredFrameSize
static ByteStreamMemoryBufferSource * createNew(UsageEnvironment &env, u_int8_t *buffer, u_int64_t bufferSize, Boolean deleteBufferOnClose=True, unsigned preferredFrameSize=0, unsigned playTimePerFrame=0)
u_int64_t bufferSize() const
void seekToByteRelative(int64_t offset, u_int64_t numBytesToStream=0)
ByteStreamMemoryBufferSource(UsageEnvironment &env, u_int8_t *buffer, u_int64_t bufferSize, Boolean deleteBufferOnClose, unsigned preferredFrameSize, unsigned playTimePerFrame)
virtual ~ByteStreamMemoryBufferSource()
virtual void doGetNextFrame()
void seekToByteAbsolute(u_int64_t byteNumber, u_int64_t numBytesToStream=0)
unsigned fPlayTimePerFrame