PassengerStatistics/Main/Live555RtspPusher.h

16 lines
411 B
C
Raw Normal View History

2024-03-13 11:40:55 +08:00
#ifndef __LIVE555RTSPPUSHER_H__
#define __LIVE555RTSPPUSHER_H__
#include <boost/asio/io_context.hpp>
#include <boost/asio/ip/udp.hpp>
class Live555RtspPusher {
public:
Live555RtspPusher(boost::asio::io_context &ioContext);
void push(const uint8_t *data, uint32_t size);
private:
boost::asio::io_context &m_ioContext;
boost::asio::ip::udp::socket m_socket;
};
#endif // __LIVE555RTSPPUSHER_H__