Symptom
When using signaling API with Windows SDK, either the received text is garbled or triggers "Subscriber Internal Error"
Applies To
- Signaling API in Windows SDK
Resolution
You can recover the correct strings in the DotNet code by doing the following double-conversion
private void session_Signal(object sender, Session.SignalEventArgs e) { string correctedData = Encoding.UTF8.GetString(Encoding.GetEncoding("ISO-8859-1").GetBytes(e.Data)); … }
Cause
JS SDK uses UTF-8 for the signaling data, while the Windows SDK decodes the data as Windows-1252 (a problem also illustrated here: http://www.i18nqa.com/debug/bug-utf-8-latin1.html)
Articles in this section
- What is the Vonage Video Windows SDK?
- What Windows versions are supported with the Vonage Video SDK?
- What Windows devices does the Vonage Video SDK support?
- Does Vonage Video API support Windows Phone?
- What .NET version is supported with the Vonage Video API?
- Does Vonage Video API support Universal Windows Platform (UWP)?
- Does the Vonage Video Windows SDK support 64-bit applications?
- Is there a C API available for the Vonage Windows SDK?
- Does Vonage Video API support USB cameras?
- What issues are commonly seen when using the Windows SDK?