16 lines
411 B
C++
16 lines
411 B
C++
#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__
|