23 #ifndef __PLUGINS_WEBVIEW_MJPEG_REPLY_H_ 24 #define __PLUGINS_WEBVIEW_MJPEG_REPLY_H_ 26 #include "jpeg_stream_producer.h" 28 #include <webview/reply.h> 44 virtual size_t size();
45 virtual size_t next_chunk(
size_t pos,
char *buffer,
size_t buf_max_size);
52 size_t buffer_bytes_written_;
Wait until a given condition holds.
virtual ~DynamicMJPEGStreamWebReply()
Destructor.
Fawkes library namespace.
virtual void handle_buffer(RefPtr< WebviewJpegStreamProducer::Buffer > buffer)
Notification if a new buffer is available.
virtual size_t size()
Total size of the web reply.
Dynamic raw file transfer reply.
DynamicMJPEGStreamWebReply(WebviewJpegStreamProducer *stream_producer)
Constructor.
RefPtr<> is a reference-counting shared smartpointer.
virtual size_t next_chunk(size_t pos, char *buffer, size_t buf_max_size)
Get data of next chunk.
Mutex mutual exclusion lock.