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] Disable screensaver when player is playing #610

Merged

Conversation

hyue7
Copy link
Collaborator

@hyue7 hyue7 commented Aug 22, 2023

Fix issue.

video_player_tizen can't disable screensaver now, player should call screensaver_reset_timeout per 30 seconds to reset screensaver time when player status is Playing. However, screensaver will be enabled when playback status is Ready or Pause or Stop and no keyinput.

packages/video_player/tizen/src/video_player.cc Outdated Show resolved Hide resolved
packages/video_player/tizen/src/video_player.h Outdated Show resolved Hide resolved
packages/video_player/tizen/src/video_player.h Outdated Show resolved Hide resolved
packages/video_player/tizen/src/video_player.cc Outdated Show resolved Hide resolved
packages/video_player/tizen/src/video_player.cc Outdated Show resolved Hide resolved
packages/video_player/tizen/src/video_player.cc Outdated Show resolved Hide resolved
packages/video_player/tizen/src/video_player.cc Outdated Show resolved Hide resolved
@swift-kim swift-kim changed the title [video_player]Disable screensaver when player is playing. [video_player] Disable screensaver when player is playing Aug 22, 2023
packages/video_player/tizen/src/video_player.cc Outdated Show resolved Hide resolved
packages/video_player/tizen/src/video_player.cc Outdated Show resolved Hide resolved
packages/video_player/tizen/src/video_player.cc Outdated Show resolved Hide resolved
packages/video_player/tizen/src/video_player.cc Outdated Show resolved Hide resolved
Copy link
Member

@swift-kim swift-kim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Otherwise looks good to me.

packages/video_player/tizen/src/video_player.cc Outdated Show resolved Hide resolved
packages/video_player/tizen/src/video_player.cc Outdated Show resolved Hide resolved
packages/video_player/tizen/src/video_player.cc Outdated Show resolved Hide resolved
packages/video_player/tizen/src/video_player.cc Outdated Show resolved Hide resolved
@swift-kim swift-kim merged commit 8e82fd6 into flutter-tizen:master Sep 7, 2023
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.

[TV] Prevent screensaver
2 participants