ConnectSDK / Connect-SDK-Android-API-Sampler

Creative Commons Zero v1.0 Universal
24 stars 21 forks source link

ConnectSDK doesn't add services to device. #54

Open Avasara opened 8 months ago

Avasara commented 8 months ago

In Logcat, this is what ConnectSDK says when it discovers services on devices.: Adding service Netcast TV to device with address 192.168.0.13 and id 8090c8ea-1b4d-4547-a377-d0e367e991D4 Adding service DLNA to device with address 192.168.0.13 and id 8090c8ea-1b4d-4547-a377-d0e367e991D4 Adding service DIAL to device with address 192.168.0.13 and id babf1781-96e6-4eef-923b-6ca2859a2236

When I try to connect to it, it only connects to one of them. Even though Netcast and DLNA services above have the same ID and IP, it still only adds one to the device (Always DLNA). It's the same with DIAL. It never adds more than one service to the device and that service is never Netcast. It's either DIAL or DLNA. Does anyone have a solution for this? If this isn't an issue for you, I'd love any code snippet you can provide.