RTSP Endpoing Socket Closed almost immediately using Gateway on Gen 4 Stick [SOLVED]
-
Initially, cameras worked great on older FireTV devices, but had to install gateway to get them working on newer gen FireTV.
Installed on Ubuntu 18.04. No issues installing, no errors running, able to ping the hostname for the instance.
When attempting to show, the FireTV changes to the screen where it wants to pull up the stream, it flickers a few times and within about 5 seconds, Alexa states the camera isn’t responding.
Looking at the logs, everything seems to connect without issue, seems to try 3 times, then the stream simply disconnects with no explicit error that I see. @Monocle , any ideas?
Jul 16 01:29:58 ubuntu-gateway monocle-gateway[24397]: ------------------------------------------------- Jul 16 01:29:58 ubuntu-gateway monocle-gateway[24397]: INITIALIZE RTSP STREAM: Backyard Jul 16 01:29:58 ubuntu-gateway monocle-gateway[24397]: ------------------------------------------------- Jul 16 01:29:58 ubuntu-gateway monocle-gateway[24397]: - NAME : Backyard Jul 16 01:29:58 ubuntu-gateway monocle-gateway[24397]: - LABEL : PRIMARY Jul 16 01:29:58 ubuntu-gateway monocle-gateway[24397]: - URL : rtsp://192.168.10.50:554/ch03/0 Jul 16 01:29:58 ubuntu-gateway monocle-gateway[24397]: - UUID : STREAM:5bac5bb8-609b-4dd7-bd60-f3292afa2e3d Jul 16 01:29:58 ubuntu-gateway monocle-gateway[24397]: - SESS : bbc32fed-9d92-4016-8bd1-927151c55417 Jul 16 01:29:58 ubuntu-gateway monocle-gateway[24397]: - MODIF : Thu Jul 16 2020 01:29:41 GMT-0400 (EDT) Jul 16 01:29:58 ubuntu-gateway monocle-gateway[24397]: - TAGS : @tunnel Jul 16 01:29:58 ubuntu-gateway monocle-gateway[24397]: ------------------------------------------------- Jul 16 01:29:58 ubuntu-gateway monocle-gateway[24397]: 2020-07-16T05:29:58.830Z [INFO] [192.168.10.136:52008 <SyJJLwTJD>] RTSP CLIENT SOCKET CONNECTED Jul 16 01:29:58 ubuntu-gateway monocle-gateway[24397]: 2020-07-16T05:29:58.963Z [INFO] [192.168.10.136:52008 <SyJJLwTJD>] RTSP CLIENT ATTACHED TO STREAM: Backyard (STREAM:5bac5bb8-609b-4dd7-bd60-f3292afa2e3d) Jul 16 01:29:58 ubuntu-gateway monocle-gateway[24397]: 2020-07-16T05:29:58.964Z [INFO] [192.168.10.136:52008 <SyJJLwTJD>] RTSP ENDPOINT SOCKET CONNECTED {192.168.10.50:554} Jul 16 01:29:58 ubuntu-gateway monocle-gateway[24397]: 2020-07-16T05:29:58.965Z [DEBUG] [192.168.10.136:52008 <SyJJLwTJD>] [CLIENT REQUEST] --> [DESCRIBE] rtsp://3aa68bfa-b78a-4ff9-b4de-f69f596e61f1.mproxy.io:443/STREAM:5bac5bb8-609b-4dd7-bd60-f3292afa2e3d?session=bbc32fed-9d92-4016-8bd1-927151c55417 Jul 16 01:29:58 ubuntu-gateway monocle-gateway[24397]: 2020-07-16T05:29:58.965Z [TRACE] [192.168.10.136:52008 <SyJJLwTJD>] [CLIENT REQUEST] --> [HEADERS] { Jul 16 01:29:58 ubuntu-gateway monocle-gateway[24397]: "accept": "application/sdp", Jul 16 01:29:58 ubuntu-gateway monocle-gateway[24397]: "user-agent": "Fire OS/6.0 stagefright/1.2 (Linux;Android 7.1.2)", Jul 16 01:29:58 ubuntu-gateway monocle-gateway[24397]: "cseq": "1" Jul 16 01:29:58 ubuntu-gateway monocle-gateway[24397]: } Jul 16 01:29:58 ubuntu-gateway monocle-gateway[24397]: 2020-07-16T05:29:58.965Z [DEBUG] [192.168.10.136:52008 <SyJJLwTJD>] [ENDPOINT REQUEST] --> [DESCRIBE] rtsp://192.168.10.50:554/ch03/0 Jul 16 01:29:58 ubuntu-gateway monocle-gateway[24397]: 2020-07-16T05:29:58.965Z [TRACE] [192.168.10.136:52008 <SyJJLwTJD>] [ENDPOINT REQUEST] --> [HEADERS] { Jul 16 01:29:58 ubuntu-gateway monocle-gateway[24397]: "accept": "application/sdp", Jul 16 01:29:58 ubuntu-gateway monocle-gateway[24397]: "user-agent": "Fire OS/6.0 stagefright/1.2 (Linux;Android 7.1.2)", Jul 16 01:29:58 ubuntu-gateway monocle-gateway[24397]: "cseq": "1" Jul 16 01:29:58 ubuntu-gateway monocle-gateway[24397]: } Jul 16 01:29:59 ubuntu-gateway monocle-gateway[24397]: 2020-07-16T05:29:59.073Z [DEBUG] [192.168.10.136:52008 <SyJJLwTJD>] [ENDPOINT RESPONSE] <-- [200 (OK)] <cseq=0> (session=undefined) Jul 16 01:29:59 ubuntu-gateway monocle-gateway[24397]: 2020-07-16T05:29:59.073Z [TRACE] [192.168.10.136:52008 <SyJJLwTJD>] [ENDPOINT RESPONSE] <-- [HEADERS] { Jul 16 01:29:59 ubuntu-gateway monocle-gateway[24397]: "cseq": "0", Jul 16 01:29:59 ubuntu-gateway monocle-gateway[24397]: "server": "Rtsp Server", Jul 16 01:29:59 ubuntu-gateway monocle-gateway[24397]: "content-type": "application/sdp", Jul 16 01:29:59 ubuntu-gateway monocle-gateway[24397]: "content-length": "374", Jul 16 01:29:59 ubuntu-gateway monocle-gateway[24397]: "content-base": "rtsp://192.168.10.50/2" Jul 16 01:29:59 ubuntu-gateway monocle-gateway[24397]: } Jul 16 01:29:59 ubuntu-gateway monocle-gateway[24397]: 2020-07-16T05:29:59.073Z [TRACE] [192.168.10.136:52008 <SyJJLwTJD>] [ENDPOINT RESPONSE] <-- [BODY] Jul 16 01:29:59 ubuntu-gateway monocle-gateway[24397]: v=0 Jul 16 01:29:59 ubuntu-gateway monocle-gateway[24397]: o=- 727532580 727532580 IN IP4 192.168.10.50 Jul 16 01:29:59 ubuntu-gateway monocle-gateway[24397]: s=Media Presentation Jul 16 01:29:59 ubuntu-gateway monocle-gateway[24397]: e=NONE Jul 16 01:29:59 ubuntu-gateway monocle-gateway[24397]: b=AS:5050 Jul 16 01:29:59 ubuntu-gateway monocle-gateway[24397]: t=0 0 Jul 16 01:29:59 ubuntu-gateway monocle-gateway[24397]: a=control:rtsp://192.168.10.50:554/ch03/0 Jul 16 01:29:59 ubuntu-gateway monocle-gateway[24397]: m=video 0 RTP/AVP 96 Jul 16 01:29:59 ubuntu-gateway monocle-gateway[24397]: c=IN IP4 0.0.0.0 Jul 16 01:29:59 ubuntu-gateway monocle-gateway[24397]: a=control:trackID=0 Jul 16 01:29:59 ubuntu-gateway monocle-gateway[24397]: a=rtpmap:96 H264/90000 Jul 16 01:29:59 ubuntu-gateway monocle-gateway[24397]: a=x-dimensions:1920,1080 Jul 16 01:29:59 ubuntu-gateway monocle-gateway[24397]: a=framerate:15 Jul 16 01:29:59 ubuntu-gateway monocle-gateway[24397]: a=fmtp:96 packetization-mode=1; sprop-parameter-sets=Z2QAKq2EAQwgCGEAQ wgCGEAQwgCEK1A8ARPyoA==,aO48sA== Jul 16 01:29:59 ubuntu-gateway monocle-gateway[24397]: 2020-07-16T05:29:59.073Z [INFO] [192.168.10.136:52008 <SyJJLwTJD>] RTSP ENDPOINT AUTHENTICATION SUCCESSFUL: NONE Jul 16 01:29:59 ubuntu-gateway monocle-gateway[24397]: 2020-07-16T05:29:59.074Z [DEBUG] [192.168.10.136:52008 <SyJJLwTJD>] [CLIENT RESPONSE] <-- [200 (OK)] <cseq=0> (session=undefined) Jul 16 01:29:59 ubuntu-gateway monocle-gateway[24397]: 2020-07-16T05:29:59.074Z [TRACE] [192.168.10.136:52008 <SyJJLwTJD>] [CLIENT RESPONSE] <-- [HEADERS] { Jul 16 01:29:59 ubuntu-gateway monocle-gateway[24397]: "cseq": "0", Jul 16 01:29:59 ubuntu-gateway monocle-gateway[24397]: "server": "Rtsp Server", Jul 16 01:29:59 ubuntu-gateway monocle-gateway[24397]: "content-type": "application/sdp", Jul 16 01:29:59 ubuntu-gateway monocle-gateway[24397]: "content-length": "366", Jul 16 01:29:59 ubuntu-gateway monocle-gateway[24397]: "content-base": "rtsp://192.168.10.50/2" Jul 16 01:29:59 ubuntu-gateway monocle-gateway[24397]: } Jul 16 01:29:59 ubuntu-gateway monocle-gateway[24397]: 2020-07-16T05:29:59.075Z [TRACE] [192.168.10.136:52008 <SyJJLwTJD>] [CLIENT RESPONSE] <-- [BODY] Jul 16 01:29:59 ubuntu-gateway monocle-gateway[24397]: v=0 Jul 16 01:29:59 ubuntu-gateway monocle-gateway[24397]: o=- 727532580 727532580 IN IP4 192.168.10.50 Jul 16 01:29:59 ubuntu-gateway monocle-gateway[24397]: s=Media Presentation Jul 16 01:29:59 ubuntu-gateway monocle-gateway[24397]: b=AS:5050 Jul 16 01:29:59 ubuntu-gateway monocle-gateway[24397]: t=0 0 Jul 16 01:29:59 ubuntu-gateway monocle-gateway[24397]: a=control:rtsp://192.168.10.50:554/ch03/0 Jul 16 01:29:59 ubuntu-gateway monocle-gateway[24397]: m=video 0 RTP/AVP 96 Jul 16 01:29:59 ubuntu-gateway monocle-gateway[24397]: c=IN IP4 0.0.0.0 Jul 16 01:29:59 ubuntu-gateway monocle-gateway[24397]: a=rtpmap:96 H264/90000 Jul 16 01:29:59 ubuntu-gateway monocle-gateway[24397]: a=fmtp:96 packetization-mode=1; sprop-parameter-sets=Z2QAKq2EAQwgCGEAQwgCGEAQwgCEK1A8ARPyoA==,aO48sA== Jul 16 01:29:59 ubuntu-gateway monocle-gateway[24397]: a=control:trackID=0 Jul 16 01:29:59 ubuntu-gateway monocle-gateway[24397]: a=framerate:15 Jul 16 01:29:59 ubuntu-gateway monocle-gateway[24397]: a=x-dimensions:1920,1080 Jul 16 01:29:59 ubuntu-gateway monocle-gateway[24397]: 2020-07-16T05:29:59.075Z [INFO] [192.168.10.136:52008 <SyJJLwTJD>] RTSP ENDPOINT SOCKET CLOSED [192.168.10.136:52008 <SyJJLwTJD>] Jul 16 01:29:59 ubuntu-gateway monocle-gateway[24397]: 2020-07-16T05:29:59.087Z [INFO] [192.168.10.136:52008 <SyJJLwTJD>] RTSP CLIENT SOCKET CLOSED Jul 16 01:29:59 ubuntu-gateway monocle-gateway[24397]: 2020-07-16T05:29:59.087Z [INFO] [192.168.10.136:52008 <SyJJLwTJD>] RTSP CLIENT DETACHED FROM STREAM: Backyard (STREAM:5bac5bb8-609b-4dd7-bd60-f3292afa2e3d) Jul 16 01:29:59 ubuntu-gateway monocle-gateway[24397]: ------------------------------------------------- Jul 16 01:29:59 ubuntu-gateway monocle-gateway[24397]: INITIALIZE RTSP STREAM: Backyard Jul 16 01:29:59 ubuntu-gateway monocle-gateway[24397]: ------------------------------------------------- Jul 16 01:29:59 ubuntu-gateway monocle-gateway[24397]: - NAME : Backyard Jul 16 01:29:59 ubuntu-gateway monocle-gateway[24397]: - LABEL : PRIMARY Jul 16 01:29:59 ubuntu-gateway monocle-gateway[24397]: - URL : rtsp://192.168.10.50:554/ch03/0 Jul 16 01:29:59 ubuntu-gateway monocle-gateway[24397]: - UUID : STREAM:5bac5bb8-609b-4dd7-bd60-f3292afa2e3d Jul 16 01:29:59 ubuntu-gateway monocle-gateway[24397]: - SESS : f0d73cca-a22b-4520-a589-f1334651d1a5 Jul 16 01:29:59 ubuntu-gateway monocle-gateway[24397]: - MODIF : Thu Jul 16 2020 01:29:41 GMT-0400 (EDT) Jul 16 01:29:59 ubuntu-gateway monocle-gateway[24397]: - TAGS : @tunnel Jul 16 01:29:59 ubuntu-gateway monocle-gateway[24397]: ------------------------------------------------- Jul 16 01:29:59 ubuntu-gateway monocle-gateway[24397]: 2020-07-16T05:29:59.807Z [INFO] [192.168.10.136:52010 <r1ey8PakD>] RTSP CLIENT SOCKET CONNECTED Jul 16 01:29:59 ubuntu-gateway monocle-gateway[24397]: 2020-07-16T05:29:59.932Z [INFO] [192.168.10.136:52010 <r1ey8PakD>] RTSP CLIENT ATTACHED TO STREAM: Backyard (STREAM:5bac5bb8-609b-4dd7-bd60-f3292afa2e3d) Jul 16 01:29:59 ubuntu-gateway monocle-gateway[24397]: 2020-07-16T05:29:59.935Z [INFO] [192.168.10.136:52010 <r1ey8PakD>] RTSP ENDPOINT SOCKET CONNECTED {192.168.10.50:554} Jul 16 01:29:59 ubuntu-gateway monocle-gateway[24397]: 2020-07-16T05:29:59.936Z [DEBUG] [192.168.10.136:52010 <r1ey8PakD>] [CLIENT REQUEST] --> [DESCRIBE] rtsp://3aa68bfa-b78a-4ff9-b4de-f69f596e61f1.mproxy.io:443/STREAM:5bac5bb8-609b-4dd7-bd60-f3292afa2e3d?session=f0d73cca-a22b-4520-a589-f1334651d1a5 Jul 16 01:29:59 ubuntu-gateway monocle-gateway[24397]: 2020-07-16T05:29:59.936Z [TRACE] [192.168.10.136:52010 <r1ey8PakD>] [CLIENT REQUEST] --> [HEADERS] { Jul 16 01:29:59 ubuntu-gateway monocle-gateway[24397]: "accept": "application/sdp", Jul 16 01:29:59 ubuntu-gateway monocle-gateway[24397]: "user-agent": "Fire OS/6.0 stagefright/1.2 (Linux;Android 7.1.2)", Jul 16 01:29:59 ubuntu-gateway monocle-gateway[24397]: "cseq": "1" Jul 16 01:29:59 ubuntu-gateway monocle-gateway[24397]: } Jul 16 01:29:59 ubuntu-gateway monocle-gateway[24397]: 2020-07-16T05:29:59.937Z [DEBUG] [192.168.10.136:52010 <r1ey8PakD>] [ENDPOINT REQUEST] --> [DESCRIBE] rtsp://192.168.10.50:554/ch03/0 Jul 16 01:29:59 ubuntu-gateway monocle-gateway[24397]: 2020-07-16T05:29:59.937Z [TRACE] [192.168.10.136:52010 <r1ey8PakD>] [ENDPOINT REQUEST] --> [HEADERS] { Jul 16 01:29:59 ubuntu-gateway monocle-gateway[24397]: "accept": "application/sdp", Jul 16 01:29:59 ubuntu-gateway monocle-gateway[24397]: "user-agent": "Fire OS/6.0 stagefright/1.2 (Linux;Android 7.1.2)", Jul 16 01:29:59 ubuntu-gateway monocle-gateway[24397]: "cseq": "1" Jul 16 01:29:59 ubuntu-gateway monocle-gateway[24397]: } Jul 16 01:30:00 ubuntu-gateway monocle-gateway[24397]: 2020-07-16T05:30:00.072Z [DEBUG] [192.168.10.136:52010 <r1ey8PakD>] [ENDPOINT RESPONSE] <-- [200 (OK)] <cseq=1> (session=undefined) Jul 16 01:30:00 ubuntu-gateway monocle-gateway[24397]: 2020-07-16T05:30:00.072Z [TRACE] [192.168.10.136:52010 <r1ey8PakD>] [ENDPOINT RESPONSE] <-- [HEADERS] { Jul 16 01:30:00 ubuntu-gateway monocle-gateway[24397]: "cseq": "1", Jul 16 01:30:00 ubuntu-gateway monocle-gateway[24397]: "server": "Rtsp Server", Jul 16 01:30:00 ubuntu-gateway monocle-gateway[24397]: "content-type": "application/sdp", Jul 16 01:30:00 ubuntu-gateway monocle-gateway[24397]: "content-length": "374", Jul 16 01:30:00 ubuntu-gateway monocle-gateway[24397]: "content-base": "rtsp://192.168.10.50/2" Jul 16 01:30:00 ubuntu-gateway monocle-gateway[24397]: } Jul 16 01:30:00 ubuntu-gateway monocle-gateway[24397]: 2020-07-16T05:30:00.072Z [TRACE] [192.168.10.136:52010 <r1ey8PakD>] [ENDPOINT RESPONSE] <-- [BODY] Jul 16 01:30:00 ubuntu-gateway monocle-gateway[24397]: v=0 Jul 16 01:30:00 ubuntu-gateway monocle-gateway[24397]: o=- 728526200 728526200 IN IP4 192.168.10.50 Jul 16 01:30:00 ubuntu-gateway monocle-gateway[24397]: s=Media Presentation Jul 16 01:30:00 ubuntu-gateway monocle-gateway[24397]: e=NONE Jul 16 01:30:00 ubuntu-gateway monocle-gateway[24397]: b=AS:5050 Jul 16 01:30:00 ubuntu-gateway monocle-gateway[24397]: t=0 0 Jul 16 01:30:00 ubuntu-gateway monocle-gateway[24397]: a=control:rtsp://192.168.10.50:554/ch03/0 Jul 16 01:30:00 ubuntu-gateway monocle-gateway[24397]: m=video 0 RTP/AVP 96 Jul 16 01:30:00 ubuntu-gateway monocle-gateway[24397]: c=IN IP4 0.0.0.0 Jul 16 01:30:00 ubuntu-gateway monocle-gateway[24397]: a=control:trackID=0 Jul 16 01:30:00 ubuntu-gateway monocle-gateway[24397]: a=rtpmap:96 H264/90000 Jul 16 01:30:00 ubuntu-gateway monocle-gateway[24397]: a=x-dimensions:1920,1080 Jul 16 01:30:00 ubuntu-gateway monocle-gateway[24397]: a=framerate:15 Jul 16 01:30:00 ubuntu-gateway monocle-gateway[24397]: a=fmtp:96 packetization-mode=1; sprop-parameter-sets=Z2QAKq2EAQwgCGEAQwgCGEAQwgCEK1A8ARPyoA==,aO48sA== Jul 16 01:30:00 ubuntu-gateway monocle-gateway[24397]: 2020-07-16T05:30:00.072Z [INFO] [192.168.10.136:52010 <r1ey8PakD>] RTSP ENDPOINT AUTHENTICATION SUCCESSFUL: NONE Jul 16 01:30:00 ubuntu-gateway monocle-gateway[24397]: 2020-07-16T05:30:00.073Z [DEBUG] [192.168.10.136:52010 <r1ey8PakD>] [CLIENT RESPONSE] <-- [200 (OK)] <cseq=1> (session=undefined) Jul 16 01:30:00 ubuntu-gateway monocle-gateway[24397]: 2020-07-16T05:30:00.073Z [TRACE] [192.168.10.136:52010 <r1ey8PakD>] [CLIENT RESPONSE] <-- [HEADERS] { Jul 16 01:30:00 ubuntu-gateway monocle-gateway[24397]: "cseq": "1", Jul 16 01:30:00 ubuntu-gateway monocle-gateway[24397]: "server": "Rtsp Server", Jul 16 01:30:00 ubuntu-gateway monocle-gateway[24397]: "content-type": "application/sdp", Jul 16 01:30:00 ubuntu-gateway monocle-gateway[24397]: "content-length": "366", Jul 16 01:30:00 ubuntu-gateway monocle-gateway[24397]: "content-base": "rtsp://192.168.10.50/2" Jul 16 01:30:00 ubuntu-gateway monocle-gateway[24397]: } Jul 16 01:30:00 ubuntu-gateway monocle-gateway[24397]: 2020-07-16T05:30:00.073Z [TRACE] [192.168.10.136:52010 <r1ey8PakD>] [CLIENT RESPONSE] <-- [BODY] Jul 16 01:30:00 ubuntu-gateway monocle-gateway[24397]: v=0 Jul 16 01:30:00 ubuntu-gateway monocle-gateway[24397]: o=- 728526200 728526200 IN IP4 192.168.10.50 Jul 16 01:30:00 ubuntu-gateway monocle-gateway[24397]: s=Media Presentation Jul 16 01:30:00 ubuntu-gateway monocle-gateway[24397]: b=AS:5050 Jul 16 01:30:00 ubuntu-gateway monocle-gateway[24397]: t=0 0 Jul 16 01:30:00 ubuntu-gateway monocle-gateway[24397]: a=control:rtsp://192.168.10.50:554/ch03/0 Jul 16 01:30:00 ubuntu-gateway monocle-gateway[24397]: m=video 0 RTP/AVP 96 Jul 16 01:30:00 ubuntu-gateway monocle-gateway[24397]: c=IN IP4 0.0.0.0 Jul 16 01:30:00 ubuntu-gateway monocle-gateway[24397]: a=rtpmap:96 H264/90000 Jul 16 01:30:00 ubuntu-gateway monocle-gateway[24397]: a=fmtp:96 packetization-mode=1; sprop-parameter-sets=Z2QAKq2EAQwgCGEAQwgCGEAQwgCEK1A8ARPyoA==,aO48sA== Jul 16 01:30:00 ubuntu-gateway monocle-gateway[24397]: a=control:trackID=0 Jul 16 01:30:00 ubuntu-gateway monocle-gateway[24397]: a=framerate:15 Jul 16 01:30:00 ubuntu-gateway monocle-gateway[24397]: a=x-dimensions:1920,1080 Jul 16 01:30:00 ubuntu-gateway monocle-gateway[24397]: 2020-07-16T05:30:00.257Z [INFO] [192.168.10.136:52010 <r1ey8PakD>] RTSP CLIENT SOCKET CLOSED Jul 16 01:30:00 ubuntu-gateway monocle-gateway[24397]: 2020-07-16T05:30:00.257Z [INFO] [192.168.10.136:52010 <r1ey8PakD>] RTSP CLIENT DETACHED FROM STREAM: Backyard (STREAM:5bac5bb8-609b-4dd7-bd60-f3292afa2e3d) Jul 16 01:30:00 ubuntu-gateway monocle-gateway[24397]: 2020-07-16T05:30:00.257Z [INFO] [192.168.10.136:52010 <r1ey8PakD>] RTSP ENDPOINT SOCKET CLOSED [192.168.10.136:52010 <r1ey8PakD>] Jul 16 01:30:00 ubuntu-gateway monocle-gateway[24397]: ------------------------------------------------- Jul 16 01:30:00 ubuntu-gateway monocle-gateway[24397]: INITIALIZE RTSP STREAM: Backyard Jul 16 01:30:00 ubuntu-gateway monocle-gateway[24397]: ------------------------------------------------- Jul 16 01:30:00 ubuntu-gateway monocle-gateway[24397]: - NAME : Backyard Jul 16 01:30:00 ubuntu-gateway monocle-gateway[24397]: - LABEL : PRIMARY Jul 16 01:30:00 ubuntu-gateway monocle-gateway[24397]: - URL : rtsp://192.168.10.50:554/ch03/0 Jul 16 01:30:00 ubuntu-gateway monocle-gateway[24397]: - UUID : STREAM:5bac5bb8-609b-4dd7-bd60-f3292afa2e3d Jul 16 01:30:00 ubuntu-gateway monocle-gateway[24397]: - SESS : 225876cc-9a6b-4603-8313-f59b9bf610d9 Jul 16 01:30:00 ubuntu-gateway monocle-gateway[24397]: - MODIF : Thu Jul 16 2020 01:29:41 GMT-0400 (EDT) Jul 16 01:30:00 ubuntu-gateway monocle-gateway[24397]: - TAGS : @tunnel Jul 16 01:30:00 ubuntu-gateway monocle-gateway[24397]: ------------------------------------------------- Jul 16 01:30:00 ubuntu-gateway monocle-gateway[24397]: 2020-07-16T05:30:00.928Z [INFO] [192.168.10.136:52012 <r1ZyUv6kD>] RTSP CLIENT SOCKET CONNECTED Jul 16 01:30:01 ubuntu-gateway monocle-gateway[24397]: 2020-07-16T05:30:01.055Z [INFO] [192.168.10.136:52012 <r1ZyUv6kD>] RTSP CLIENT ATTACHED TO STREAM: Backyard (STREAM:5bac5bb8-609b-4dd7-bd60-f3292afa2e3d) Jul 16 01:30:01 ubuntu-gateway monocle-gateway[24397]: 2020-07-16T05:30:01.057Z [INFO] [192.168.10.136:52012 <r1ZyUv6kD>] RTSP ENDPOINT SOCKET CONNECTED {192.168.10.50:554} Jul 16 01:30:01 ubuntu-gateway monocle-gateway[24397]: 2020-07-16T05:30:01.057Z [DEBUG] [192.168.10.136:52012 <r1ZyUv6kD>] [CLIENT REQUEST] --> [DESCRIBE] rtsp://3aa68bfa-b78a-4ff9-b4de-f69f596e61f1.mproxy.io:443/STREAM:5bac5bb8-609b-4dd7-bd60-f3292afa2e3d?session=225876cc-9a6b-4603-8313-f59b9bf610d9 Jul 16 01:30:01 ubuntu-gateway monocle-gateway[24397]: 2020-07-16T05:30:01.057Z [TRACE] [192.168.10.136:52012 <r1ZyUv6kD>] [CLIENT REQUEST] --> [HEADERS] { Jul 16 01:30:01 ubuntu-gateway monocle-gateway[24397]: "accept": "application/sdp", Jul 16 01:30:01 ubuntu-gateway monocle-gateway[24397]: "user-agent": "Fire OS/6.0 stagefright/1.2 (Linux;Android 7.1.2)", Jul 16 01:30:01 ubuntu-gateway monocle-gateway[24397]: "cseq": "1" Jul 16 01:30:01 ubuntu-gateway monocle-gateway[24397]: } Jul 16 01:30:01 ubuntu-gateway monocle-gateway[24397]: 2020-07-16T05:30:01.058Z [DEBUG] [192.168.10.136:52012 <r1ZyUv6kD>] [ENDPOINT REQUEST] --> [DESCRIBE] rtsp://192.168.10.50:554/ch03/0 Jul 16 01:30:01 ubuntu-gateway monocle-gateway[24397]: 2020-07-16T05:30:01.058Z [TRACE] [192.168.10.136:52012 <r1ZyUv6kD>] [ENDPOINT REQUEST] --> [HEADERS] { Jul 16 01:30:01 ubuntu-gateway monocle-gateway[24397]: "accept": "application/sdp", Jul 16 01:30:01 ubuntu-gateway monocle-gateway[24397]: "user-agent": "Fire OS/6.0 stagefright/1.2 (Linux;Android 7.1.2)", Jul 16 01:30:01 ubuntu-gateway monocle-gateway[24397]: "cseq": "1" Jul 16 01:30:01 ubuntu-gateway monocle-gateway[24397]: } Jul 16 01:30:01 ubuntu-gateway monocle-gateway[24397]: 2020-07-16T05:30:01.171Z [DEBUG] [192.168.10.136:52012 <r1ZyUv6kD>] [ENDPOINT RESPONSE] <-- [200 (OK)] <cseq=0> (session=undefined) Jul 16 01:30:01 ubuntu-gateway monocle-gateway[24397]: 2020-07-16T05:30:01.171Z [TRACE] [192.168.10.136:52012 <r1ZyUv6kD>] [ENDPOINT RESPONSE] <-- [HEADERS] { Jul 16 01:30:01 ubuntu-gateway monocle-gateway[24397]: "cseq": "0", Jul 16 01:30:01 ubuntu-gateway monocle-gateway[24397]: "server": "Rtsp Server", Jul 16 01:30:01 ubuntu-gateway monocle-gateway[24397]: "content-type": "application/sdp", Jul 16 01:30:01 ubuntu-gateway monocle-gateway[24397]: "content-length": "374", Jul 16 01:30:01 ubuntu-gateway monocle-gateway[24397]: "content-base": "rtsp://192.168.10.50/2" Jul 16 01:30:01 ubuntu-gateway monocle-gateway[24397]: } Jul 16 01:30:01 ubuntu-gateway monocle-gateway[24397]: 2020-07-16T05:30:01.171Z [TRACE] [192.168.10.136:52012 <r1ZyUv6kD>] [ENDPOINT RESPONSE] <-- [BODY] Jul 16 01:30:01 ubuntu-gateway monocle-gateway[24397]: v=0 Jul 16 01:30:01 ubuntu-gateway monocle-gateway[24397]: o=- 729624463 729624463 IN IP4 192.168.10.50 Jul 16 01:30:01 ubuntu-gateway monocle-gateway[24397]: s=Media Presentation Jul 16 01:30:01 ubuntu-gateway monocle-gateway[24397]: e=NONE Jul 16 01:30:01 ubuntu-gateway monocle-gateway[24397]: b=AS:5050 Jul 16 01:30:01 ubuntu-gateway monocle-gateway[24397]: t=0 0 Jul 16 01:30:01 ubuntu-gateway monocle-gateway[24397]: a=control:rtsp://192.168.10.50:554/ch03/0 Jul 16 01:30:01 ubuntu-gateway monocle-gateway[24397]: m=video 0 RTP/AVP 96 Jul 16 01:30:01 ubuntu-gateway monocle-gateway[24397]: c=IN IP4 0.0.0.0 Jul 16 01:30:01 ubuntu-gateway monocle-gateway[24397]: a=control:trackID=0 Jul 16 01:30:01 ubuntu-gateway monocle-gateway[24397]: a=rtpmap:96 H264/90000 Jul 16 01:30:01 ubuntu-gateway monocle-gateway[24397]: a=x-dimensions:1920,1080 Jul 16 01:30:01 ubuntu-gateway monocle-gateway[24397]: a=framerate:15 Jul 16 01:30:01 ubuntu-gateway monocle-gateway[24397]: a=fmtp:96 packetization-mode=1; sprop-parameter-sets=Z2QAKq2EAQwgCGEAQwgCGEAQwgCEK1A8ARPyoA==,aO48sA== Jul 16 01:30:01 ubuntu-gateway monocle-gateway[24397]: 2020-07-16T05:30:01.171Z [INFO] [192.168.10.136:52012 <r1ZyUv6kD>] RTSP ENDPOINT AUTHENTICATION SUCCESSFUL: NONE Jul 16 01:30:01 ubuntu-gateway monocle-gateway[24397]: 2020-07-16T05:30:01.174Z [DEBUG] [192.168.10.136:52012 <r1ZyUv6kD>] [CLIENT RESPONSE] <-- [200 (OK)] <cseq=0> (session=undefined) Jul 16 01:30:01 ubuntu-gateway monocle-gateway[24397]: 2020-07-16T05:30:01.174Z [TRACE] [192.168.10.136:52012 <r1ZyUv6kD>] [CLIENT RESPONSE] <-- [HEADERS] { Jul 16 01:30:01 ubuntu-gateway monocle-gateway[24397]: "cseq": "0", Jul 16 01:30:01 ubuntu-gateway monocle-gateway[24397]: "server": "Rtsp Server", Jul 16 01:30:01 ubuntu-gateway monocle-gateway[24397]: "content-type": "application/sdp", Jul 16 01:30:01 ubuntu-gateway monocle-gateway[24397]: "content-length": "366", Jul 16 01:30:01 ubuntu-gateway monocle-gateway[24397]: "content-base": "rtsp://192.168.10.50/2" Jul 16 01:30:01 ubuntu-gateway monocle-gateway[24397]: } Jul 16 01:30:01 ubuntu-gateway monocle-gateway[24397]: 2020-07-16T05:30:01.174Z [TRACE] [192.168.10.136:52012 <r1ZyUv6kD>] [CLIENT RESPONSE] <-- [BODY] Jul 16 01:30:01 ubuntu-gateway monocle-gateway[24397]: v=0 Jul 16 01:30:01 ubuntu-gateway monocle -gateway[24397]: o=- 729624463 729624463 IN IP4 192.168.10.50 Jul 16 01:30:01 ubuntu-gateway monocle-gateway[24397]: s=Media Presentation Jul 16 01:30:01 ubuntu-gateway monocle-gateway[24397]: b=AS:5050 Jul 16 01:30:01 ubuntu-gateway monocle-gateway[24397]: t=0 0 Jul 16 01:30:01 ubuntu-gateway monocle-gateway[24397]: a=control:rtsp://192.168.10.50:554/ch03/0 Jul 16 01:30:01 ubuntu-gateway monocle-gateway[24397]: m=video 0 RTP/AVP 96 Jul 16 01:30:01 ubuntu-gateway monocle-gateway[24397]: c=IN IP4 0.0.0.0 Jul 16 01:30:01 ubuntu-gateway monocle-gateway[24397]: a=rtpmap:96 H264/90000 Jul 16 01:30:01 ubuntu-gateway monocle-gateway[24397]: a=fmtp:96 packetization-mode=1; sprop-parameter-sets=Z2QAKq2EAQwgCGEAQwgCGEAQwgCEK1A8ARPyoA==,aO48sA== Jul 16 01:30:01 ubuntu-gateway monocle-gateway[24397]: a=control:trackID=0 Jul 16 01:30:01 ubuntu-gateway monocle-gateway[24397]: a=framerate:15 Jul 16 01:30:01 ubuntu-gateway monocle-gateway[24397]: a=x-dimensions:1920,1080 Jul 16 01:30:01 ubuntu-gateway monocle-gateway[24397]: 2020-07-16T05:30:01.175Z [INFO] [192.168.10.136:52012 <r1ZyUv6kD>] RTSP ENDPOINT SOCKET CLOSED [192.168.10.136:52012 <r1ZyUv6kD>] Jul 16 01:30:01 ubuntu-gateway monocle-gateway[24397]: 2020-07-16T05:30:01.182Z [INFO] [192.168.10.136:52012 <r1ZyUv6kD>] RTSP CLIENT SOCKET CLOSED Jul 16 01:30:01 ubuntu-gateway monocle-gateway[24397]: 2020-07-16T05:30:01.182Z [INFO] [192.168.10.136:52012 <r1ZyUv6kD>] RTSP CLIENT DETACHED FROM STREAM: Backyard (STREAM:5bac5bb8-609b-4dd7-bd60-f3292afa2e3d)
-
OK, well. I suddenly got it to work by grasping at straws.
I had tried many of the tags, but somehow guessed to combine the following tags:
@fake-fmtp, @proxy-tcp
And it suddenly started working! I was shocked, but happy.
The stream doesn’t buffer, but there is about a 10 second delay for some reason. I will work tomorrow to change the RTSP stream to the lower quality sub-stream to see if that helps in any way. It’s really NBD and I haven’t event tested any delay to compare with vlc to see if it is my DVR that is causing the issue. In any event, I guess this can be marked solved!
-
@shelzmike
The delay/latency you describe is unfortunately typical. The best I have seen is about 5-8 seconds. 10-15 is common though. It seems to highly depend on the camera. I suspect it’s something to do with the limited processing power of the Alexa devices or the lack of hardware H.264 decoding. I get about the same latency when trying to view a RTSP stream from a Raspberry Pi (similar ARM-based device). If I view a RTPS stream from a desktop computer, I don’t see much delay at all.
The Monocle Gateway should not add any additional noticeable delay. Maybe 1 second or so. So the gateway is not where the bottle neck is.
Thanks, Robert