forked from external-repos/esp32cam-rtsp
Work in progress
This commit is contained in:
@@ -13,18 +13,18 @@
|
||||
class micro_rtsp_server : WiFiServer
|
||||
{
|
||||
public:
|
||||
micro_rtsp_server(micro_rtsp_camera &source, unsigned frame_interval = 100);
|
||||
micro_rtsp_server(micro_rtsp_source &source);
|
||||
~micro_rtsp_server();
|
||||
|
||||
void begin(unsigned short port = 554);
|
||||
void end();
|
||||
|
||||
unsigned get_frame_interval() { return frame_interval_; }
|
||||
unsigned get_frame_interval() const { return frame_interval_; }
|
||||
unsigned set_frame_interval(unsigned value) { return frame_interval_ = value; }
|
||||
|
||||
void loop();
|
||||
|
||||
size_t clients() { return clients_.size(); }
|
||||
size_t clients() const { return clients_.size(); }
|
||||
|
||||
class rtsp_client : public WiFiClient, public micro_rtsp_requests
|
||||
{
|
||||
@@ -36,7 +36,7 @@ public:
|
||||
};
|
||||
|
||||
private:
|
||||
micro_rtsp_camera &source_;
|
||||
micro_rtsp_source &source_;
|
||||
unsigned frame_interval_;
|
||||
unsigned long next_frame_update_;
|
||||
unsigned long next_check_client_;
|
||||
|
||||
Reference in New Issue
Block a user