25 lines
407 B
C++
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__
|