0

I am using screen capture API to share a window on my Django application, but this API doesn't allow to set a specific screen. I only want to share a window of specific desktop application on my Django project. How do I set to share a specific screen of an application using screen capture API or do I have to use other method? [Screen Sharing] (https://i.sstatic.net/X8R7I.png)

I am following this document. [(https://developer.mozilla.org/en-US/docs/Web/API/Screen_Capture_API/Using_Screen_Capture)]

1 Answer 1

-1

I suggest you using html2canvas library instead. It will make the screenshot only of the current window. You cannot do this via Screen Capture Api. https://html2canvas.hertzen.com/

Sign up to request clarification or add additional context in comments.

2 Comments

Code-only answers are not good answers. Please provide a working example as well
Yes, this answer could be enhanced with an explanation of what method and parameters you use with HtTML2Canvas to choose a region or particular display screen.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.