| #include <vector> |
| 6 |
| 7 | namespace webrtc { |
| 8 | } |
| 9 |
| 10 | namespace tgcalls { |
| 11 |
| 12 | class SignalingConnection { |
| 13 | public: |
| 14 | SignalingConnection(); |
| 15 | virtual ~SignalingConnection() = default; |
| 16 |
| 17 | virtual void start() = 0; |
| 18 |
| 19 | virtual void send(const std::vector<uint8_t> &data) = 0; |
| 20 | virtual void receiveExternal(const std::vector<uint8_t> &data) { |
| 21 | } |
| 22 | }; |
| 23 |
| 24 | } // namespace tgcalls |
| 25 |
| 26 | #endif // TGCALLS_SIGNALING_CONNECTION_H_ |
| 27 |