« Stream Commander

🔒[GUIDE] Customizing the Terminal (SSH Buttons)

Juha-Thai [Developer] #8
The Stream Commander terminal is a powerful tool for managing your streaming server or PC. Unlike traditional terminal emulators, Stream Commander is optimized for fast execution of specific commands with a single tap.
1. Programming Your Buttons 🎛️

The app features 6 programmable buttons for your most-used tasks.
  1. Go to the SET tab.
  2. Scroll down to TERMINAL BUTTONS CONFIG.
  3. Label Name: Enter a short name for the button (e.g., "Check RAM" or "Restart MediaMTX").
  4. SSH Command: Enter the exact command to be executed.
  5. Save: Click the SAVE button for each specific command you edit.

2. Useful Command Examples (Non-Interactive) ⚡

Stream Commander uses a high-speed execution channel. This means you should use commands that output text immediately. Interactive apps like htop or nano are not supported.

Use these "one-shot" commands instead:
🖥️ System Status
  • top -n 1 -b – Get a quick snapshot of CPU and RAM usage.
  • free -h – Display current memory usage in a human-readable format.
  • df -h – Check available disk space.
  • uptime -p – See how long your server has been running.
  • nvidia-smi --query-gpu=utilization.gpu,temperature.gpu --format=csv – Quick GPU status (for NVIDIA users).
🌐 Network & Stream Control
  • ip addr – Quickly find your server's current IP addresses.
  • ss -tuln – Check which ports are open (e.g., port 1935 or 10000).
  • ping -c 3 google.com – Test your connection with a 3-ping limit.
🔧 Service Management
  • sudo systemctl status mediamtx – Check if your stream bridge is active.
  • sudo systemctl restart mediamtx – Restart your streaming service.
  • ls -lh /path/to/recordings – See your latest recordings and their file sizes.

3. Adjusting Appearance (v1.0.2 Feature) 🆕

You can customize the terminal text size for better readability on any device:
  1. Go to SET tab -> TERMINAL APPEARANCE.
  2. Use the slider to adjust the font from 8sp to 24sp.
  3. The change is saved automatically and applied immediately to the TERM tab.
⚠️ Technical Note:
Stream Commander's terminal is designed for execution commands. Commands that require constant visual updates (like a moving matrix) or manual keyboard input will not display correctly. Stick to commands that print text and finish automatically.

Need help with a specific command? Ask in the Technical Support section!

Suomeksi: OHJE Päätteen mukauttaminen (SSH-painikkeet)

🔒 This topic is locked and no longer accepts replies.