Commit 9fa2aaf3 by tonihei Committed by Oliver Woodman

Use event playback position in EventLogger.

We currently use the playback position in the current window, not the
position in the window the event belongs to. This creates confusing
outputs, e.g, window=1, mediaPos=100, even if the position refers to
window 0.

issue:#7332
PiperOrigin-RevId: 310896908
parent 0dd57de1
...@@ -553,7 +553,7 @@ public class EventLogger implements AnalyticsListener { ...@@ -553,7 +553,7 @@ public class EventLogger implements AnalyticsListener {
return "eventTime=" return "eventTime="
+ getTimeString(eventTime.realtimeMs - startTimeMs) + getTimeString(eventTime.realtimeMs - startTimeMs)
+ ", mediaPos=" + ", mediaPos="
+ getTimeString(eventTime.currentPlaybackPositionMs) + getTimeString(eventTime.eventPlaybackPositionMs)
+ ", " + ", "
+ windowPeriodString; + windowPeriodString;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment