Files
dropshell-templates/squashkiwi-streaming/test-substream.sh
Your Name 69ac486533
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 23s
test: Add 1 and update 2 files
2025-09-02 09:16:29 +12:00

12 lines
471 B
Bash
Executable File

#!/bin/bash
# Test script to check substream codec
echo "Testing substream codec..."
echo "RTSP URL: rtsp://admin:Squashkiwiaynsley1!@10.10.1.12:554/cam/realmonitor?channel=1&subtype=1"
# Use curl to get stream info
timeout 5 curl -I "rtsp://admin:Squashkiwiaynsley1%21@10.10.1.12:554/cam/realmonitor?channel=1&subtype=1" 2>&1 | head -20
echo ""
echo "Note: The substream (subtype=1) on Dahua cameras is typically H264"
echo "while the main stream (subtype=0) is H265"