basic MacOS version

This commit is contained in:
Théo Monnom
2022-08-03 16:19:02 +02:00
parent 5c8841de1f
commit 5a84aaa3c9
31 changed files with 356 additions and 39516 deletions
+29
View File
@@ -0,0 +1,29 @@
//
// Created by Théo Monnom on 03/08/2022.
//
#ifndef PEER_CONNECTION_FACTORY_H
#define PEER_CONNECTION_FACTORY_H
#include "api/peer_connection_interface.h"
namespace lk {
class PeerConnectionFactory {
public:
PeerConnectionFactory();
private:
rtc::scoped_refptr<webrtc::PeerConnectionFactoryInterface> peer_factory_;
std::unique_ptr<rtc::Thread> network_thread_;
std::unique_ptr<rtc::Thread> worker_thread_;
std::unique_ptr<rtc::Thread> signaling_thread_;
};
std::unique_ptr<PeerConnectionFactory> CreatePeerConnectionFactory();
}
#endif //PEER_CONNECTION_FACTORY_H