Company Christmas Holidays
North American Headquarters in Miami, USA: Dec 25, 2015, Jan 1st 2016
European Headquarters in Muenster, Germany: Dec 21, 2015 until Jan 03rd 2016
Limited support is available during this period.
We at PROVISIO wish you Merry Christmas and a Happy New Year!

 

Support Request: Screen saver activation

Description

Hello,
we are developing a windows forms application. At the moment, we have 2 SiteKiosk licenses.
I've configured the SiteKiosk "scrensaver" to perform the logout (so it will recycle our windows application) after 5 minutes of inactivity.
I've also configured the webcam motion-detection, and everything is working fine.
Our application also implements WebRTC for video communication. (the customer at the kiosk can establish a bi-directional video-session with a remote employee).
Now... my need is to enable the "SiteKiosk motion-detection" only if our application is running the WebRTC video-session.
In other words: if the webcam is not in use, i want SiteKiosk to ignore the motion-detection.
Is there any way to accomplish this?

Thank you

Réponse: (8)

Re: Screen saver activation 17/10/2019 13:44
Hello,

I am sorry but this is not possible because the devices that are used to deactivate the screen saver (besides keyboard and mouse/touch input) will be set in the SiteKiosk configuration that doesn’t change during runtime.
Furthermore the Webcam you use as Webcam motion sensor device must be exclusively available and cannot be used for other things at the same time. Therefore you would need 2 Webcams with that solution.

Instead, you can consider using a COM or USB mat that can also be configured. This ensures that the screen saver is only deactivated when someone is really in front of the device (and thus on the mat).
And all you need is 1 webcam that can be used for WebRTC.

Regards,
Michael Olbrich
Re: Screen saver activation 17/10/2019 16:30
Hello Michael,
thank you for the prompt repy.
I will submit the usb-mat option to our customer.
Beside that, suppose i will leave the "standard" behaviour: screensaver with just mouse/keyboard interaction.
How can i prevent it during a WebRTC session?
I've tried with:

SetThreadExecutionState(ExecutionState.EsDisplayRequired | ExecutionState.EsContinuous);

but SiteKiosk will logout anyway.

Thank you
Re: Screen saver activation 17/10/2019 16:55
Hello,

You may check calling this SiteKiosk Object Model method in regular intervals when the WebRTC session is running:
https://www.provisio.com/helpconsole/SiteKiosk%20Object%20Model%20Help/en-US/default.htm?screensaver_reactivate_mth.htm
This method can also be called when SiteKiosk is active in order to prevent the screensaver from being launched.

But note that this is the classic Object Model for web pages IE based skins.
https://www.provisio.com/helpconsole/SiteKiosk%20Object%20Model%20Help/en-US/default.htm?index.htm

For how using classic Object Model in Chrome Browser skin you should check this:
http://devblog.provisio.com/post/2018/03/20/Using-the-Classic-SiteKiosk-Object-Model-in-SiteKiosk-Windows-Chrome-Browser.aspx

Note that you need to add the URL you use SiteKiosk Object Model on to the “URLs with SiteKiosk Object Model permission”:
https://www.provisio.com/helpconsole/SiteKiosk%20Help/en-US/default.htm?access.htm#three

Regards,
Michael Olbrich
Re: Screen saver activation 17/10/2019 17:28
Hello,
I've read the linked docs.. and i'm pretty confused.
We don't have any browser, or page running. The kiosk will only run our windows-application.

Our SiteKiosks are configured as:
Start Page = Start Screen
Browser-Engine = Chrome Browser

When the system starts, it automatically opens our application, and there are our windows forms on both screens.

How can I make the call to the object model? Our application is a .NET windows-forms writte in C#.

Thank you
Re: Screen saver activation 17/10/2019 17:36
I think I should refer to:
https://www.provisio.com/helpconsole/SiteKiosk%20Object%20Model%20Help/en-US/default.htm?screensaver_reactivate_mth.htm
But i cannot install SiteKiosk on my dev workstation. How can I import the COM objects to my VisualStudio project? Which DLLs should i copy from the SiteKiosk installation?
Pages (2): [1] 2 Next »