mirror of
https://github.com/overte-org/overte.git
synced 2025-04-12 22:59:02 +02:00
fix upstream filter check, audio interest set
This commit is contained in:
parent
6da5a63152
commit
d05996c13d
2 changed files with 2 additions and 3 deletions
|
@ -391,7 +391,7 @@ void AudioMixer::start() {
|
|||
// prepare the NodeList
|
||||
nodeList->addSetOfNodeTypesToNodeInterestSet({
|
||||
NodeType::Agent, NodeType::EntityScriptServer,
|
||||
NodeType::UpstreamAudioMixer, NodeType::UpstreamAvatarMixer
|
||||
NodeType::UpstreamAudioMixer, NodeType::DownstreamAudioMixer
|
||||
});
|
||||
nodeList->linkedDataCreateCallback = [&](Node* node) { getOrCreateClientData(node); };
|
||||
|
||||
|
|
|
@ -264,8 +264,7 @@ bool LimitedNodeList::packetSourceAndHashMatchAndTrackBandwidth(const udt::Packe
|
|||
NodeType_t sendingNodeType { NodeType::Unassigned };
|
||||
|
||||
eachNodeBreakable([&packet, &sendingNodeType](const SharedNodePointer& node){
|
||||
if (node->getType() == NodeType::upstreamType(node->getType())
|
||||
&& node->getPublicSocket() == packet.getSenderSockAddr()) {
|
||||
if (NodeType::isUpstream(node->getType()) && node->getPublicSocket() == packet.getSenderSockAddr()) {
|
||||
sendingNodeType = node->getType();
|
||||
return false;
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue