Skip to content

seekTo doesn't do anything while video is playing #593

@silverAndroid

Description

@silverAndroid

Version

Media3 1.1.1

More version details

No response

Devices that reproduce the issue

Samsung Z Fold 4 running Android 13
Pixel 6 Pro running Android 13

Devices that do not reproduce the issue

No response

Reproducible in the demo app?

Yes

Reproduction steps

  1. Modify the main demo app to call player.seekTo(5000) either before or after playerView.setPlayer(player) is called.
  2. Play one of the selected videos

Expected result

Player seeks to the media successfully

Actual result

Player doesn't seek at all

Media

https://drive.google.com/file/d/1DpRu5HL7rbl5Irme7D4IHsxbwI63j4b6/view?usp=sharing

Video generated using FFmpegKit through (multiple attempts)

  • ffmpeg -i https://ta-044.a4cdn.pro/1ab5d45273a9183bebb58eb74d5722d8ea6384f350caf008f08cf018f1f0566d0cb82a2a799830d1af97cd3f4b6a9a81ef3aed2fb783292b1abcf1b8560a1d1aa308008b88420298522a9f761e5aa1024fbe74e5aa853cfc933cd1219327d1232e91847a185021b184c027f97ae732b3708ee6beb80ba5db6628ced43f1196fe/31014405f62933f3613ce2ec15abf3c4/ep.5.1691084753.m3u8 -c copy -f mkv -y /storage/emulated/0/Android/data/ca.digixp.aniplay/files/videos/145064_5.mkv
  • ffmpeg -i https://ta-044.a4cdn.pro/1ab5d45273a9183bebb58eb74d5722d8ea6384f350caf008f08cf018f1f0566d0cb82a2a799830d1af97cd3f4b6a9a81ef3aed2fb783292b1abcf1b8560a1d1aa308008b88420298522a9f761e5aa1024fbe74e5aa853cfc933cd1219327d1232e91847a185021b184c027f97ae732b3708ee6beb80ba5db6628ced43f1196fe/31014405f62933f3613ce2ec15abf3c4/ep.5.1691084753.m3u8 -c copy -f mp4 -y /storage/emulated/0/Android/data/ca.digixp.aniplay/files/videos/145064_5.mp4
  • ffmpeg -live_start_index 0 -ss 15 -i https://ta-044.a4cdn.pro/1ab5d45273a9183bebb58eb74d5722d8ea6384f350caf008f08cf018f1f0566d0cb82a2a799830d1af97cd3f4b6a9a81ef3aed2fb783292b1abcf1b8560a1d1aa308008b88420298522a9f761e5aa1024fbe74e5aa853cfc933cd1219327d1232e91847a185021b184c027f97ae732b3708ee6beb80ba5db6628ced43f1196fe/31014405f62933f3613ce2ec15abf3c4/ep.5.1691084753.m3u8 -c copy -f mp4 -y /storage/emulated/0/Android/data/ca.digixp.aniplay/files/videos/145064_5.mp4 <- Video above was generated using this command

Bug Report

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions