Alexa show 15 or fire stick max to blue iris, disconnect after 15 seconds
-
i have been a MONOCLE user for many years. i started using blue iris 6 months ago. everything has been working great with my older show 10 device. i recently got a new show 15 and the new fire stick max. i have installed the gateway. direct to cameras of many brands work great in @tunnel mode. i want a grid view though, this is where blue iris comes into play. blue iris only outputs TCP RTSP streams, therefore i have to use the @proxy-tcp tag. it will connect but drop the feed after about 15 seconds, this is on all alexa devices when using @proxy-tcp. to rule out DNS Rebinding, i have added the monocle.properties file with rtsp.register.host= pointing at my server ip. i have tried every combination of tag possible. below is the redacted debug info.``` a workaround is to use mypage and open the blueiris ui in silk, but this doesn’t look as good. also i have to use camera settings that aren’t ideal if connecting direct to cameras via tunnel. would be really great if we could get blue iris working through monocle on newer amazon devices.
****************************************************************** * __ __ ___ _ _ ___ ___ _ ___ * * | \/ |/ _ \| \| |/ _ \ / __| | | __| * * | |\/| | (_) | .` | (_) | (__| |__| _| * * |_| |_|\___/|_|\_|\___/ \___|____|___| * * * ****************************************************************** ------------------------------------------------- MONOCLE RUNTIME ENVIRONMENT ------------------------------------------------- VERSION = 0.0.6 OS/ARCH = win32\x64 PROCESS = monocle-gateway (PID=47000) TIMESTAMP = 2024-02-22T04:18:35.606Z ------------------------------------------------- MONOCLE GATEWAY SERVICE (Version: 0.0.6) ------------------------------------------------- [Monocle Starting] [Monocle Connecting] [Monocle Started] [RTSP Server Starting] [RTSP Server Listening] 0.0.0.0:8555 (RTSP) [RTSP Server Listening] 0.0.0.0:443 (RTSP-TLS) [RTSP Proxy Started] (PID=45544) [RTSP Server Listening] 0.0.0.0:8554 (PROXY) [RTSP Server Started] [Monocle Connected] [RTSP Server Registered] ------------------------------------------------- MONOCLE RTSP SERVICE - INITIALIZED ------------------------------------------------- FQDN = aaaaaaaa-aaaa-aaaa-aaaaa-aaaaa-1bd48e6.mproxy.io HOST = aaa.bbb.ccc.ddd PORT = 443 ------------------------------------------------- ------------------------------------------------- INITIALIZE RTSP STREAM: All Cameras ------------------------------------------------- - NAME : All Cameras - CAMERA.MFG : Blue Iris - CAMERA.MODEL : a - CAMERA.LABEL : PRIMARY - RTSP.URL : rtsp://aaa.bbb.ccc.ddd:81/alltest - STREAM.ID : STREAM:f19caf70-76b8-4e04-b398-3feb939354b9 - SESSION.ID : bf01e0f1-dac6-46b0-8ff8-ce96750b4c83 - LAST.MODIFIED : Wed Feb 21 2024 22:11:21 GMT-0600 (Central Standard Time) - TAGS : @proxy-tcp ------------------------------------------------- ATTENTION -> Next you should see log statements showing your camera establishing an inbound connection to this gateway instance via: -> DNS URL: rtsp://aaaaaaaa-aaaa-aaaa-aaaaa-aaaaa-1bd48e6.mproxy.io:443/STREAM:f19caf70-76b8-4e04-b398-3feb939354b9 -> This DNS host address should resolve to: aaa.bbb.ccc.ddd:443 on your network. NOTE: If you don't receive any inbound connection log statements, please see: https://monoclecam.com/monocle-gateway-troubleshooting 2024-02-22T04:18:40.769Z [INFO] [RTSP PROXY] REGISTERING STREAM [All Cameras/PRIMARY]; (STREAM:f19caf70-76b8-4e04-b398-3feb939354b9) 2024-02-22T04:18:40.771Z [DEBUG] <RTSP-PROXY> [REQUEST] --> [REGISTER] rtsp://aaa.bbb.ccc.ddd:81/alltest 2024-02-22T04:18:40.771Z [TRACE] <RTSP-PROXY> [REQUEST] --> [HEADERS] { "cseq": "1", "transport": "reuse_connection=0;preferred_delivery_protocol=interleaved;proxy_url_suffix=STREAM:f19caf70-76b8-4e04-b398-3feb939354b9" } 2024-02-22T04:18:40.771Z [DEBUG] <RTSP-PROXY> [RESPONSE] <-- [200 (OK)] <cseq=1> (session=undefined) 2024-02-22T04:18:40.771Z [TRACE] <RTSP-PROXY> [RESPONSE] <-- [HEADERS] { "cseq": "1", "date": "Thu, Feb 22 2024 04:18:40 GMT" } 2024-02-22T04:18:41.150Z [INFO] [aaa.bbb.ccc.136:33954 <04pv9Ou1H>] RTSP CLIENT SOCKET CONNECTED ------------------------------------------------- INBOUND RTSP CONNECTION FROM ALEXA: [aaa.bbb.ccc.136:33954 <04pv9Ou1H>] ------------------------------------------------- - CLIENT.IP : aaa.bbb.ccc.136 ( <-- this should be your Alexa device) - CLIENT.PORT : 33954 - REQ.ID : 04pv9Ou1H - REQ.PROTOCOL : RTSP/1.0 - REQ.METHOD : DESCRIBE - REQ.URL : rtsp://aaaaaaaa-aaaa-aaaa-aaaaa-aaaaa-1bd48e6.mproxy.io:443/STREAM:f19caf70-76b8-4e04-b398-3feb939354b9?session=bf01e0f1-dac6-46b0-8ff8-ce96750b4c83 - STREAM.ID : STREAM:f19caf70-76b8-4e04-b398-3feb939354b9 - SESSION.ID : bf01e0f1-dac6-46b0-8ff8-ce96750b4c83 ------------------------------------------------- 2024-02-22T04:18:41.278Z [INFO] [aaa.bbb.ccc.136:33954 <04pv9Ou1H>] RTSP CLIENT ATTACHED TO STREAM: All Cameras (STREAM:f19caf70-76b8-4e04-b398-3feb939354b9) 2024-02-22T04:18:41.279Z [INFO] [aaa.bbb.ccc.136:33954 <04pv9Ou1H>] RTSP ENDPOINT SOCKET CONNECTING TO: {127.0.0.1:8554} 2024-02-22T04:18:41.279Z [INFO] [aaa.bbb.ccc.136:33954 <04pv9Ou1H>] RTSP ENDPOINT SOCKET CONNECTED {127.0.0.1:8554} 2024-02-22T04:18:41.279Z [DEBUG] [aaa.bbb.ccc.136:33954 <04pv9Ou1H>] [CLIENT REQUEST] --> [DESCRIBE] rtsp://aaaaaaaa-aaaa-aaaa-aaaaa-aaaaa-1bd48e6.mproxy.io:443/STREAM:f19caf70-76b8-4e04-b398-3feb939354b9?session=bf01e0f1-dac6-46b0-8ff8-ce96750b4c83 2024-02-22T04:18:41.279Z [TRACE] [aaa.bbb.ccc.136:33954 <04pv9Ou1H>] [CLIENT REQUEST] --> [HEADERS] { "accept": "application/sdp", "user-agent": "Fire OS/7.0 stagefright/1.2 (Linux;Android 9)", "cseq": "1" } 2024-02-22T04:18:41.280Z [DEBUG] [aaa.bbb.ccc.136:33954 <04pv9Ou1H>] [ENDPOINT REQUEST] --> [DESCRIBE] rtsp://aaaaaaaa-aaaa-aaaa-aaaaa-aaaaa-1bd48e6.mproxy.io:443/STREAM:f19caf70-76b8-4e04-b398-3feb939354b9 2024-02-22T04:18:41.280Z [TRACE] [aaa.bbb.ccc.136:33954 <04pv9Ou1H>] [ENDPOINT REQUEST] --> [HEADERS] { "accept": "application/sdp", "user-agent": "Fire OS/7.0 stagefright/1.2 (Linux;Android 9)", "cseq": "1" } 2024-02-22T04:18:41.280Z [DEBUG] [aaa.bbb.ccc.136:33954 <04pv9Ou1H>] [ENDPOINT RESPONSE] <-- [200 (OK)] <cseq=1> (session=undefined) 2024-02-22T04:18:41.280Z [TRACE] [aaa.bbb.ccc.136:33954 <04pv9Ou1H>] [ENDPOINT RESPONSE] <-- [HEADERS] { "cseq": "1", "date": "Thu, Feb 22 2024 04:18:41 GMT", "content-base": "rtsp://127.0.0.1:8554/STREAM:f19caf70-76b8-4e04-b398-3feb939354b9/", "content-type": "application/sdp", "content-length": "548" } 2024-02-22T04:18:41.280Z [TRACE] [aaa.bbb.ccc.136:33954 <04pv9Ou1H>] [ENDPOINT RESPONSE] <-- [BODY] v=0 o=- 1708575520770576 1 IN IP4 aaa.bbb.ccc.ddd s=LIVE555 Streaming Media v2018.04.25 i=LIVE555 Streaming Media v2018.04.25 t=0 0 a=tool:LIVE555 Streaming Media v2018.04.25 a=type:broadcast a=control:* a=range:npt=0- a=x-qt-text-nam:LIVE555 Streaming Media v2018.04.25 a=x-qt-text-inf:LIVE555 Streaming Media v2018.04.25 m=video 0 RTP/AVP 96 c=IN IP4 0.0.0.0 b=AS:5000 a=rtpmap:96 H264/90000 a=fmtp:96 packetization-mode=1;profile-level-id=64002A;sprop-parameter-sets=Z2QAKqy0A8gRPLLCAAADAAIAAAMAeB4wZUAA,aM4Bfyw= a=control:track1 2024-02-22T04:18:41.281Z [INFO] [aaa.bbb.ccc.136:33954 <04pv9Ou1H>] RTSP ENDPOINT AUTHENTICATION SUCCESSFUL: NONE 2024-02-22T04:18:41.283Z [DEBUG] [aaa.bbb.ccc.136:33954 <04pv9Ou1H>] [CLIENT RESPONSE] <-- [200 (OK)] <cseq=1> (session=undefined) 2024-02-22T04:18:41.283Z [TRACE] [aaa.bbb.ccc.136:33954 <04pv9Ou1H>] [CLIENT RESPONSE] <-- [HEADERS] { "cseq": "1", "date": "Thu, Feb 22 2024 04:18:41 GMT", "content-base": "rtsp://127.0.0.1:8554/STREAM:f19caf70-76b8-4e04-b398-3feb939354b9/", "content-type": "application/sdp", "content-length": "548" } 2024-02-22T04:18:41.283Z [TRACE] [aaa.bbb.ccc.136:33954 <04pv9Ou1H>] [CLIENT RESPONSE] <-- [BODY] v=0 o=- 1708575520770576 1 IN IP4 aaa.bbb.ccc.ddd s=LIVE555 Streaming Media v2018.04.25 i=LIVE555 Streaming Media v2018.04.25 t=0 0 a=control:* a=tool:LIVE555 Streaming Media v2018.04.25 a=type:broadcast a=range:npt=0- a=x-qt-text-nam:LIVE555 Streaming Media v2018.04.25 a=x-qt-text-inf:LIVE555 Streaming Media v2018.04.25 m=video 0 RTP/AVP 96 c=IN IP4 0.0.0.0 b=AS:5000 a=rtpmap:96 H264/90000 a=fmtp:96 packetization-mode=1;profile-level-id=64002A;sprop-parameter-sets=Z2QAKqy0A8gRPLLCAAADAAIAAAMAeB4wZUAA,aM4Bfyw= a=control:track1 2024-02-22T04:18:41.321Z [DEBUG] [aaa.bbb.ccc.136:33954 <04pv9Ou1H>] [CLIENT REQUEST] --> [SETUP] rtsp://127.0.0.1:8554/STREAM:f19caf70-76b8-4e04-b398-3feb939354b9/track1 2024-02-22T04:18:41.321Z [TRACE] [aaa.bbb.ccc.136:33954 <04pv9Ou1H>] [CLIENT REQUEST] --> [HEADERS] { "transport": "RTP/AVP/TCP;interleaved=0-1", "user-agent": "Fire OS/7.0 stagefright/1.2 (Linux;Android 9)", "cseq": "2" } 2024-02-22T04:18:41.321Z [DEBUG] [aaa.bbb.ccc.136:33954 <04pv9Ou1H>] [ENDPOINT REQUEST] --> [SETUP] rtsp://127.0.0.1:8554/STREAM:f19caf70-76b8-4e04-b398-3feb939354b9/track1 2024-02-22T04:18:41.321Z [TRACE] [aaa.bbb.ccc.136:33954 <04pv9Ou1H>] [ENDPOINT REQUEST] --> [HEADERS] { "transport": "RTP/AVP/TCP;interleaved=0-1", "user-agent": "Fire OS/7.0 stagefright/1.2 (Linux;Android 9)", "cseq": "2" } 2024-02-22T04:18:41.322Z [DEBUG] [aaa.bbb.ccc.136:33954 <04pv9Ou1H>] [ENDPOINT RESPONSE] <-- [200 (OK)] <cseq=2> (session=7ED791CD;timeout=65) 2024-02-22T04:18:41.322Z [TRACE] [aaa.bbb.ccc.136:33954 <04pv9Ou1H>] [ENDPOINT RESPONSE] <-- [HEADERS] { "cseq": "2", "date": "Thu, Feb 22 2024 04:18:41 GMT", "transport": "RTP/AVP/TCP;unicast;destination=127.0.0.1;source=127.0.0.1;interleaved=0-1", "session": "7ED791CD;timeout=65" } 2024-02-22T04:18:41.322Z [DEBUG] [aaa.bbb.ccc.136:33954 <04pv9Ou1H>] [CLIENT RESPONSE] <-- [200 (OK)] <cseq=2> (session=7ED791CD;timeout=65) 2024-02-22T04:18:41.322Z [TRACE] [aaa.bbb.ccc.136:33954 <04pv9Ou1H>] [CLIENT RESPONSE] <-- [HEADERS] { "cseq": "2", "date": "Thu, Feb 22 2024 04:18:41 GMT", "transport": "RTP/AVP/TCP;unicast;destination=127.0.0.1;source=127.0.0.1;interleaved=0-1", "session": "7ED791CD;timeout=65" } 2024-02-22T04:18:41.335Z [DEBUG] [aaa.bbb.ccc.136:33954 <04pv9Ou1H>] [CLIENT REQUEST] --> [PLAY] rtsp://127.0.0.1:8554/STREAM:f19caf70-76b8-4e04-b398-3feb939354b9/ 2024-02-22T04:18:41.335Z [TRACE] [aaa.bbb.ccc.136:33954 <04pv9Ou1H>] [CLIENT REQUEST] --> [HEADERS] { "session": "7ED791CD", "user-agent": "Fire OS/7.0 stagefright/1.2 (Linux;Android 9)", "cseq": "3" } 2024-02-22T04:18:41.335Z [DEBUG] [aaa.bbb.ccc.136:33954 <04pv9Ou1H>] [ENDPOINT REQUEST] --> [PLAY] rtsp://127.0.0.1:8554/STREAM:f19caf70-76b8-4e04-b398-3feb939354b9/ 2024-02-22T04:18:41.335Z [TRACE] [aaa.bbb.ccc.136:33954 <04pv9Ou1H>] [ENDPOINT REQUEST] --> [HEADERS] { "session": "7ED791CD", "user-agent": "Fire OS/7.0 stagefright/1.2 (Linux;Android 9)", "cseq": "3" } 2024-02-22T04:18:41.336Z [DEBUG] [aaa.bbb.ccc.136:33954 <04pv9Ou1H>] [ENDPOINT RESPONSE] <-- [200 (OK)] <cseq=3> (session=7ED791CD) 2024-02-22T04:18:41.336Z [TRACE] [aaa.bbb.ccc.136:33954 <04pv9Ou1H>] [ENDPOINT RESPONSE] <-- [HEADERS] { "cseq": "3", "date": "Thu, Feb 22 2024 04:18:41 GMT", "range": "npt=0.000-", "session": "7ED791CD", "rtp-info": "url=rtsp://127.0.0.1:8554/STREAM:f19caf70-76b8-4e04-b398-3feb939354b9/track1;seq=41893;rtptime=2262bbb565" } 2024-02-22T04:18:41.336Z [DEBUG] [aaa.bbb.ccc.136:33954 <04pv9Ou1H>] [CLIENT RESPONSE] <-- [200 (OK)] <cseq=3> (session=7ED791CD) 2024-02-22T04:18:41.336Z [TRACE] [aaa.bbb.ccc.136:33954 <04pv9Ou1H>] [CLIENT RESPONSE] <-- [HEADERS] { "cseq": "3", "date": "Thu, Feb 22 2024 04:18:41 GMT", "range": "npt=0.000-", "session": "7ED791CD", "rtp-info": "url=rtsp://127.0.0.1:8554/STREAM:f19caf70-76b8-4e04-b398-3feb939354b9/track1;seq=41893;rtptime=2262bbb565" } 2024-02-22T04:18:41.336Z [INFO] [aaa.bbb.ccc.136:33954 <04pv9Ou1H>] RTSP ENDPOINT PLAYING MEDIA STREAM: All Cameras (STREAM:f19caf70-76b8-4e04-b398-3feb939354b9) 2024-02-22T04:18:41.336Z [INFO] [aaa.bbb.ccc.136:33954 <04pv9Ou1H>] RTSP CLIENT PLAYING MEDIA STREAM: All Cameras (STREAM:f19caf70-76b8-4e04-b398-3feb939354b9) ****************************************************************** * __ __ ___ _ _ ___ ___ _ ___ * * | \/ |/ _ \| \| |/ _ \ / __| | | __| * * | |\/| | (_) | .` | (_) | (__| |__| _| * * |_| |_|\___/|_|\_|\___/ \___|____|___| * * * ****************************************************************** * MONOCLE RTSP PROXY SERVER ****************************************************************** (built using the LIVE555 Streaming Media library version 2018.04.25; licensed under the GNU LGPL) Created new TCP socket 300 for connection Connecting to aaa.bbb.ccc.ddd, port 81 on socket 300... Proxying the registered back-end stream "rtsp://aaa.bbb.ccc.ddd:81/alltest". Play this stream using the URL: rtsp://aaa.bbb.ccc.ddd:8554/STREAM:f19caf70-76b8-4e04-b398-3feb939354b9 ...remote connection opened Sending request: DESCRIBE rtsp://aaa.bbb.ccc.ddd:81/alltest RTSP/1.0 CSeq: 2 User-Agent: ProxyRTSPClient (LIVE555 Streaming Media v2018.04.25) Accept: application/sdp Received 444 new bytes of response data. Received a complete DESCRIBE response: RTSP/1.0 200 OK CSeq: 2 Content-Base: /alltest Content-Type: application/sdp Content-Length: 340 v=0 o=- 22389 22389 IN IP4 0.0.0.0 s=Blue Iris e=NONE b=AS:5050 t=0 0 a=control:* m=video 0 RTP/AVP 96 c=IN IP4 0.0.0.0 b=AS:5000 a=recvonly a=control:trackID=0 a=rtpmap:96 H264/90000 a=fmtp:96 packetization-mode=1;profile-level-id=64002a;sprop-parameter-sets=Z2QAKqy0A8gRPLLCAAADAAIAAAMAeB4wZUAA,aM4Bfyw= a=appversion:1.0 ProxyServerMediaSession[/alltest] added new "ProxyServerMediaSubsession" for RTP/video/H264 track ProxyServerMediaSubsession[/alltest,H264]::createNewStreamSource(session id 0) Initiated: ProxyServerMediaSubsession[/alltest,H264] ProxyServerMediaSubsession[/alltest,H264]::createNewRTPSink() ProxyServerMediaSubsession[/alltest,H264]::closeStreamSource() ProxyServerMediaSubsession[/alltest,H264]::createNewStreamSource(session id 2128056781) Sending request: SETUP /alltest/trackID=0 RTSP/1.0 CSeq: 3 User-Agent: ProxyRTSPClient (LIVE555 Streaming Media v2018.04.25) Transport: RTP/AVP/TCP;unicast;interleaved=0-1 ProxyServerMediaSubsession[/alltest,H264]::createNewRTPSink() Received 119 new bytes of response data. Received a complete SETUP response: RTSP/1.0 200 OK CSeq: 3 Session: 3e6c6a311dff769a1bb375f7558937b0 Transport: RTP/AVP/TCP;unicast;interleaved=0-1 ProxyRTSPClient[/alltest]::continueAfterSETUP(): head codec: H264; numSubsessions 1 queue: H264 Sending request: PLAY /alltest RTSP/1.0 CSeq: 4 User-Agent: ProxyRTSPClient (LIVE555 Streaming Media v2018.04.25) Session: 3e6c6a311dff769a1bb375f7558937b0 Received a complete PLAY response: RTSP/1.0 200 OK CSeq: 4 Session: 3e6c6a311dff769a1bb375f7558937b0 Range: npt=now- RTP-Info: url=trackID=0;seq=0;rtptime=0 Sending request: OPTIONS /alltest RTSP/1.0 CSeq: 5 User-Agent: ProxyRTSPClient (LIVE555 Streaming Media v2018.04.25) Session: 3e6c6a311dff769a1bb375f7558937b0 Received a complete OPTIONS response: RTSP/1.0 455 Method not valid in this state CSeq: 5 ProxyRTSPClient::scheduleReset ProxyRTSPClient[/alltest]::doReset ProxyServerMediaSubsession[(NULL),H264]::closeStreamSource() ProxyServerMediaSubsession[(NULL),H264]::~ProxyServerMediaSubsession() Created new TCP socket 588 for connection Connecting to aaa.bbb.ccc.ddd, port 81 on socket 588... ...remote connection opened Sending request: DESCRIBE rtsp://aaa.bbb.ccc.ddd:81/alltest RTSP/1.0 CSeq: 6 User-Agent: ProxyRTSPClient (LIVE555 Streaming Media v2018.04.25) Accept: application/sdp Received 444 new bytes of response data. Received a complete DESCRIBE response: RTSP/1.0 200 OK CSeq: 6 Content-Base: /alltest Content-Type: application/sdp Content-Length: 340 v=0 o=- 26377 26377 IN IP4 0.0.0.0 s=Blue Iris e=NONE b=AS:5050 t=0 0 a=control:* m=video 0 RTP/AVP 96 c=IN IP4 0.0.0.0 2024-02-22T04:19:51.911Z [INFO] [aaa.bbb.ccc.136:33954 <04pv9Ou1H>] RTSP CLIENT SOCKET CLOSED 2024-02-22T04:19:51.913Z [INFO] [aaa.bbb.ccc.136:33954 <04pv9Ou1H>] RTSP CLIENT DETACHED FROM STREAM: All Cameras (STREAM:f19caf70-76b8-4e04-b398-3feb939354b9) 2024-02-22T04:19:51.914Z [INFO] [RTSP PROXY] DE-REGISTERING STREAM [All Cameras/PRIMARY]; NO LONGER IN USE 2024-02-22T04:19:51.916Z [INFO] [aaa.bbb.ccc.136:33954 <04pv9Ou1H>] RTSP ENDPOINT SOCKET CLOSED [aaa.bbb.ccc.136:33954 <04pv9Ou1H>] 2024-02-22T04:19:51.917Z [INFO] [aaa.bbb.ccc.136:33954 <04pv9Ou1H>] RTSP ENDPOINT SOCKET CLOSED {127.0.0.1:8554} 2024-02-22T04:19:51.921Z [DEBUG] <RTSP-PROXY> [REQUEST] --> [DEREGISTER] rtsp://aaa.bbb.ccc.ddd:81/alltest 2024-02-22T04:19:51.924Z [TRACE] <RTSP-PROXY> [REQUEST] --> [HEADERS] { "cseq": "1", "transport": "reuse_connection=0;preferred_delivery_protocol=interleaved;proxy_url_suffix=STREAM:f19caf70-76b8-4e04-b398-3feb939354b9" } 2024-02-22T04:19:51.925Z [DEBUG] <RTSP-PROXY> [RESPONSE] <-- [200 (OK)] <cseq=1> (session=undefined) 2024-02-22T04:19:51.926Z [TRACE] <RTSP-PROXY> [RESPONSE] <-- [HEADERS] { "cseq": "1", "date": "Thu, Feb 22 2024 04:19:51 GMT" }