Giter Site home page Giter Site logo

Comments (10)

3x3cut0r avatar 3x3cut0r commented on May 18, 2024 1

With the line inserted as you mentioned, the red border on the render window is gone!
so it seems to work.
but now i have the White Streaming Window Error like in issue 5
the same problem i have on my win 11 laptop too if i compile it by myself instead of using the .exe from the here
maybe i now also need to use nodejs 14 or 16 instead of 18 ?!

// EDIT:
I could successfully build it with nodejs 14!
I also replaced the ScreenAreaShare-1.3.2-arm64.dmg posted here with the working one
Its now working great on MacOS M1!

i didn't do a pull request. it was just the line you mentioned above to work on MacOS M1 ... compiled with nodejs 14.

from screenareashare.

mPyKen avatar mPyKen commented on May 18, 2024

The red border is configured as a private window and should be invisible for participants of MS teams, at least on windows. I haven't tested it on any other OS. Are you running on Mac OS? If you are fine with a static recording area that cannot be dragged around, you can try using the --freeze option which should hide the red border window.

from screenareashare.

3x3cut0r avatar 3x3cut0r commented on May 18, 2024

Yes i am on MacOS 13 (M1). And no, it is visible for participants in ms teams. And the border is like 0,5cm thick. A little bit too much.
Maybe i will have a look into the source code and can find out how we can fix this.

from screenareashare.

mPyKen avatar mPyKen commented on May 18, 2024

Private window mode probably does not work on MacOS, then :/
You can set the border size here
https://github.com/mPyKen/ScreenAreaShare/blob/master/src/capture.css#L24
Let me see if I can find the time to make this a cli parameter

from screenareashare.

3x3cut0r avatar 3x3cut0r commented on May 18, 2024

thanks. 4px is way more better than 10px!
and can i set the default window position too?
where is the center tag? i want to remove it and let the windows appear on the top or bottom left side.

from screenareashare.

3x3cut0r avatar 3x3cut0r commented on May 18, 2024

what could be the reason why on macos the red border is also shown on the render window?

from screenareashare.

mPyKen avatar mPyKen commented on May 18, 2024

can i set the default window position too?

The app already supports parameters to set default positions for the windows. See here

what could be the reason why on macos the red border is also shown on the render window?

ScreenAreaShare uses setContentProtection function to disallow other apps to record the capturing window. Maybe this is not supported on mac os :|

from screenareashare.

3x3cut0r avatar 3x3cut0r commented on May 18, 2024

The app already supports parameters to set default positions for the windows. See here

ok i will try that

ScreenAreaShare uses setContentProtection function to disallow other apps to record the capturing window. Maybe this is not supported on mac os :|

There is an open issue on the electron project for this with a possible solution/workaround. would this work here?

app.commandLine.appendSwitch('disable-features', 'IOSurfaceCapturer,DesktopCaptureMacV2')

from screenareashare.

mPyKen avatar mPyKen commented on May 18, 2024

There is an electron/electron#19880 on the electron project for this with a possible solution/workaround. would this work here?
app.commandLine.appendSwitch('disable-features', 'IOSurfaceCapturer,DesktopCaptureMacV2')

I am unable to test this without a Mac. Could you see if it works for you? (Or even create a PR?)
Looking at the issue, this line needs to be inserted here.

from screenareashare.

mPyKen avatar mPyKen commented on May 18, 2024

Awesome, great to hear that! Let me include the fix in the next update

from screenareashare.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.