Closed GoogleCodeExporter closed 9 years ago
Issue 480 has been merged into this issue.
Original comment by na...@google.com
on 8 Jan 2015 at 6:05
Can you use a Styled receiver instead of the default one? That way, you can
enable logging and figure out the timing of when the receiver gets the message
from the sender and when the receiver sends the status update back to the
sender. Providing those logs would be helpful for us to find out where the
issue lies. You can find more information about the Styled receiver here:
https://developers.google.com/cast/docs/styled_receiver
Original comment by jonathan...@google.com
on 9 Jan 2015 at 9:42
I think its not required to code the Styled Receiver for our instance. Let me
give you brief explanation about our sender app behavior:
Actually our sender app will join to the YouTube session that is running in the
ChromeCast Device. For your information, user will cast videos using YouTube
app and then user will start our sender application to join to the session
which is already running in the chromecast (i.e. session started by YouTube
app), used
"Cast.CastApi.joinApplication(mApiClient).setResultCallback(connectionResultCall
back);"
Inside the 'connectionResultCallback', sender app will fetch the
currentStreamingPosition of the youtube video and from there on-wards sender
app will schedule filter events(mute/un-mute) for the specific video.
Please suggest...
Original comment by someswar...@gmail.com
on 12 Jan 2015 at 11:11
Is it possible to debug the 'Default Receiver' application as we do for 'Styled
Receiver' apps?
Original comment by someswar...@gmail.com
on 12 Jan 2015 at 11:20
You cannot debug a Default receiver. In this case, you are using YT receiver
and unless you have your own receiver to be able to debug, we won't be able to
provide you further assistance.
Original comment by anad...@google.com
on 12 Jan 2015 at 3:53
Thanks for your response.
Actually I haven't looked into receiver applications development area. I'm
trying to code some simple receiver app to listen the events and sending the
status of media player. Please suggest me any sample receiver app which will do
the same.
Please clarify and suggest me on below things, it would be very helpful for me
to investigate this issue:
1) As my sender app receiving StatusUpdate callbacks very late, will it depends
on wi-fi adapter speed OR do we have any other areas which will cause this
delay issue?
2) Is it required to set the WakeLock mode for sender app in-order to attain
the CPU attention when app in background? And I did not find any method to set
WakeLock for RemoteMediaPlayer object as we do for android MediaPlayer object.
3) I observed that sometimes I'm getting inappropriate media streaming position
from the receiver app even I kept sender app in foreground.
Original comment by someswar...@gmail.com
on 16 Jan 2015 at 10:20
Hi All,
Finally I resolved my issue.
I verified the above issue by debugging the logs in styled receiver and
observed that there is no delay.
Rather in sender application I used different method to get the current media
streaming position.
i.e. 'mRemoteMediaPlayer.getApproximateStreamPosition()' - It was giving me the
exact streaming position both in foreground and background.
whereas previsously I used 'mediaStatus.getStreamPosition()' method but
sometimes its giving me the inaccurate streaming position.
Original comment by chromeca...@gmail.com
on 30 Jan 2015 at 1:39
Original issue reported on code.google.com by
venu7...@gmail.com
on 8 Jan 2015 at 7:28