# webrtc-remote-control-device **Repository Path**: leizhh/webrtc-remote-control-device ## Basic Information - **Project Name**: webrtc-remote-control-device - **Description**: WebRTC Remote Control的device端程序,用来发送视频信息给web端、接收远程发来的指令,并支持远程SSH到设备端 - **Primary Language**: Go - **License**: MIT - **Default Branch**: master - **Homepage**: http://leizhh.cn:8080/index - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2020-04-08 - **Last Updated**: 2024-04-11 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README #
WebRTC Remote Control

基于WebRTC的实时远程控制系统,支持视频监控、远程控制与SSH登录

## 使用说明 ### [server端](https://github.com/leizhh/webrtc-remote-control-server) ### 下载: ``` git clone https://github.com/leizhh/webrtc-remote-control-server.git ``` ### 运行: ``` go run main.go ``` ### [device端](https://github.com/leizhh/webrtc-remote-control-device) ### 安装 GStreamer 项目依赖gstreamer,安装方式: #### Debian/Ubuntu `sudo apt-get install libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly` #### Windows MinGW64/MSYS2 `pacman -S mingw-w64-x86_64-gstreamer mingw-w64-x86_64-gst-libav mingw-w64-x86_64-gst-plugins-good mingw-w64-x86_64-gst-plugins-bad mingw-w64-x86_64-gst-plugins-ugly` #### macOS ` brew install gst-plugins-good gst-plugins-ugly pkg-config && export PKG_CONFIG_PATH="/usr/local/opt/libffi/lib/pkgconfig"` ### 下载: ``` git clone https://github.com/leizhh/webrtc-remote-control-device.git ``` ### 运行: ``` go run main.go -server-addr="$your_server_addr" ``` ## 依赖 GO VERSION >= 1.13 ## 感谢 WebRTC: https://github.com/pions/webrtc TURN/STUN: https://github.com/pion/turn Terminal: https://xtermjs.org/