Ezviz DB1
-
Hi,
I have an Ezviz DB1 doorbell camera (link to manufacturer) from which I can read successfully the video stream using VLC. The rtsp stream requires an authentication through the rtsp url (rtsp://admin:[email protected]:554/Streaming/Channels/102).
I tried all combinations with monocle gateway, mainly using Basic and Digest authentication, @tunnel or @proxy tags) but with no success. I have logged the monocle gateway messages for debugging. Can anywone help please getting this camera to work with Alexa using monocle?
Thanks in advance for your help.
Monocle Gateway Logs Below
Nov 15 13:27:34 andromeda monocle-gateway[825]: ------------------------------------------------- Nov 15 13:27:34 andromeda monocle-gateway[825]: INITIALIZE RTSP STREAM: Sonnette Nov 15 13:27:34 andromeda monocle-gateway[825]: ------------------------------------------------- Nov 15 13:27:34 andromeda monocle-gateway[825]: - NAME : Sonnette Nov 15 13:27:34 andromeda monocle-gateway[825]: - LABEL : PRIMARY Nov 15 13:27:34 andromeda monocle-gateway[825]: - URL : rtsp://192.168.1.221:554/Streaming/Channels/102 Nov 15 13:27:34 andromeda monocle-gateway[825]: - UUID : STREAM:f10aea96-e902-4e58-acbc-bb71fb50119b Nov 15 13:27:34 andromeda monocle-gateway[825]: - SESS : 2336fbec-e999-4510-a053-681e3d262889 Nov 15 13:27:34 andromeda monocle-gateway[825]: - MODIF : Fri Nov 15 2019 13:26:05 GMT+0100 (CET) Nov 15 13:27:34 andromeda monocle-gateway[825]: - TAGS : @tunnel Nov 15 13:27:34 andromeda monocle-gateway[825]: ------------------------------------------------- Nov 15 13:27:37 andromeda monocle-gateway[825]: 2019-11-15T12:27:37.444Z [INFO] [192.168.1.169:41860 <B1-pYfnoB>] RTSP CLIENT SOCKET CONNECTED Nov 15 13:27:37 andromeda monocle-gateway[825]: 2019-11-15T12:27:37.566Z [INFO] [192.168.1.169:41860 <B1-pYfnoB>] RTSP CLIENT ATTACHED TO STREAM: Sonnette (STREAM:f10aea96-e902-4e58-acbc-bb71fb50119b) Nov 15 13:27:37 andromeda monocle-gateway[825]: 2019-11-15T12:27:37.573Z [INFO] [192.168.1.169:41860 <B1-pYfnoB>] RTSP ENDPOINT SOCKET CONNECTED {192.168.1.221:554} Nov 15 13:27:37 andromeda monocle-gateway[825]: 2019-11-15T12:27:37.574Z [DEBUG] [192.168.1.169:41860 <B1-pYfnoB>] [CLIENT REQUEST] --> [DESCRIBE] rtsp://ace67f4f-5805-4b0e-b148-0c34b3d666d8.mproxy.io:443/STREAM:f10aea96-e902-4e58-acbc-bb71fb50119b?session=2336fbec-e999-4510-a053-681e3d262889 Nov 15 13:27:37 andromeda monocle-gateway[825]: 2019-11-15T12:27:37.574Z [TRACE] [192.168.1.169:41860 <B1-pYfnoB>] [CLIENT REQUEST] --> [HEADERS] { Nov 15 13:27:37 andromeda monocle-gateway[825]: "accept": "application/sdp", Nov 15 13:27:37 andromeda monocle-gateway[825]: "user-agent": "Fire OS/6.0 stagefright/1.2 (Linux;Android 7.1.2)", Nov 15 13:27:37 andromeda monocle-gateway[825]: "cseq": "1" Nov 15 13:27:37 andromeda monocle-gateway[825]: } Nov 15 13:27:37 andromeda monocle-gateway[825]: 2019-11-15T12:27:37.578Z [DEBUG] [192.168.1.169:41860 <B1-pYfnoB>] [ENDPOINT REQUEST] --> [DESCRIBE] rtsp://192.168.1.221:554/Streaming/Channels/102 Nov 15 13:27:37 andromeda monocle-gateway[825]: 2019-11-15T12:27:37.578Z [TRACE] [192.168.1.169:41860 <B1-pYfnoB>] [ENDPOINT REQUEST] --> [HEADERS] { Nov 15 13:27:37 andromeda monocle-gateway[825]: "accept": "application/sdp", Nov 15 13:27:37 andromeda monocle-gateway[825]: "user-agent": "Fire OS/6.0 stagefright/1.2 (Linux;Android 7.1.2)", Nov 15 13:27:37 andromeda monocle-gateway[825]: "cseq": "1" Nov 15 13:27:37 andromeda monocle-gateway[825]: } Nov 15 13:27:37 andromeda monocle-gateway[825]: 2019-11-15T12:27:37.819Z [DEBUG] [192.168.1.169:41860 <B1-pYfnoB>] [ENDPOINT RESPONSE] <-- [401 (Unauthorized)] <cseq=1> (session=undefined) Nov 15 13:27:37 andromeda monocle-gateway[825]: 2019-11-15T12:27:37.820Z [TRACE] [192.168.1.169:41860 <B1-pYfnoB>] [ENDPOINT RESPONSE] <-- [HEADERS] { Nov 15 13:27:37 andromeda monocle-gateway[825]: "cseq": "1", Nov 15 13:27:37 andromeda monocle-gateway[825]: "www-authenticate": "Digest realm=\"f84dfc88e05f\", nonce=\"cd119a4e683f4c1c366efc4555e070d8\", stale=\"FALSE\", Basic realm=\"f84dfc88e05f\"", Nov 15 13:27:37 andromeda monocle-gateway[825]: "date": "Fri, Nov 15 2019 13:27:36 GMT" Nov 15 13:27:37 andromeda monocle-gateway[825]: } Nov 15 13:27:37 andromeda monocle-gateway[825]: 2019-11-15T12:27:37.825Z [INFO] [192.168.1.169:41860 <B1-pYfnoB>] RTSP ENDPOINT REQUIRES AUTHENTICATION: Digest realm="f84dfc88e05f", nonce="cd119a4e683f4c1c366efc4555e070d8", stale="FALSE", Basic realm="f84dfc88e05f" Nov 15 13:27:37 andromeda monocle-gateway[825]: 2019-11-15T12:27:37.826Z [INFO] [192.168.1.169:41860 <B1-pYfnoB>] RTSP ENDPOINT ATTEMPTING AUTHENTICATION: DIGEST Nov 15 13:27:37 andromeda monocle-gateway[825]: 2019-11-15T12:27:37.868Z [DEBUG] [192.168.1.169:41860 <B1-pYfnoB>] [ENDPOINT REQUEST] --> [DESCRIBE] rtsp://192.168.1.221:554/Streaming/Channels/102 Nov 15 13:27:37 andromeda monocle-gateway[825]: 2019-11-15T12:27:37.869Z [TRACE] [192.168.1.169:41860 <B1-pYfnoB>] [ENDPOINT REQUEST] --> [HEADERS] { Nov 15 13:27:37 andromeda monocle-gateway[825]: "accept": "application/sdp", Nov 15 13:27:37 andromeda monocle-gateway[825]: "user-agent": "Fire OS/6.0 stagefright/1.2 (Linux;Android 7.1.2)", Nov 15 13:27:37 andromeda monocle-gateway[825]: "cseq": "1", Nov 15 13:27:37 andromeda monocle-gateway[825]: "authorization": "Digest username=\"admin\", realm=\"f84dfc88e05f\", nonce=\"cd119a4e683f4c1c366efc4555e070d8\", uri=\"rtsp://192.168.1.221:554/Streaming/Channels/102\", response=\"98a6d80252ef228796073a299bb175ba\"" Nov 15 13:27:37 andromeda monocle-gateway[825]: } Nov 15 13:27:38 andromeda monocle-gateway[825]: 2019-11-15T12:27:38.158Z [DEBUG] [192.168.1.169:41860 <B1-pYfnoB>] [ENDPOINT RESPONSE] <-- [200 (OK)] <cseq=1> (session=undefined) Nov 15 13:27:38 andromeda monocle-gateway[825]: 2019-11-15T12:27:38.159Z [TRACE] [192.168.1.169:41860 <B1-pYfnoB>] [ENDPOINT RESPONSE] <-- [HEADERS] { Nov 15 13:27:38 andromeda monocle-gateway[825]: "cseq": "1", Nov 15 13:27:38 andromeda monocle-gateway[825]: "content-type": "application/sdp", Nov 15 13:27:38 andromeda monocle-gateway[825]: "content-base": "rtsp://192.168.1.221:554/Streaming/Channels/102/", Nov 15 13:27:38 andromeda monocle-gateway[825]: "content-length": "776" Nov 15 13:27:38 andromeda monocle-gateway[825]: } Nov 15 13:27:38 andromeda monocle-gateway[825]: 2019-11-15T12:27:38.159Z [TRACE] [192.168.1.169:41860 <B1-pYfnoB>] [ENDPOINT RESPONSE] <-- [BODY] Nov 15 13:27:38 andromeda monocle-gateway[825]: v=0 Nov 15 13:27:38 andromeda monocle-gateway[825]: o=- 1573824457133395 1573824457133395 IN IP4 192.168.1.221 Nov 15 13:27:38 andromeda monocle-gateway[825]: s=Media Presentation Nov 15 13:27:38 andromeda monocle-gateway[825]: e=NONE Nov 15 13:27:38 andromeda monocle-gateway[825]: b=AS:5100 Nov 15 13:27:38 andromeda monocle-gateway[825]: t=0 0 Nov 15 13:27:38 andromeda monocle-gateway[825]: a=control:rtsp://192.168.1.221:554/Streaming/Channels/102/ Nov 15 13:27:38 andromeda monocle-gateway[825]: m=video 0 RTP/AVP 96 Nov 15 13:27:38 andromeda monocle-gateway[825]: b=AS:5000 Nov 15 13:27:38 andromeda monocle-gateway[825]: a=control:rtsp://192.168.1.221:554/Streaming/Channels/102/trackID=1 Nov 15 13:27:38 andromeda monocle-gateway[825]: a=rtpmap:96 H264/90000 Nov 15 13:27:38 andromeda monocle-gateway[825]: a=fmtp:96 profile-level-id=420029; packetization-mode=1; sprop-parameter-sets= Nov 15 13:27:38 andromeda monocle-gateway[825]: m=audio 0 RTP/AVP 104 Nov 15 13:27:38 andromeda monocle-gateway[825]: b=AS:50 Nov 15 13:27:38 andromeda monocle-gateway[825]: a=control:rtsp://192.168.1.221:554/Streaming/Channels/102/trackID=2 Nov 15 13:27:38 andromeda monocle-gateway[825]: a=rtpmap:104 mpeg4-generic/16000/1 Nov 15 13:27:38 andromeda monocle-gateway[825]: a=fmtp:104 profile-level-id=15; streamtype=5; mode=AAC-hbr; config=1408;SizeLength=13; IndexLength=3; IndexDeltaLength=3; Profile=1; Nov 15 13:27:38 andromeda monocle-gateway[825]: a=Media_header:MEDIAINFO=494D4B48010100000400010001200110803E0000007D000000000000000000000000000000000000; Nov 15 13:27:38 andromeda monocle-gateway[825]: a=appversion:1.0 Nov 15 13:27:38 andromeda monocle-gateway[825]: 2019-11-15T12:27:38.160Z [INFO] [192.168.1.169:41860 <B1-pYfnoB>] RTSP ENDPOINT AUTHENTICATION SUCCESSFUL: DIGEST Nov 15 13:27:38 andromeda monocle-gateway[825]: 2019-11-15T12:27:38.169Z [DEBUG] [192.168.1.169:41860 <B1-pYfnoB>] [CLIENT RESPONSE] <-- [200 (OK)] <cseq=1> (session=undefined) Nov 15 13:27:38 andromeda monocle-gateway[825]: 2019-11-15T12:27:38.170Z [TRACE] [192.168.1.169:41860 <B1-pYfnoB>] [CLIENT RESPONSE] <-- [HEADERS] { Nov 15 13:27:38 andromeda monocle-gateway[825]: "cseq": "1", Nov 15 13:27:38 andromeda monocle-gateway[825]: "content-type": "application/sdp", Nov 15 13:27:38 andromeda monocle-gateway[825]: "content-base": "rtsp://192.168.1.221:554/Streaming/Channels/102/", Nov 15 13:27:38 andromeda monocle-gateway[825]: "content-length": "768" Nov 15 13:27:38 andromeda monocle-gateway[825]: } Nov 15 13:27:38 andromeda monocle-gateway[825]: 2019-11-15T12:27:38.171Z [TRACE] [192.168.1.169:41860 <B1-pYfnoB>] [CLIENT RESPONSE] <-- [BODY] Nov 15 13:27:38 andromeda monocle-gateway[825]: v=0 Nov 15 13:27:38 andromeda monocle-gateway[825]: o=- 1573824457133395 1573824457133395 IN IP4 192.168.1.221 Nov 15 13:27:38 andromeda monocle-gateway[825]: s=Media Presentation Nov 15 13:27:38 andromeda monocle-gateway[825]: b=AS:5100 Nov 15 13:27:38 andromeda monocle-gateway[825]: t=0 0 Nov 15 13:27:38 andromeda monocle-gateway[825]: a=control:rtsp://192.168.1.221:554/Streaming/Channels/102/ Nov 15 13:27:38 andromeda monocle-gateway[825]: m=video 0 RTP/AVP 96 Nov 15 13:27:38 andr omeda monocle-gateway[825]: b=AS:5000 Nov 15 13:27:38 andromeda monocle-gateway[825]: a=rtpmap:96 H264/90000 Nov 15 13:27:38 andromeda monocle-gateway[825]: a=fmtp:96 profile-level-id=420029; packetization-mode=1; sprop-parameter-sets= Nov 15 13:27:38 andromeda monocle-gateway[825]: a=control:rtsp://192.168.1.221:554/Streaming/Channels/102/trackID=1 Nov 15 13:27:38 andromeda monocle-gateway[825]: m=audio 0 RTP/AVP 104 Nov 15 13:27:38 andromeda monocle-gateway[825]: b=AS:50 Nov 15 13:27:38 andromeda monocle-gateway[825]: a=rtpmap:104 mpeg4-generic/16000/1 Nov 15 13:27:38 andromeda monocle-gateway[825]: a=fmtp:104 profile-level-id=15; streamtype=5; mode=AAC-hbr; config=1408;SizeLength=13; IndexLength=3; IndexDeltaLength=3; Profile=1; Nov 15 13:27:38 andromeda monocle-gateway[825]: a=control:rtsp://192.168.1.221:554/Streaming/Channels/102/trackID=2 Nov 15 13:27:38 andromeda monocle-gateway[825]: a=Media_header:MEDIAINFO=494D4B48010100000400010001200110803E0000007D000000000000000000000000000000000000; Nov 15 13:27:38 andromeda monocle-gateway[825]: a=appversion:1.0 Nov 15 13:27:38 andromeda monocle-gateway[825]: 2019-11-15T12:27:38.338Z [INFO] [192.168.1.169:41860 <B1-pYfnoB>] RTSP CLIENT SOCKET CLOSED Nov 15 13:27:38 andromeda monocle-gateway[825]: 2019-11-15T12:27:38.339Z [INFO] [192.168.1.169:41860 <B1-pYfnoB>] RTSP CLIENT DETACHED FROM STREAM: Sonnette (STREAM:f10aea96-e902-4e58-acbc-bb71fb50119b) Nov 15 13:27:38 andromeda monocle-gateway[825]: 2019-11-15T12:27:38.339Z [INFO] [192.168.1.169:41860 <B1-pYfnoB>] RTSP ENDPOINT SOCKET CLOSED [192.168.1.169:41860 <B1-pYfnoB>]