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

Getting updateAcquireFence: Did not find frame in debugging log #654

Closed
abalmagd opened this issue May 30, 2022 · 6 comments
Closed

Getting updateAcquireFence: Did not find frame in debugging log #654

abalmagd opened this issue May 30, 2022 · 6 comments
Labels

Comments

@abalmagd
Copy link

abalmagd commented May 30, 2022

Hello, I'm trying to implement a video player, very simple usage (controller, and the widget to play video). But I get this message spammed in my debugging log: updateAcquireFence: Did not find frame.

What could be the problem?
This only happens while the video is not in fullscreen

class _VideoPlayerScreenState extends State<VideoPlayerScreen> {
  late final YoutubePlayerController _controller;

  @override
  void initState() {
    super.initState();
    _controller = YoutubePlayerController(
      initialVideoId: widget.videoId,
      params: const YoutubePlayerParams( // Defining custom playlist
        showFullscreenButton: true,
        strictRelatedVideos: true,
      ),
    );
  }

  @override
  void dispose() {
    _controller.close();
    super.dispose();
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      extendBodyBehindAppBar: true,
      extendBody: true,
      backgroundColor: Colors.transparent,
      body: BackdropFilter(
        filter: ImageFilter.blur(
          sigmaX: 3.0,
          sigmaY: 3.0,
        ),
        child: Center(
          child: YoutubePlayerControllerProvider( // Provides controller to all the widget below it.
            controller: _controller,
            child: YoutubePlayerIFrame(
              aspectRatio: 16 / 9,
              controller: _controller,
            ),
          ),
        ),
      ),
    );
  }
}
@Strain-solutions
Copy link

Did you resolve this? I am getting the same on Android, but everything works fine on iOS

@garv352
Copy link

garv352 commented Jun 8, 2022

Hey I am also getting the same error, did the find the solution ?

@abalmagd
Copy link
Author

abalmagd commented Jun 8, 2022

I'm still having the same issue, I tried the trial from this repo and still same issue.

@zemeister23
Copy link

anyone find solution?

@Yang321423
Copy link

Yang321423 commented Jul 15, 2022

I have this issue too. and I think this causes heating phone. plz find solution!!!!!!!!

bunch of error message
E/FrameEvents( 5655): updateAcquireFence: Did not find frame.

@sarbagyastha
Copy link
Owner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants