Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An exception is thrown after connection to Sonos speaker #5

Open
oleksii-frolov opened this issue Jun 8, 2015 · 1 comment
Open

Comments

@oleksii-frolov
Copy link

Steps to reproduce.
0. Opem Windows.Demo

  1. Discover Sonos speaker (it supports DLNA)
  2. Click connect button
    Logs:
'ConnectSdk.Demo.Windows.exe' (CLR v4.0.30319: Immersive Application Domain): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Net.Primitives\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Net.Primitives.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
A first chance exception of type 'System.AggregateException' occurred in mscorlib.dll
A first chance exception of type 'System.NotSupportedException' occurred in ConnectSdk.Windows.DLL
'ConnectSdk.Demo.Windows.exe' (CLR v4.0.30319: Immersive Application Domain): Loaded 'C:\Windows\assembly\GAC_MSIL\Microsoft.VisualStudio.Debugger.Runtime\12.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.Debugger.Runtime.DLL'. 

Exception details:

System.NotSupportedException was unhandled by user code
  HResult=-2146233067
  Message=Specified method is not supported.
  Source=ConnectSdk.Windows
  StackTrace:
       at ConnectSdk.Windows.Service.DlnaService.SubscribeVolume(ResponseListener listener)
       at ConnectSdk.Demo.Demo.Model.SetControls()
       at ConnectSdk.Demo.Demo.Model.set_SelectedDevice(ConnectableDevice value)
       at ConnectSdk.Demo.Search.PairOkButton_OnClick(Object sender, RoutedEventArgs e)
  InnerException: 
@sdaemon
Copy link
Contributor

sdaemon commented Jun 16, 2015

Any "subscribe" functionality in dlnaservice is not yet supported. To avoid crashes I removed the capabilities such that the app will not try to use them

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants