Hi,
I find one issue that the remote renderer playing elapsed time is not always the corrent, it may skip one second frequently, it seems that upnp action timing issue,
but I compare with the BubbleUPnP App, the remote renderer playing elapsed time is always correct - going with every second but no skipping any second,
Do you have any idea to enhance this issue?
Thanks a lot.
Best regards,
hermanghlu
Log:
07-03 14:17:59.369 23915-24034/de.yaacc D/de.yaacc.player.AVTransportPlayer$9﹕ received Positioninfo= RelTime: 00:00:00
07-03 14:18:00.309 23915-24034/de.yaacc D/de.yaacc.player.AVTransportPlayer$9﹕ received Positioninfo= RelTime: 00:00:00
07-03 14:18:02.024 23915-24034/de.yaacc D/de.yaacc.player.AVTransportPlayer$9﹕ received Positioninfo= RelTime: 00:00:00
07-03 14:18:02.839 23915-23976/de.yaacc D/de.yaacc.player.AVTransportPlayer$9﹕ received Positioninfo= RelTime: 00:00:00
07-03 14:18:03.769 23915-23976/de.yaacc D/de.yaacc.player.AVTransportPlayer$9﹕ received Positioninfo= RelTime: 00:00:00
07-03 14:18:04.539 23915-23976/de.yaacc D/de.yaacc.player.AVTransportPlayer$9﹕ received Positioninfo= RelTime: 00:00:00
07-03 14:18:05.734 23915-23976/de.yaacc D/de.yaacc.player.AVTransportPlayer$9﹕ received Positioninfo= RelTime: 00:00:02
07-03 14:18:06.659 23915-23976/de.yaacc D/de.yaacc.player.AVTransportPlayer$9﹕ received Positioninfo= RelTime: 00:00:02
07-03 14:18:07.904 23915-23976/de.yaacc D/de.yaacc.player.AVTransportPlayer$9﹕ received Positioninfo= RelTime: 00:00:04
07-03 14:18:08.484 23915-23976/de.yaacc D/de.yaacc.player.AVTransportPlayer$9﹕ received Positioninfo= RelTime: 00:00:04
07-03 14:18:09.984 23915-23994/de.yaacc D/de.yaacc.player.AVTransportPlayer$9﹕ received Positioninfo= RelTime: 00:00:06
07-03 14:18:10.459 23915-23994/de.yaacc D/de.yaacc.player.AVTransportPlayer$9﹕ received Positioninfo= RelTime: 00:00:06
07-03 14:18:11.564 23915-23994/de.yaacc D/de.yaacc.player.AVTransportPlayer$9﹕ received Positioninfo= RelTime: 00:00:07
07-03 14:18:12.624 23915-23994/de.yaacc D/de.yaacc.player.AVTransportPlayer$9﹕ received Positioninfo= RelTime: 00:00:08
07-03 14:18:13.589 23915-23994/de.yaacc D/de.yaacc.player.AVTransportPlayer$9﹕ received Positioninfo= RelTime: 00:00:09
07-03 14:18:14.874 23915-23994/de.yaacc D/de.yaacc.player.AVTransportPlayer$9﹕ received Positioninfo= RelTime: 00:00:10
07-03 14:18:16.419 23915-23994/de.yaacc D/de.yaacc.player.AVTransportPlayer$9﹕ received Positioninfo= RelTime: 00:00:12
07-03 14:18:16.664 23915-23994/de.yaacc D/de.yaacc.player.AVTransportPlayer$9﹕ received Positioninfo= RelTime: 00:00:12
07-03 14:18:17.639 23915-23994/de.yaacc D/de.yaacc.player.AVTransportPlayer$9﹕ received Positioninfo= RelTime: 00:00:13
07-03 14:18:18.729 23915-23994/de.yaacc D/de.yaacc.player.AVTransportPlayer$9﹕ received Positioninfo= RelTime: 00:00:14
07-03 14:18:20.334 23915-23994/de.yaacc D/de.yaacc.player.AVTransportPlayer$9﹕ received Positioninfo= RelTime: 00:00:16
07-03 14:18:20.719 23915-23994/de.yaacc D/de.yaacc.player.AVTransportPlayer$9﹕ received Positioninfo= RelTime: 00:00:16
Hi,
the position info is fetched asynchronous. Otherwise the ui thread will be blocked to often. So the ui has a timer for constantly calling the position info from the remote player every second. Take a look at AVTransportPlayerActivity line 320 "setTrackInfo" and line 349 "updateTime()".
If you change this cycle time to maybe 500 ms, the seek bar won't skip seconds. But you increase the network traffic! You have to play with it.