Skip to content

Instantly share code, notes, and snippets.

View j4gd33p's full-sized avatar
🎯
Focusing

J4GD33P 51NGH j4gd33p

🎯
Focusing
View GitHub Profile

Remote PTZ Control Guide

Stack: React • Node.js • Mediasoup • Redis • MongoDB • Tauri AGENT

This document walks you through end‑to‑end setup for remote PTZ (pan/tilt/zoom) control of UVC cameras, piggy‑backing on your existing Mediasoup/WebRTC pipeline and Tauri agent apps (streaming system audio + screen without confirmation popups).


Table of Contents

  1. Overview
  2. Prerequisites

UVC PTZ Agent Deployment Guide

This document provides a comprehensive, step-by-step walkthrough for installing, configuring, and running a Node.js–based UVC PTZ (pan/tilt/zoom) agent on remote machines. Once deployed, the agent exposes a secure HTTP API to control any UVC-compliant USB camera attached to the host.


Table of Contents

  1. Overview
  2. Prerequisites
@j4gd33p
j4gd33p / webrtc-test.js
Last active June 10, 2025 04:48
Play External Video using Selenium in webRTC webApp
CHECK FIRST COMMENT
@j4gd33p
j4gd33p / webrtc ICE Test.html
Created January 25, 2023 10:51
Check If TURN server is active
<script>
function checkTURNServer(turnConfig, timeout){
return new Promise(function(resolve, reject){
setTimeout(function(){
if(promiseResolved) return;
resolve(false);
promiseResolved = true;
}, timeout || 5000);
@j4gd33p
j4gd33p / Script to test If TURN server is up.htm
Last active January 25, 2023 10:49
Script to test If TURN server is up
<script>
const iceServers = [
// Test some STUN server
{
urls: 'stun:mydomain.com:port?transport=udp'
},
// Test some TURN server
{
urls: 'turn:mydomain.com:port?transport=udp',
username: 'yourUsername',
@j4gd33p
j4gd33p / Install mediasoup on windows
Last active January 23, 2023 06:12
Step by step guide to install Medisoup server on windows machine (> 10)
Installation required:
Node version >= v12.0.0
Python version >= 3.6
GNU make (https://sourceforge.net/projects/mingw/)
MOST IMPORTANT THING: THE PATH WHERE PROJECT IS STORED(where you'll do npm i mediasoup) SHOULD NOT HAVE WHITESPACES IN IT
EXAMPLE: INCORRECT: C:\Some Project\mediasoupDemo
CORRECT: C:\SomeProject\mediasoupDemo
- Install mingw and add all Basic & msys packages and append the path of folder containing make to the Windows Path environment variable (e.g. C:\MinGW\msys\1.0\bin)