Page 1 of 1

Update to CEF 76.1.10

Posted: Tue Aug 27, 2019 7:59 am
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 :

Re: Update to CEF 76.1.10

Posted: Wed Aug 28, 2019 7:41 am
by Paulo França
Hi, Salvador. Sorry for the newbie question, but...
What does "share the screen" mean?

Re: Update to CEF 76.1.10

Posted: Wed Aug 28, 2019 8:10 am
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/

Re: Update to CEF 76.1.10

Posted: Wed Aug 28, 2019 10:39 pm
by Paulo França
Thanks for the answer. I didn't know that was possible.