Giter Club home page Giter Club logo

Comments (6)

exalate-issue-sync avatar exalate-issue-sync commented on August 21, 2024

Dan Garner commented: We had an implement ion of cefsharp in the 1.7 windows player, but it was buggy to say the least and we didn't have the time available to make it reliable enough for the sort of up-time we need.

If you can get it working and reliable then we'd be very interested in that as it would be a quick win for the Player in terms of bringing the browser capabilities inline with what is current.

Our beginnings of a WPF player uses cefsharp and we think that the memory issues are tackled. Unfortunately there are other things we need to do there to make it work - but if its useful you can find that implementation here: [https://github.com/xibosignage/xibo-windows]

 

from xibo-dotnetclient.

earlgrei avatar earlgrei commented on August 21, 2024

I have implemented CEF at a basic, but seemingly fully functional level. I have it loaded on a PC right now and am monitoring it with our RMM tool. Do you recall what kind of memory growth was the issue? I fired it up and made a playlist that refreshed every 2 seconds and left it running for 24 hours. I only saw about 25mb of memory growth over those 24 hours. I am by no means an expert programmer so I am going to see if a friend of mine can take a look with me and see if there is anything I can load differently to help with disposal and things.

from xibo-dotnetclient.

dasgarner avatar dasgarner commented on August 21, 2024

I am not sure if I have any examples which were a particular problem, but from memory we would get crashes after a few days of usage. This was with the standard Xibo widgets, text, weather, twitter and so on.

It may well be that cefsharp itself has moved on and is better at managing memory.

This is how we did it before, if you'd like to compare? https://github.com/xibosignage/xibo-dotnetclient/blob/release/tuttle/Media/CefWebMedia.cs

from xibo-dotnetclient.

earlgrei avatar earlgrei commented on August 21, 2024

Dan,
I have not had a chance to go extend my deployment further than basic functionality but you MIGHT want to revisit CEFSharp. I have included a memory monitor graph from my monitoring system of the XiboClient.exe This is using CEFSharp > v70. I dont recall exactly which version.

image

from xibo-dotnetclient.

dasgarner avatar dasgarner commented on August 21, 2024

We're going to have a look at this: #86 to see if that is a possible drop in replacement / how it works, etc.

from xibo-dotnetclient.

dasgarner avatar dasgarner commented on August 21, 2024

A possible Chromium implementation:
#87

from xibo-dotnetclient.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.