mirror of
https://github.com/rzeldent/esp32cam-rtsp.git
synced 2025-11-14 12:08:02 +00:00
WIP
This commit is contained in:
@@ -2,14 +2,14 @@
|
||||
|
||||
#include <jpg.h>
|
||||
|
||||
|
||||
class micro_rtsp_streamer
|
||||
{
|
||||
public:
|
||||
micro_rtsp_streamer();
|
||||
size_t create_jpg_packet(const uint8_t *jpg, const uint8_t *jpg_end, uint32_t timestamp);
|
||||
private :
|
||||
micro_rtsp_streamer(const uint16_t width, const uint16_t height);
|
||||
size_t create_jpg_packet(const uint8_t *jpg, uint8_t **jpg_current, const uint8_t *jpg_end, const uint32_t timestamp);
|
||||
|
||||
private:
|
||||
uint16_t width_, height_;
|
||||
uint32_t ssrc_;
|
||||
uint16_t sequenceNumber_;
|
||||
};
|
||||
Reference in New Issue
Block a user