语言

Menu
Sites
Language
AVPlay's oncurrentplaytime API doesn't emit correct playback time after scrolling forward and back

Hi Tizen Team:

I found an issue with the API 'oncurrentplaytime' .

 

After scrolling forward and back playback (e.g. seek to a few minutes later). The time which I get from oncurrentplaytime is not the same when playing to that position without scrolling (the difference is about 10s).

 

Because we're using the playback time to display subtitles on the playback. This issue has caused the subtitle out of sync with the video and audio.

 

I've reproduced the issue both and TV device and in my emulator. The issue is probably not with the video itself because I've reproduced with various videos.

 

If you have encountered any issues like that or have any ideas to solve it please let me know. Thank you!

编辑者为: Yuhao 26 3月, 2018

响应

2 回复
GEUNSOO KIM

1. I think you are in wrong forum. you should ask this kind of question in "Web Application Development".

2. Anyway I don't have any experience about AVPlayer, but I guess it is based on html5. then maybe you can add your subtitle as a subtitle track rather than managing it by yourself. did you ever set your subtitle with <track> element of the source?

Yuhao

Thank you for your reply, I'll ask in "Web Application Development" forum.