Repo created
This commit is contained in:
parent
81b91f4139
commit
f8c34fa5ee
22732 changed files with 4815320 additions and 2 deletions
26
TMessagesProj/jni/voip/tgcalls/v2/SignalingConnection.h
Normal file
26
TMessagesProj/jni/voip/tgcalls/v2/SignalingConnection.h
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
#ifndef TGCALLS_SIGNALING_CONNECTION_H_
|
||||
#define TGCALLS_SIGNALING_CONNECTION_H_
|
||||
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
namespace webrtc {
|
||||
}
|
||||
|
||||
namespace tgcalls {
|
||||
|
||||
class SignalingConnection {
|
||||
public:
|
||||
SignalingConnection();
|
||||
virtual ~SignalingConnection() = default;
|
||||
|
||||
virtual void start() = 0;
|
||||
|
||||
virtual void send(const std::vector<uint8_t> &data) = 0;
|
||||
virtual void receiveExternal(const std::vector<uint8_t> &data) {
|
||||
}
|
||||
};
|
||||
|
||||
} // namespace tgcalls
|
||||
|
||||
#endif // TGCALLS_SIGNALING_CONNECTION_H_
|
||||
Loading…
Add table
Add a link
Reference in a new issue