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

videoplayer controller 구현(Detail UI) #15

Merged
merged 29 commits into from
Sep 25, 2023
Merged

Conversation

jhg3410
Copy link
Owner

@jhg3410 jhg3410 commented Sep 23, 2023

Controller Custom UI 구현

  • Play, Pause, Loading, Replay
  • 앞으로 가기(5초)
  • 뒤로 가기(5초)
  • play time/total time
  • time Slider, buffer Slider
  • 재생 중일 때 2초 동안만 Controller 표시(Visible)
PR.15-1.mp4

  • Background 다녀와도 이전 시간에서 재생
  • Error Message 대응
PR.15-2.mp4

대체재로 사용했던 renderFirstFrameListener 제거
detailUiState 의 collection stop, restart 의 기준 Lifecycle 교체
STARTED -> CREATED
그로 인해 WhileSubscribed() 도 5000 제거
visible 상태에서 재생 중이면 2초 뒤에 자동으로 Invisible
background(onStop) -> foreground(onStart) 다녀와도 처음 저장한 streamUrl 로 재생
@jhg3410 jhg3410 merged commit 6a66958 into develop Sep 25, 2023
1 check passed
@jhg3410 jhg3410 deleted the videoplayer-controller branch September 25, 2023 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant