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/