#ifndef __WEBRTCSTREAMER_H__ #define __WEBRTCSTREAMER_H__ #include #include namespace boost { namespace asio { class io_context; } } // namespace boost class WebRTCStreamerPrivate; class Streamer { public: Streamer(boost::asio::io_context &ioContext); ~Streamer(); void start(const std::string &signalServerAddress, uint16_t signalServerPort); void push(const uint8_t *data, uint32_t size); private: WebRTCStreamerPrivate *m_d = nullptr; }; #endif // __WEBRTCSTREAMER_H__