Author Topic: UPnP error - Dissonance Voice  (Read 257 times)

LuffyGray

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 5
    • View Profile
UPnP error - Dissonance Voice
« on: April 16, 2017, 08:38:48 AM »
I've recently imported Dissonance voice into my project which I've opted for the LLAPI implementation since they don't have a native TNet implementation to piggyback off but ever since I completed the implementation I've been recieving this error and I wondered if anyone has an answer to a fix for it.

TNUPnP.cs #193


Thank you.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 307
  • -Receive: 1144
  • Posts: 21,985
  • Toronto, Canada
    • View Profile
Re: UPnP error - Dissonance Voice
« Reply #1 on: April 22, 2017, 12:02:31 PM »
Did you try removing the try/catch block so that the full stack trace is exposed? You'll be able to tell which line it's erroring out on.

I'm guessing it's either
  1. for (int b = 0; b < 3; ++b) sender.Send(requestBytes, requestBytes.Length, searchEndpoint);
or
  1. if (ParseResponse(Encoding.ASCII.GetString(data, 0, data.Length)))
The first one wouldn't make sense as it's created above... which leaves the 2nd: and that sounds like a faulty response from some UPnP device.