| 1234567891011121314151617181920212223 |
- #ifndef TINYPLAYER2_FRAME_RECEIVER_H
- #define TINYPLAYER2_FRAME_RECEIVER_H
- #include <memory>
- #include <string_view>
- class video_decoder;
- class frame_receiver {
- public:
- frame_receiver();
- ~frame_receiver();
- bool start(std::string_view address, uint16_t port, video_decoder *decoder);
- private:
- struct impl;
- std::unique_ptr<impl> pimpl;
- };
- #endif //TINYPLAYER2_FRAME_RECEIVER_H
|