PassengerStatistics/Main/RtspServer.h
2025-03-17 14:01:30 +08:00

25 lines
407 B
C++

#ifndef __RTSPSERVER_H__
#define __RTSPSERVER_H__
#include <string>
class RtspServerPrivate;
class RtspServer {
public:
RtspServer();
~RtspServer();
/**
* @brief ffplay.exe rtsp://192.168.3.11/live/video
*
* @param data
* @param size
*/
void push(const uint8_t *data, uint32_t size);
private:
RtspServerPrivate *m_d = nullptr;
};
#endif // __RTSPSERVER_H__