Scrypted: HomeKit Secure Video (HKSV) & RTSP Rebroadcasting Guide
Bridge any RTSP security camera to Apple HomeKit with Apple AI face recognition, sub-second latency, and iCloud event recording.
Need an active live RTSP stream to test this integration?
Generate a free 20-minute authenticated live H.264 video feed with frame counters to test in VLC, OpenCV, or NVR software.
#1Why Scrypted is the Ultimate RTSP to HomeKit Bridge
HomeKit Secure Video (HKSV) is Apple's flagship smart home camera standard, delivering on-device AI facial recognition, package detection, and encrypted iCloud recording. However, commercial cameras supporting native HKSV are expensive and limited in resolution.
Scrypted bridges this gap by acting as a high-performance media server that ingests raw RTSP feeds from any IP camera (Hikvision, Dahua, Reolink, Tapo, UniFi) and exposes them to Apple HomeKit. Unlike older bridges like Homebridge, Scrypted achieves sub-500ms live video latency by utilizing WebRTC and native hardware-accelerated video transcoding.
#2Production Scrypted Docker Compose Deployment
For maximum reliability, deploy Scrypted using Docker Compose with host networking. Host networking (network_mode: host) is strictly required so that Apple devices on your local Wi-Fi can discover the camera bridge via mDNS and Bonjour:
version: '3.8'
services:
scrypted:
image: koush/scrypted
container_name: scrypted
restart: unless-stopped
network_mode: host
environment:
- SCRYPTED_WEB_PORT=10443
volumes:
- ~/.scrypted/volume:/server/volume
# Pass through GPU for hardware video decoding
devices:
- /dev/dri:/dev/dri # Intel QuickSync / VAAPI
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"Use a free 20-minute live RTSP test feed with timestamps to verify your connection before configuring physical cameras.
#3Enabling Hardware Acceleration (VAAPI & QuickSync)
HomeKit requires 1080p H.264 video at 30 FPS. If your camera streams 4K (3840x2160) or uses H.265 (HEVC), Scrypted must transcode the stream in real time. Running software CPU transcoding will quickly overwhelm a Raspberry Pi or Mini PC.
In the Scrypted Admin Console (https://localhost:10443):
1. Go to Settings > Hardware Acceleration.
2. Select VAAPI (for Intel QuickSync) or NVENC (for Nvidia GPUs).
3. Verify that /dev/dri is recognized in container logs to ensure zero CPU throttling.
#4Installing Essential Plugins & Camera Configuration
To establish an ultra-reliable HomeKit bridge, install the following plugins from the Scrypted Plugin Store:
1. RTSP Camera Plugin: Provides high-performance RTSP parser and rebroadcaster. 2. WebRTC Plugin: Delivers instantaneous sub-second live streaming in the Apple Home app. 3. HomeKit Plugin: Creates the virtual HomeKit camera accessory.
When adding your camera, enter the authenticated RTSP stream path. If you need help finding your exact model syntax, assemble it using our IP Camera RTSP URL Builder. Test reachability first with the Online RTSP Stream Tester.
# Main 1080p Stream (Record & Live Stream)
rtsp://admin:[email protected]:554/Streaming/Channels/101
# Sub Stream (Optional for Low-Power Snapshots)
rtsp://admin:[email protected]:554/Streaming/Channels/102#5Configuring AAC Audio & Two-Way Talk
Apple HomeKit requires AAC audio. Many IP cameras output G.711u (PCMU) or G.711a (PCMA) audio by default, which causes silent recordings or failed streams in Apple Home.
Under your Camera's Audio Settings in Scrypted: - Set Audio Codec to Transcode to AAC if your camera does not support native AAC output. - Enable Two-Way Audio if your camera supports bidirectional backchannel audio.
#6Troubleshooting: No Response & Snapshot Timeouts
If your camera displays "No Response" or snapshots fail to update in Apple Home: 1. Verify mDNS Reflection: If Scrypted runs on a separate IoT VLAN, ensure your router reflects mDNS across subnets. 2. Validate RTSP Socket Health: Use our Online RTSP Stream Tester to verify that port 554 is reachable without packet drop. 3. Test with a Synthetic Stream: Before mounting outdoor cameras, generate a free 20-minute authenticated test link on the Live RTSP Stream Workbench to verify that Scrypted and HomeKit Secure Video pair seamlessly.
Frequently Asked Questions
Does Scrypted require an Apple Home Hub for HomeKit Secure Video?
Yes. While live viewing works on your local network without a hub, HomeKit Secure Video cloud recording, face recognition, and package detection require an Apple TV 4K or HomePod on iOS 16+.
Why does my camera show "No Response" in Apple Home?
This is usually caused by mDNS discovery failure. Ensure Scrypted is deployed with Docker host networking (network_mode: host) and that your router permits mDNS packets between Wi-Fi and Ethernet.
Can I test Scrypted with a free live RTSP stream?
Yes! You can generate a free 20-minute authenticated live H.264 test stream on RTSPLink (rtsplink.com/#rtsp) to verify your Scrypted container configuration before deploying physical IP cameras.
Ready to test your live RTSP video stream?
Generate free authenticated 20-minute RTSP links with unlimited bandwidth and inspect frame timestamps in seconds.
Related Tutorials & Setup Guides
View all 100+ guidesRTSP Playback: Complete Guide to Streaming in Web Browsers, VLC & Python
Master RTSP playback across web and desktop platforms. Learn WebRTC and HLS browser remuxing architectures, VLC network cache flags, OpenCV scripts, and test with live 20-minute RTSP test feeds.
softwareHome Assistant RTSP Camera & go2rtc Low-Latency Setup Guide
Master Home Assistant RTSP integration. Learn how to configure go2rtc, WebRTC camera custom cards, and hardware video acceleration.
softwareMediaMTX (rtsp-simple-server) Complete Streaming Server Guide
Master MediaMTX configuration. Learn how to proxy IP camera feeds, set up on-demand publishing, and authenticate clients with authHTTP.