Start WatchTimeReporter when created in the middle of playback.
When EME is attached, if playback is ongoing, we will attempt to recreate the WatchTimeReporter without triggering play on it again -- losing that watch time. It's unclear if this is actually a real possibility though... is EME required to be attached to start playback of even a non-encrypted stream? Or just by the time the encrypted portion needs to play? Previously this also happened for property changes, but since those have all moved into secondary property updates that don't restart the reporter, there is no issue there anymore. BUG=none TEST=none. Change-Id: Ib2c021418eb63634c59b450bf9c80810ca2dc835 Reviewed-on: https://chromium-review.googlesource.com/1148951Reviewed-by:Xiaohan Wang <xhwang@chromium.org> Commit-Queue: Dale Curtis <dalecurtis@chromium.org> Cr-Commit-Position: refs/heads/master@{#579194}
Showing
Please register or sign in to comment