phawind111 / google-cast-sdk

Automatically exported from code.google.com/p/google-cast-sdk
0 stars 0 forks source link

Always disconnect from TV(using chromecast 2 dongle) #700

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.connect to chromecast 2 dongle
2.using mirror mode 
3.device always disconnect from chromecast mirror mode after a short time

What is the expected output? What do you see instead?
should not disconnect , my device always keep screen on.

What version of the product are you using? On what operating system?
Android os: 5.0
ChromecastApp: v1.12.32
chromecast 2 FW version: 1.16.44433

Please provide any additional information below.

12-07 16:08:09.872  2336  2336 I CastDeviceController: [controller-0013 MRP] 
Disconnecting due to heartbeat timeout
12-07 16:08:12.082   886  8041 D WifiService: releaseWifiLockLocked: 
WifiLock{CastMediaRouteProvider type=1 binder=android.os.BinderProxy@2644dd82}
12-07 16:08:12.140  2336  8459 I JGCastService: disable TDLS

My question:
What cause disconnect? what is chromecast2 heartbeat mechanism?
Is it related to multicast?
If need network log,I also can provide.
Timestamp: 16:07~16:08 12/07 beijing time

Original issue reported on code.google.com by liuxiaoz...@gmail.com on 9 Dec 2015 at 10:19

Attachments:

GoogleCodeExporter commented 8 years ago
Could you please share below information:
1) Which Android device are you seeing this issue with?
2) Are you using Cast Companion Library? If so, which version?
3) Does this happen only when you are trying to do Screen Mirroring or other 
scenarios as well?

Original comment by na...@google.com on 10 Dec 2015 at 9:31

GoogleCodeExporter commented 8 years ago
1) Which Android device are you seeing this issue with?
A: htc one M9+

2) Are you using Cast Companion Library? If so, which version?
A: what is Cast compainion Library? how to check our device's CCL version?
Chromecast APP download from google play,  version is v1.12.32.
We did not modify anything.

3) Does this happen only when you are trying to do Screen Mirroring or other 
scenarios as well?
A: Other scenarios such as screen off,  we did not test.
  The basic screen mirroring did not work when screen on.

I want to know chromecast2 heartbeat mechanism, using mDNS?
And heartbeat how works?

Your's answer may helpful for us.
Thanks.

Original comment by liuxiaoz...@gmail.com on 11 Dec 2015 at 7:25

GoogleCodeExporter commented 8 years ago
Please note that this portal is for issues with Cast SDK which app developers 
use for developing Cast enabled applications. Report this issue on our product 
forum: https://productforums.google.com/forum/#!forum/chromecast. 

Original comment by na...@google.com on 11 Dec 2015 at 9:17

GoogleCodeExporter commented 8 years ago
Ok, Thank you.

Original comment by liuxiaoz...@gmail.com on 14 Dec 2015 at 2:18