ScreenKIN is a web-based application for real-time screen sharing using WebRTC technology. This guide provides detailed instructions for both the sender and receiver to establish a screen sharing session.
-
Select Option
Sender
:- Open the ScreenKIN application.
- From the dropdown menu, select the
Sender
role.
-
Click
Start Sharing
- Press the
Start Sharing
button.
- Press the
-
Select
window/screen
to share- Choose the window or screen you wish to share when prompted.
-
Copy
Offer
andICE Candidates
- Once sharing starts, an
Offer
will be generated. Copy this offer. - Also copy the generated
ICE Candidates
.
- Once sharing starts, an
-
Send to your
Receiver (Person 2)
- Share the copied
Offer
andICE Candidates
with your receiver via your preferred method (email, messaging, etc.).
- Share the copied
-
Receive and Paste
Answer
- Ask
receiver
to generate and shareAnswer
- Paste the received
Answer
in the appropriateinput box
- Ask
-
Select option
Receiver
- Open the ScreenKIN application.
- From the dropdown menu, select the
Receiver
role.
-
Receive and Paste
Offer
andICE Candidates
- Ask
sender
to shareOffer
andICE Candidates
- Paste
Offer
andICE Candidates
in their respectiveinput boxes
- Ask
-
Copy the generated
answer
-
Send it to
sender (Person 1)
- Tutorial Blog : https://www.videosdk.live/developer-hub/webrtc/webrtc-screen-sharing
- MDN Docs : https://developer.mozilla.org/en-US/docs/Web/API/Screen_Capture_API/Using_Screen_Capture
- Geeks for Geeks article : https://www.geeksforgeeks.org/how-to-create-copy-to-clipboard-button/
- Tailwind Docs : https://tailwindcss.com/docs/installation
- ChatGPT offcourse
- Some Random Snippets from the internet
-
ScreenKIN is a simple website built using JavaScript, Html and Tailwind Css.
-
The application uses WebRTC for media sharing
-
Clone the repository
git clone https://github.com/porwalshreyaa/ScreenKin.git
orgit clone git@github.com:porwalshreyaa/ScreenKin.git
-
Open
index.html
in a Browser