Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion VRCFaceTracking.Core/Services/OscQueryService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ private void FirstClientDiscovered()
private async void HandleNewAvatar(string newId = null)
{
(IAvatarInfo avatarInfo, List<Parameter> relevantParameters)? newAvatar;
if (newId == null)
if (multicastDnsService.VrchatClientEndpoint != null)
{
newAvatar = await oscQueryConfigParser.ParseAvatar("");
}
Expand Down
3 changes: 2 additions & 1 deletion VRCFaceTracking.Core/mDNS/MulticastDnsService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,8 @@ public void ResolveVrChatClient(DnsPacket packet, IPEndPoint remoteEndpoint)
}

var ptrRecord = packet.answers[0].Data as PTRRecord;
if (ptrRecord.DomainLabels.Count != 4 || !ptrRecord.DomainLabels[0].StartsWith("VRChat-Client"))
if (ptrRecord.DomainLabels.Count != 4
|| (!ptrRecord.DomainLabels[0].StartsWith("VRChat-Client") && !ptrRecord.DomainLabels[0].StartsWith("ChilloutVR-GameClient")))
{
return;
}
Expand Down