Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[video_player_avplay] Add getDuration Api #650

Merged
merged 4 commits into from
Jan 8, 2024

Conversation

hyue7
Copy link
Collaborator

@hyue7 hyue7 commented Jan 3, 2024

  1. Add getDuration Api.
    Live stream duration is a range, so we change duration variable from Duration to DurationRange, the DurationRange which include a start time and a end time. The duration of the live stream changes during playback, so need add a timer to get duration.
  2. Remove seekto position judgment in SeekTo function, if position out of range, player will defaultly seek to live duration start time.
    [video_player_videohole] Add get duration API for live stream #643

@xiaowei-guan xiaowei-guan merged commit 0812a8f into flutter-tizen:master Jan 8, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants