-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
webRTC screensharing support #99
Comments
Thanks for the issue creation. We'll have a look into it once we get the time, we're currently however pretty busy with the new proctoring feature supporting Jitsi Meet & Zoom. |
Okay, so I added the two flags and basic screen capturing seems to work now. It however appears to be the case that only the currently active main display can be captured, at least according to the comments in the CEF issues mentioned above. @Elettrotecnica Could you have a look at it and see whether it works for you as well? If yes, then we'd release this with version 3.3.0. |
We will thus release 3.3.0 with the screen capturing capabilities mentioned above. |
Many thanks for your efforts! I think the behavior you describe is one of the aforementioned consequences of the embedded Chrome not supporting the screen selection UI. Is there a preview version I can check? Otherwise I will report on the 3.3.0 release as soon as it is out. Thanks again! |
I might have found the preview build, is the one one can download as an artifact here, right? https://sebdev-let.ethz.ch/project/appveyor/seb-win-refactoring Will let you know soon |
Yes exactly, those are the beta builds. |
I have tried the beta version and screen capture worked as expected. One cannot select the screen explicitly and the currently active one will be automatically taken, but this is not a real issue, as one can just limit the number of allowed displays to 1 in the seb conf. Thanks again a lot! |
Excellent, thanks for the feedback. Yes, unfortunately the browser component does not (yet) provide any functionality for screen selection. In case CEF / Chromium extend their API in the future we'd naturally revisit this issue and implement the necessary dialogs etc. |
The feature is now released with version 3.3.0. |
@Elettrotecnica @dbuechel |
|
@dbuechel Thanks for the response. I saw that comment but I was just unable to get it to work. What happened is that I had 2 monitors set up and that doesn't work. |
Aha, I see. Well, it might well be that it stopped working in the meantime, this has most unfortunately happened before when updating the browser engine. Are there any suspicious log entries in the client or browser log of SEB (to be found under |
@dbuechel Some stuff in the logs.
I think this is non-issue at least for our use case. We're not going to support multiple monitors. Update In case you're wondering about why this might fail on the MAC version of the SEB, you can get the following error if you try to run this automatically:
I worked around this by just showing a button that on click will share screen. |
Excellent, that's good to know. I guess the issue is related to the following log entry:
|
Dear developers,
at the university where I work, we have implemented proctoring of student exams via desktop and camera snaphots taken at random intervals using the browser's getDisplayMedia and getUserMedia APIs.
We plan to harden the security of our exams by introducing your great Safe Exam Browser. However, we are struggling with capturing the desktop, as it does not seem to be possible via getDisplayMedia. Capturing audio and camera instead works perfectly.
I got in contact with you already on Sourceforge (https://sourceforge.net/p/seb/feature-requests/71/). Apparently, the Chromium Embedded Framework you are using now as a base for your browser component does support screen-sharing. However, accroding to
https://bitbucket.org/chromiumembedded/cef/issues/2993/webrtc-based-screen-sharing-capturing-not
and
https://bitbucket.org/chromiumembedded/cef/issues/1065/add-support-for-webrtc-based-screen
there might be extra configuration needed on the integrator (your) side. I am also not sure how difficult it is to choose the correct screen. The basic issue is that CEF does not seem to support the screen selection UI, which cascades to a series of consequences (e.g. getDisplayMedia demands that the user chooses a source explicitly).
Please consider looking into the issue, as there is at least a chance that a relatively small effort could provide a very useful feature.
I am available for testing or to provide additional information in case.
All the best and thanks for a very useful tool.
The text was updated successfully, but these errors were encountered: