mirror of
https://github.com/rzeldent/esp32cam-rtsp.git
synced 2025-11-13 19:56:23 +00:00
15 lines
353 B
C++
15 lines
353 B
C++
#pragma once
|
|
|
|
#include <jpg.h>
|
|
|
|
class micro_rtsp_streamer
|
|
{
|
|
public:
|
|
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_;
|
|
}; |