33 public core::interface::Channel::InternalEventListener {
43 rtc::scoped_refptr<webrtc::PeerConnectionFactoryInterface> peer_connection_factory);
73 const SubscriptionId& subscription_id)
override;
103 void OnLeft()
override;
109 void Dispose()
override;
113 connection::P2PConnection* GetOrCreateConnection();
114 connection::P2PConnection* CreateConnection();
115 bool IsLocalPersonSubscribing();
116 bool IsSubscribingLocalPersonsPublication();
118 void CloseConnection();
120 std::mutex connection_mtx_;
121 std::unique_ptr<connection::P2PConnection> connection_;
122 rtc::scoped_refptr<webrtc::PeerConnectionFactoryInterface> peer_connection_factory_;
123 std::unique_ptr<core::interface::IceManager> ice_manager_;
124 std::unique_ptr<global::interface::Worker> worker_ = std::make_unique<global::Worker>();