mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
node-webrtc: move peer member initialization to initializer list
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
This commit is contained in:
parent
352c5996db
commit
82bf4df50c
1 changed files with 1 additions and 3 deletions
|
@ -27,6 +27,7 @@ static villas::node::Web *web;
|
|||
WebRTCNode::WebRTCNode(const uuid_t &id, const std::string &name) :
|
||||
Node(id, name),
|
||||
server("https://villas.k8s.eonerc.rwth-aachen.de/ws/signaling"),
|
||||
peer(uuid::toString(id)),
|
||||
wait_seconds(0),
|
||||
format(nullptr),
|
||||
queue({}),
|
||||
|
@ -34,9 +35,6 @@ WebRTCNode::WebRTCNode(const uuid_t &id, const std::string &name) :
|
|||
dci({})
|
||||
{
|
||||
dci.reliability.type = rtc::Reliability::Type::Rexmit;
|
||||
|
||||
// Initialize signaling peer with node UUID
|
||||
peer = uuid::toString(id);
|
||||
}
|
||||
|
||||
WebRTCNode::~WebRTCNode()
|
||||
|
|
Loading…
Add table
Reference in a new issue