Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
If you find these projects useful please consider becoming a sponsor with Patreon, GitHub or Liberapay.

Update to CEF 76.1.10

Post Reply
User avatar
salvadordf
Posts: 4565
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Update to CEF 76.1.10

Post by salvadordf »

Hi,

CEF4Delphi has been updated to CEF 76.1.10.

This is what's new in the CEF binaries : There are a couple of changes in CEF4Delphi :
  • Added GlobalCEFApp.UseFakeUIForMediaStream : If you need to share the screen, set this property and GlobalCEFApp.EnableMediaStream to TRUE.
  • Added overloaded TCefBaseRefCountedOwn.SameAs : This might be useful to compare CEF interfaces.
The CEF binaries are these :
User avatar
Paulo França
Posts: 17
Joined: Mon Jul 15, 2019 2:22 am
Location: Brazil
Contact:

Re: Update to CEF 76.1.10

Post by Paulo França »

Hi, Salvador. Sorry for the newbie question, but...
What does "share the screen" mean?
User avatar
salvadordf
Posts: 4565
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Update to CEF 76.1.10

Post by salvadordf »

Hi,

It's a feature used in webinars where one user shares his/her screen with a set of passive users. It can also be used to make video recordings of all the screen.

Open the SimpleBrowser2 demo and add these lines before the GlobalCEFApp.StartMainProcess call in the DPR file :

Code: Select all

  GlobalCEFApp.EnableMediaStream       := True;
  GlobalCEFApp.UseFakeUIForMediaStream := True;
Run that demo and load this address :
https://janus.conf.meetecho.com/screensharingtest.html

Click the "Start" button, type a title for the session in the first input box and click the "Share your screen" button.
At this point, Chrome shows a panel to select what you want to share : screen, application, etc. but CEF does't include that selection panel.

The GlobalCEFApp.UseFakeUIForMediaStream property is used to override that selection panel and share the screen.

Here you have a demo for the screen recordings :
https://webrtc.github.io/samples/src/co ... playmedia/
User avatar
Paulo França
Posts: 17
Joined: Mon Jul 15, 2019 2:22 am
Location: Brazil
Contact:

Re: Update to CEF 76.1.10

Post by Paulo França »

Thanks for the answer. I didn't know that was possible.
Post Reply