[ 一日30分 인생승리의 학습법 ] Build Your Own Remote Desktop Application using Javascript, Python & WebRTC — Part 1

Build Your Own Remote Desktop Application using Javascript, Python & WebRTC — Part 1

Nodejs & Python

Reason for using Nodejs :

To develop a remote desktop application we need ElectronWith the help of “Electron”, we can build our application using Javascript. Here javascript plays an important role in accessing the “WebRTC API”.

Reason for using Python :

Python is used to execute the mouse and keyboard events that are received from the client. Here we will use the PyAutoGui library for events execution.

How the communication will be established between Electron & Python ?

To establish communication between Electron & Python we will use “WebSockets” library. Using this library we will create a local server that will transfer data between Electron (Javascript) & Python.

Libraries used in this project

Nodejs Libraries :

Python Libraries :

How this remote desktop application will works ?

Remote Desktop Client & Server conceptual image

The remote desktop application which we going to build is fully based on “WebRTC”. It is a real-time communication technology that can be used to establish a peer to peer communication between two clients. By using “WebRTC” we can stream our audio and video directly from the browser and also we can able to share the computer screen using “Screen Share API”.

Note : In this blog, we mainly focus on building the application. If you want to know more details about WebRTC please checkout https://webrtc.org/

To make this project possible we need to build three major things they are Signaling Server, Screen Sharing Application, and Client Web Application.

Signaling Server

Step 1 : Building the signaling server is the first step of our project. This server is only required to establish a WebRTC connection between two clients. In our case, it will be Screen Sharing Application & Client Web Application.

경축! 아무것도 안하여 에스천사게임즈가 새로운 모습으로 재오픈 하였습니다.
어린이용이며, 설치가 필요없는 브라우저 게임입니다.
https://s1004games.com

Screen Sharing Application

Step 2 : Using Electron & Python we will build a screen sharing application that will transmit live screen to the client and also receive the keyboard and mouse events from a client and execute it on the same (host or remote) system.

Client Web Application

Step 3 : This is the final step of our project and in this phase, we will build a client web application that will receive the live screen from the remote pc, and also we can able to control the remote pc from this web application.

[출처] https://ragul-harisankar.medium.com/build-your-own-remote-desktop-application-using-javascript-python-webrtc-2636bdce1129

 

 

 

본 웹사이트는 광고를 포함하고 있습니다.
광고 클릭에서 발생하는 수익금은 모두 웹사이트 서버의 유지 및 관리, 그리고 기술 콘텐츠 향상을 위해 쓰여집니다.
번호 제목 글쓴이 날짜 조회 수
1191 ePub 의 개요 [전자책 표준] 가을의 곰을... 2009.09.03 30229
1190 ubuntu에서 tcl/tk 설치 가을의 곰을... 2010.08.08 25231
1189 ProGuard - 자바 역컴파일 방지 [1] 가을의 곰을... 2010.01.14 22719
1188 안드로이드 구조분석 wiki file 가을의 곰을... 2010.01.10 22130
1187 C Programming Links 가을의 곰을... 2009.09.02 21174
1186 자바에서 x86 어셈블리로 프로그래밍: x86 Assembly Programming in Java Platform 가을의 곰을... 2011.11.15 20535
1185 ubuntu에서 wxPython 설치하기 가을의 곰을... 2010.08.08 19730
1184 Programatically retrieving data from a website into a database file 졸리운_곰 2017.02.26 18826
1183 ▣ Emacs 사용법 ver 3.0 [1] 가을의 곰을... 2010.01.02 18685
1182 GOF 디자인패턴 file 가을의 곰을... 2009.12.05 17690
1181 emacs 사용법 file 가을의 곰을... 2010.01.03 17418
1180 미래 네트워크 연구 동향 file 가을의 곰을... 2009.12.13 17234
1179 소스인사이트 단축키 (2) 가을의 곰을... 2010.10.11 17003
1178 Android 빌드하여 AVD 생성 및 시뮬에 올리기 file 가을의 곰을... 2010.08.15 16946
1177 기계학습 (머신러닝:Machine Learning) 참고자료 링크 : 머신러닝 : 기계 학습 프로그래밍 자료 졸리운_곰 2014.11.29 16075
1176 Overview of MS Fortran Compiler 가을의 곰을... 2009.09.04 15743
1175 Java GUI 프로그래밍 가을의 곰을... 2011.06.05 15694
1174 < 목표성취의 7단계 > 가을의 곰을... 2009.08.17 15465
1173 JQuery의 힘으로 제작된 17 가지 오픈소스 웹 게임들 가을의 곰을... 2013.01.02 15343
1172 Spring 3 MVC Hello World Example file 가을의 곰을... 2011.11.01 14983
대표 김성준 주소 : 경기 용인 분당수지 U타워 등록번호 : 142-07-27414
통신판매업 신고 : 제2012-용인수지-0185호 출판업 신고 : 수지구청 제 123호 개인정보보호최고책임자 : 김성준 sjkim70@stechstar.com
대표전화 : 010-4589-2193 [fax] 02-6280-1294 COPYRIGHT(C) stechstar.com ALL RIGHTS RESERVED