seydx / homebridge-camera-ui

Homebridge plugin for RTSP Cameras with HSV, motion detection support, Image Rekognition, Web UI to manage/watch streams and WebApp support
MIT License
622 stars 92 forks source link

rtsp operation not supported - but no errors in log - Sorted, thanks #929

Open vtonderp opened 1 month ago

vtonderp commented 1 month ago

Describe the bug I was using camera ui to get my Tapo 320WS camera working with rtsp stream. Config fine, run, no error, but when I select my camera in the camera ui, I get an error "RTSP stream exited with error! (null) - rtsp://[username]:[password]@[IP]:554/stream1: Operation not permitted" No error in the log Working fine in VLC Need help?

To Reproduce Steps to reproduce the behavior

Expected behavior Looking for camera streaming view

Logs nothing in the logs:

[15/05/2024, 09:25:35] [CameraUI] Front Door View: Configuring unbridged accessory... [15/05/2024, 09:25:35] [CameraUI] Front Door View: Setting up accessory... [15/05/2024, 09:25:36] [CameraUI] Accessories refreshed and config.json saved! [15/05/2024, 09:25:36] Homebridge v1.8.1 (HAP v0.12.0) (Homebridge 0BA0) is running on port 51594. [15/05/2024, 09:25:36] Front Door View F2BD is running on port 39447. [15/05/2024, 09:25:36] Please add [Front Door View F2BD] manually in Home app. Setup Code: 710-95-488 [15/05/2024, 09:25:47] [CameraUI] Front Door View: Setting up camera, please be patient... [15/05/2024, 09:25:50] [CameraUI] camera.ui v5.0.27 is listening on port 8082 (http) [15/05/2024, 09:29:11] [CameraUI] Initializing CameraUI platform... [15/05/2024, 09:29:11] [CameraUI] Config changed through interface, saving... Setup Payload: X-HM://0024N9DQ8GNF7 Enter this code with your HomeKit app on your iOS device to pair with Homebridge:

┌────────────┐     
│ 710-95-488 │     
└────────────┘     

[15/05/2024, 09:29:11] [CameraUI] Front Door View: Configuring unbridged accessory... [15/05/2024, 09:29:11] [CameraUI] Front Door View: Setting up accessory... [15/05/2024, 09:29:12] [CameraUI] Accessories refreshed and config.json saved! [15/05/2024, 09:29:12] Homebridge v1.8.1 (HAP v0.12.0) (Homebridge 0BA0) is running on port 51594. [15/05/2024, 09:29:12] Front Door View F2BD is running on port 38507. [15/05/2024, 09:29:12] Please add [Front Door View F2BD] manually in Home app. Setup Code: 710-95-488 [15/05/2024, 09:29:23] [CameraUI] Front Door View: Setting up camera, please be patient... [15/05/2024, 09:29:26] [CameraUI] camera.ui v5.0.27 is listening on port 8082 (http)

Screenshots If applicable, add screenshots to help explain your problem.

Screenshot 2024-05-15 at 9 52 28 AM

Red square briefly with "RTSP stream exited with error! (null) - rtsp://[username]:[password]@[IP]:554/stream1: Operation not permitted"

Environment