imberezin / google-cast-sdk

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

delegate method deviceDidChange is called quite infrequent #735

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Compared to the android library the deviceDidChange method is called very 
infrequent.
Even though I set deviceScanner.passiveScan=NO the callback to the delegate is 
delayed from 10 to 60 seconds.

What steps will reproduce the problem?
1. Open the CastVideos (googles own example app) and open the cast-menu
2. On a different device start any chromecast enabled app and start a stream. 
3. On the first device, observe the delay of the statusText update on the 
CastVideos application.
4. Pause the stream on the second device.
5. On the first device, observe the delay of the statusText update on the 
CastVideos application.

Expected output:
The statusText is updated nearly instantly - like on Android.

Actual:
The statusText is delayed like 10-60 seconds - that varies...

What version of the product are you using? On what operating system?
Running iOS 9.2 on a iPhone 6s
Running latest google-cast-sdk 2.10.1 
Latest version of the CastVideos sample app.

Please provide any additional information below.
Tried using a debugger and the deviceDidChange callback is not called that 
often.

Original issue reported on code.google.com by jacobvon...@gmail.com on 13 Jan 2016 at 10:59

GoogleCodeExporter commented 8 years ago
Issue 738 has been merged into this issue.

Original comment by na...@google.com on 15 Jan 2016 at 10:21

GoogleCodeExporter commented 8 years ago
Could you please share receiver logs after reproducing this issue on iOS 
device? Also, please send a feedback report with the text "For Issue 735" in 
the description. 

Original comment by na...@google.com on 15 Jan 2016 at 10:23

GoogleCodeExporter commented 8 years ago
I am right that changes to statusText should be signalled to the client in the 
deviceDidChange, right?

I am using the CastVideos-ios sample application: 
https://github.com/googlecast/CastVideos-ios
This application is using some receiver app that is hosted somewhere and I do 
not have abilities to debug this receiver.

I can produce a feedback report for you, but other kind is receiver logs is 
quite hard to reporduce.

Original comment by jacobvon...@gmail.com on 18 Jan 2016 at 8:40