增加windows多设备投屏
This commit is contained in:
@@ -21,10 +21,10 @@ public:
|
||||
NetworkSender();
|
||||
~NetworkSender();
|
||||
|
||||
bool Initialize(const std::string& ip, int port);
|
||||
bool Initialize(const std::vector<std::string>& ips, int port);
|
||||
bool SendFrame(const std::vector<uint8_t>& data, uint64_t timestamp, int width, int height, bool isKeyFrame);
|
||||
|
||||
private:
|
||||
SOCKET socket_ = INVALID_SOCKET;
|
||||
sockaddr_in destAddr_;
|
||||
std::vector<sockaddr_in> destAddrs_;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user