1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

webrtc: Remove unused overload

Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
This commit is contained in:
Steffen Vogel 2023-06-30 11:52:35 +02:00
parent 82ea02884d
commit 50b02df5fd
2 changed files with 10 additions and 8 deletions

View file

@ -62,9 +62,6 @@ public:
virtual
int parse(json_t *json);
virtual
int check();
virtual
int start();

View file

@ -123,11 +123,6 @@ int WebRTCNode::parse(json_t *json)
return 0;
}
int WebRTCNode::check()
{
return Node::check();
}
int WebRTCNode::prepare()
{
int ret = Node::prepare();
@ -149,6 +144,7 @@ int WebRTCNode::prepare()
if (ret) // TODO log
return ret;
// TODO: Move this to a member function
conn->onMessage([this](rtc::binary msg){
int ret;
std::vector<Sample *> smps;
@ -204,6 +200,7 @@ std::vector<int> WebRTCNode::getPollFDs()
const std::string & WebRTCNode::getDetails()
{
// TODO
details = fmt::format("");
return details;
}
@ -237,6 +234,14 @@ int WebRTCNode::_write(struct Sample *smps[], unsigned cnt)
return ret;
}
json_t * WebRTCNode::_readStatus()
{
if (!conn)
return nullptr;
return conn->readStatus();
}
int WebRTCNodeFactory::start(SuperNode *sn)
{
web = sn->getWeb();