You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am developing a TV Remote control application. I am only discovering CastService and DLNAService devices. After getting the devices list. I select a device and try to connect it with the below code.
After a few seconds, I only receive a callback in onDeviceDisconnected() method. nothing else is happening. After some deep debugging, I found that the error states that Failed to connect to Google Cast Device.
I have no idea about what is going wrong here. Am I missing something ?
Also, What should I set in .setPairingType(PairingType) as I have tried all the PairingTypes but of no use.
The text was updated successfully, but these errors were encountered:
Hi,
I am developing a TV Remote control application. I am only discovering CastService and DLNAService devices. After getting the devices list. I select a device and try to connect it with the below code.
`
deviceModel.connectableDevice.addListener(connectableDeviceListener)
deviceModel.connectableDevice.setPairingType(DeviceService.PairingType.MIXED)
deviceModel.connectableDevice.connect()
`
After a few seconds, I only receive a callback in onDeviceDisconnected() method. nothing else is happening. After some deep debugging, I found that the error states that Failed to connect to Google Cast Device.
I have no idea about what is going wrong here. Am I missing something ?
Also, What should I set in .setPairingType(PairingType) as I have tried all the PairingTypes but of no use.
The text was updated successfully, but these errors were encountered: