RLC-410-5MP - Unable to show on Echo Show [PENDING]



  • Banging my head here. After asking Lady A to show me the front door, I get a long pause and a hmm, camera is not responding.

    Settings on the Web Portal are…

    Manufacturer: Reolink
    Model: RLC-410-5MP
    URL: rtsp://192.168.0.142:554/h264Preview_01_sub (works in VLC)
    Authentication: DIGEST
    Username: admin
    Password: ****
    Video Resolution: 640*360
    Codec: H264
    Audio: AAC
    Tags: @tunnel (tried @tunnel, @proxy and just @proxy as well)
    

    Logs from Gateway

    TIMESTAMP = 2019-12-10T05:58:05.544Z
    
    -------------------------------------------------
    MONOCLE GATEWAY SERVICE         (Version: 0.0.4)
    -------------------------------------------------
    [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=11688)
    [RTSP Server Listening] 0.0.0.0:8554 (PROXY)
    [RTSP Server Started]
    [Monocle Connected]
    [RTSP Server Registered]
    
    -------------------------------------------------
    MONOCLE RTSP SERVICE - INITIALIZED
    -------------------------------------------------
    FQDN = c3247700-ad93-4a4b-949f-d02216371d72.mproxy.io
    HOST = 192.168.0.40
    PORT = 443
    -------------------------------------------------
    
    -------------------------------------------------
    INITIALIZE RTSP STREAM:  Front Door
    -------------------------------------------------
     - NAME  : Front Door
     - LABEL : PRIMARY
     - URL   : rtsp://192.168.0.142:554/h264Preview_01_sub
     - UUID  : STREAM:010625b6-4e4d-4bf4-92b1-58395af45e63
     - SESS  : 85075940-aaa9-4d49-b5fb-8a6918899ee3
     - MODIF : Mon Dec 09 2019 22:57:57 GMT-0700 (US Mountain Standard Time)
     - TAGS  : @proxy,@tunnel
    -------------------------------------------------
    
    2019-12-10T05:58:23.137Z [INFO]  [192.168.0.113:50322 <H1D-4h3pr>] RTSP CLIENT SOCKET CONNECTED
    2019-12-10T05:58:23.266Z [INFO]  [192.168.0.113:50322 <H1D-4h3pr>] RTSP CLIENT ATTACHED TO STREAM: Front Door (STREAM:010625b6-4e4d-4bf4-92b1-58395af45e63)
    2019-12-10T05:58:23.271Z [INFO]  [192.168.0.113:50322 <H1D-4h3pr>] RTSP ENDPOINT SOCKET CONNECTED {192.168.0.142:554}
    2019-12-10T05:58:23.275Z [DEBUG] [192.168.0.113:50322 <H1D-4h3pr>] [CLIENT REQUEST]  --> [DESCRIBE] rtsp://c3247700-ad93-4a4b-949f-d02216371d72.mproxy.io:443/STREAM:010625b6-4e4d-4bf4-92b1-58395af45e63?session=85075940-aaa9-4d49-b5fb-8a6918899ee3
    2019-12-10T05:58:23.275Z [TRACE] [192.168.0.113:50322 <H1D-4h3pr>] [CLIENT REQUEST]  --> [HEADERS] {
      "accept": "application/sdp",
      "user-agent": "Fire OS/6.0 stagefright/1.2 (Linux;Android 7.1.2)",
      "cseq": "1"
    }
    2019-12-10T05:58:23.277Z [DEBUG] [192.168.0.113:50322 <H1D-4h3pr>] [ENDPOINT REQUEST]  --> [DESCRIBE] rtsp://192.168.0.142:554/h264Preview_01_sub
    2019-12-10T05:58:23.277Z [TRACE] [192.168.0.113:50322 <H1D-4h3pr>] [ENDPOINT REQUEST]  --> [HEADERS] {
      "accept": "application/sdp",
      "user-agent": "Fire OS/6.0 stagefright/1.2 (Linux;Android 7.1.2)",
      "cseq": "1"
    }
    2019-12-10T05:58:23.282Z [DEBUG] [192.168.0.113:50322 <H1D-4h3pr>] [ENDPOINT RESPONSE] <-- [401 (Unauthorized)] <cseq=1> (session=undefined)
    2019-12-10T05:58:23.283Z [TRACE] [192.168.0.113:50322 <H1D-4h3pr>] [ENDPOINT RESPONSE] <-- [HEADERS] {
      "cseq": "1",
      "date": "Tue, Dec 10 2019 05:58:23 GMT",
      "www-authenticate": "Digest realm=\"LIVE555 Streaming Media\", nonce=\"d380fbae59fc64db88fdc3c818bfce23\""
    }
    2019-12-10T05:58:23.283Z [INFO]  [192.168.0.113:50322 <H1D-4h3pr>] RTSP ENDPOINT REQUIRES AUTHENTICATION: Digest realm="LIVE555 Streaming Media", nonce="d380fbae59fc64db88fdc3c818bfce23"
    2019-12-10T05:58:23.283Z [INFO]  [192.168.0.113:50322 <H1D-4h3pr>] RTSP ENDPOINT ATTEMPTING AUTHENTICATION: DIGEST
    2019-12-10T05:58:23.287Z [DEBUG] [192.168.0.113:50322 <H1D-4h3pr>] [ENDPOINT REQUEST]  --> [DESCRIBE] rtsp://192.168.0.142:554/h264Preview_01_sub
    2019-12-10T05:58:23.287Z [TRACE] [192.168.0.113:50322 <H1D-4h3pr>] [ENDPOINT REQUEST]  --> [HEADERS] {
      "accept": "application/sdp",
      "user-agent": "Fire OS/6.0 stagefright/1.2 (Linux;Android 7.1.2)",
      "cseq": "1",
      "authorization": "Digest username=\"admin\", realm=\"LIVE555 Streaming Media\", nonce=\"d380fbae59fc64db88fdc3c818bfce23\", uri=\"rtsp://192.168.0.142:554/h264Preview_01_sub\", response=\"d34f40fc3fece02bedbbdbb865acde99\""
    }
    2019-12-10T05:58:23.329Z [DEBUG] [192.168.0.113:50322 <H1D-4h3pr>] [ENDPOINT RESPONSE] <-- [200 (OK)] <cseq=1> (session=undefined)
    2019-12-10T05:58:23.329Z [TRACE] [192.168.0.113:50322 <H1D-4h3pr>] [ENDPOINT RESPONSE] <-- [HEADERS] {
      "cseq": "1",
      "date": "Tue, Dec 10 2019 05:58:23 GMT",
      "content-base": "rtsp://192.168.0.142/h264Preview_01_sub/",
      "content-type": "application/sdp",
      "content-length": "712"
    }
    2019-12-10T05:58:23.331Z [TRACE] [192.168.0.113:50322 <H1D-4h3pr>] [ENDPOINT RESPONSE] <-- [BODY]
     v=0
    o=- 1575834779802955 1 IN IP4 192.168.60.95
    s=Session streamed by "preview"
    i=h264Preview_01_sub
    t=0 0
    a=tool:LIVE555 Streaming Media v2013.04.08
    a=type:broadcast
    a=control:*
    a=range:npt=0-
    a=x-qt-text-nam:Session streamed by "preview"
    a=x-qt-text-inf:h264Preview_01_sub
    m=video 0 RTP/AVP 96
    c=IN IP4 0.0.0.0
    b=AS:500
    a=rtpmap:96 H264/90000
    a=fmtp:96 packetization-mode=1;profile-level-id=640033;sprop-parameter-sets=Z2QAM6zoCgPZ,aO48sA==
    a=control:trackID=1
    m=audio 0 RTP/AVP 97
    c=IN IP4 0.0.0.0
    b=AS:256
    a=rtpmap:97 MPEG4-GENERIC/16000
    a=fmtp:97 streamtype=5;profile-level-id=15;mode=AAC-hbr;sizelength=13;indexlength=3;indexdeltalength=3;config=1408; profile=1;
    a=control:trackID=2
    
    2019-12-10T05:58:23.334Z [INFO]  [192.168.0.113:50322 <H1D-4h3pr>] RTSP ENDPOINT AUTHENTICATION SUCCESSFUL: DIGEST
    2019-12-10T05:58:23.337Z [INFO]  [192.168.0.113:50322 <H1D-4h3pr>] RTSP ENDPOINT SDP APPLIED NTP=NOW-
    2019-12-10T05:58:23.340Z [DEBUG] [192.168.0.113:50322 <H1D-4h3pr>] [CLIENT RESPONSE] <-- [200 (OK)] <cseq=1> (session=undefined)
    2019-12-10T05:58:23.341Z [TRACE] [192.168.0.113:50322 <H1D-4h3pr>] [CLIENT RESPONSE] <-- [HEADERS] {
      "cseq": "1",
      "date": "Tue, Dec 10 2019 05:58:23 GMT",
      "content-base": "rtsp://192.168.0.142/h264Preview_01_sub/",
      "content-type": "application/sdp",
      "content-length": "708"
    }
    2019-12-10T05:58:23.343Z [TRACE] [192.168.0.113:50322 <H1D-4h3pr>] [CLIENT RESPONSE] <-- [BODY]
     v=0
    o=- 1575834779802955 1 IN IP4 192.168.60.95
    s=Session streamed by "preview"
    i=h264Preview_01_sub
    t=0 0
    a=control:*
    a=tool:LIVE555 Streaming Media v2013.04.08
    a=type:broadcast
    a=npt=now-
    a=x-qt-text-nam:Session streamed by "preview"
    a=x-qt-text-inf:h264Preview_01_sub
    m=video 0 RTP/AVP 96
    c=IN IP4 0.0.0.0
    b=AS:500
    a=rtpmap:96 H264/90000
    a=fmtp:96 packetization-mode=1;profile-level-id=640033;sprop-parameter-sets=Z2QAM6zoCgPZ,aO48sA==
    a=control:trackID=1
    m=audio 0 RTP/AVP 97
    c=IN IP4 0.0.0.0
    b=AS:256
    a=rtpmap:97 MPEG4-GENERIC/16000
    a=fmtp:97 streamtype=5;profile-level-id=15;mode=AAC-hbr;sizelength=13;indexlength=3;indexdeltalength=3;config=1408; profile=1;
    a=control:trackID=2
    
    2019-12-10T05:58:23.357Z [DEBUG] [192.168.0.113:50322 <H1D-4h3pr>] [CLIENT REQUEST]  --> [SETUP] rtsp://192.168.0.142/h264Preview_01_sub/trackID=1
    2019-12-10T05:58:23.357Z [TRACE] [192.168.0.113:50322 <H1D-4h3pr>] [CLIENT REQUEST]  --> [HEADERS] {
      "transport": "RTP/AVP/TCP;interleaved=0-1",
      "user-agent": "Fire OS/6.0 stagefright/1.2 (Linux;Android 7.1.2)",
      "cseq": "2"
    }
    2019-12-10T05:58:23.361Z [DEBUG] [192.168.0.113:50322 <H1D-4h3pr>] [ENDPOINT REQUEST]  --> [SETUP] rtsp://192.168.0.142/h264Preview_01_sub/trackID=1
    2019-12-10T05:58:23.361Z [TRACE] [192.168.0.113:50322 <H1D-4h3pr>] [ENDPOINT REQUEST]  --> [HEADERS] {
      "transport": "RTP/AVP/TCP;interleaved=0-1",
      "user-agent": "Fire OS/6.0 stagefright/1.2 (Linux;Android 7.1.2)",
      "cseq": "2",
      "authorization": "Digest username=\"admin\", realm=\"LIVE555 Streaming Media\", nonce=\"d380fbae59fc64db88fdc3c818bfce23\", uri=\"rtsp://192.168.0.142:554/h264Preview_01_sub\", response=\"d34f40fc3fece02bedbbdbb865acde99\""
    }
    2019-12-10T05:58:23.405Z [DEBUG] [192.168.0.113:50322 <H1D-4h3pr>] [ENDPOINT RESPONSE] <-- [200 (OK)] <cseq=2> (session=8286C2E7)
    2019-12-10T05:58:23.407Z [TRACE] [192.168.0.113:50322 <H1D-4h3pr>] [ENDPOINT RESPONSE] <-- [HEADERS] {
      "cseq": "2",
      "date": "Tue, Dec 10 2019 05:58:23 GMT",
      "transport": "RTP/AVP/TCP;unicast;destination=192.168.0.40;source=192.168.0.142;interleaved=0-1",
      "session": "8286C2E7"
    }
    2019-12-10T05:58:23.409Z [DEBUG] [192.168.0.113:50322 <H1D-4h3pr>] [CLIENT RESPONSE] <-- [200 (OK)] <cseq=2> (session=8286C2E7)
    2019-12-10T05:58:23.411Z [TRACE] [192.168.0.113:50322 <H1D-4h3pr>] [CLIENT RESPONSE] <-- [HEADERS] {
      "cseq": "2",
      "date": "Tue, Dec 10 2019 05:58:23 GMT",
      "transport": "RTP/AVP/TCP;unicast;destination=192.168.0.40;source=192.168.0.142;interleaved=0-1",
      "session": "8286C2E7"
    }
    2019-12-10T05:58:23.464Z [DEBUG] [192.168.0.113:50322 <H1D-4h3pr>] [CLIENT REQUEST]  --> [SETUP] rtsp://192.168.0.142/h264Preview_01_sub/trackID=2
    2019-12-10T05:58:23.467Z [TRACE] [192.168.0.113:50322 <H1D-4h3pr>] [CLIENT REQUEST]  --> [HEADERS] {
      "transport": "RTP/AVP/TCP;interleaved=2-3",
      "session": "8286C2E7",
      "user-agent": "Fire OS/6.0 stagefright/1.2 (Linux;Android 7.1.2)",
      "cseq": "3"
    }
    2019-12-10T05:58:23.469Z [DEBUG] [192.168.0.113:50322 <H1D-4h3pr>] [ENDPOINT REQUEST]  --> [SETUP] rtsp://192.168.0.142/h264Preview_01_sub/trackID=2
    2019-12-10T05:58:23.471Z [TRACE] [192.168.0.113:50322 <H1D-4h3pr>] [ENDPOINT REQUEST]  --> [HEADERS] {
      "transport": "RTP/AVP/TCP;interleaved=2-3",
      "session": "8286C2E7",
      "user-agent": "Fire OS/6.0 stagefright/1.2 (Linux;Android 7.1.2)",
      "cseq": "3",
      "authorization": "Digest username=\"admin\", realm=\"LIVE555 Streaming Media\", nonce=\"d380fbae59fc64db88fdc3c818bfce23\", uri=\"rtsp://192.168.0.142:554/h264Preview_01_sub\", response=\"d34f40fc3fece02bedbbdbb865acde99\""
    }
    2019-12-10T05:58:23.513Z [DEBUG] [192.168.0.113:50322 <H1D-4h3pr>] [ENDPOINT RESPONSE] <-- [200 (OK)] <cseq=3> (session=8286C2E7)
    2019-12-10T05:58:23.515Z [TRACE] [192.168.0.113:50322 <H1D-4h3pr>] [ENDPOINT RESPONSE] <-- [HEADERS] {
      "cseq": "3",
      "date": "Tue, Dec 10 2019 05:58:23 GMT",
      "transport": "RTP/AVP/TCP;unicast;destination=192.168.0.40;source=192.168.0.142;interleaved=2-3",
      "session": "8286C2E7"
    }
    2019-12-10T05:58:23.517Z [DEBUG] [192.168.0.113:50322 <H1D-4h3pr>] [CLIENT RESPONSE] <-- [200 (OK)] <cseq=3> (session=8286C2E7)
    2019-12-10T05:58:23.517Z [TRACE] [192.168.0.113:50322 <H1D-4h3pr>] [CLIENT RESPONSE] <-- [HEADERS] {
      "cseq": "3",
      "date": "Tue, Dec 10 2019 05:58:23 GMT",
      "transport": "RTP/AVP/TCP;unicast;destination=192.168.0.40;source=192.168.0.142;interleaved=2-3",
      "session": "8286C2E7"
    }
    2019-12-10T05:58:23.570Z [DEBUG] [192.168.0.113:50322 <H1D-4h3pr>] [CLIENT REQUEST]  --> [PLAY] rtsp://192.168.0.142/h264Preview_01_sub/
    2019-12-10T05:58:23.572Z [TRACE] [192.168.0.113:50322 <H1D-4h3pr>] [CLIENT REQUEST]  --> [HEADERS] {
      "session": "8286C2E7",
      "user-agent": "Fire OS/6.0 stagefright/1.2 (Linux;Android 7.1.2)",
      "cseq": "4"
    }
    2019-12-10T05:58:23.574Z [DEBUG] [192.168.0.113:50322 <H1D-4h3pr>] [ENDPOINT REQUEST]  --> [PLAY] rtsp://192.168.0.142/h264Preview_01_sub/
    2019-12-10T05:58:23.576Z [TRACE] [192.168.0.113:50322 <H1D-4h3pr>] [ENDPOINT REQUEST]  --> [HEADERS] {
      "session": "8286C2E7",
      "user-agent": "Fire OS/6.0 stagefright/1.2 (Linux;Android 7.1.2)",
      "cseq": "4",
      "authorization": "Digest username=\"admin\", realm=\"LIVE555 Streaming Media\", nonce=\"d380fbae59fc64db88fdc3c818bfce23\", uri=\"rtsp://192.168.0.142:554/h264Preview_01_sub\", response=\"d34f40fc3fece02bedbbdbb865acde99\""
    }
    2019-12-10T05:58:23.614Z [DEBUG] [192.168.0.113:50322 <H1D-4h3pr>] [ENDPOINT RESPONSE] <-- [200 (OK)] <cseq=4> (session=8286C2E7)
    2019-12-10T05:58:23.614Z [TRACE] [192.168.0.113:50322 <H1D-4h3pr>] [ENDPOINT RESPONSE] <-- [HEADERS] {
      "server": "Rtsp Server/2.0",
      "cseq": "4",
      "date": "Tue, Dec 10 2019 05:58:23 GMT",
      "range": "npt=0.000-",
      "session": "8286C2E7",
      "rtp-info": "url=trackID=1;seq=61240;rtptime=1270677627;ssrc=747ad39c,url=trackID=2;seq=53714;rtptime=2824211487;ssrc=18f5c4fe"
    }
    2019-12-10T05:58:23.616Z [DEBUG] [192.168.0.113:50322 <H1D-4h3pr>] [CLIENT RESPONSE] <-- [200 (OK)] <cseq=4> (session=8286C2E7)
    2019-12-10T05:58:23.618Z [TRACE] [192.168.0.113:50322 <H1D-4h3pr>] [CLIENT RESPONSE] <-- [HEADERS] {
      "server": "Rtsp Server/2.0",
      "cseq": "4",
      "date": "Tue, Dec 10 2019 05:58:23 GMT",
      "range": "npt=now-",
      "session": "8286C2E7",
      "rtp-info": "url=trackID=1;seq=61240;rtptime=1270677627;ssrc=747ad39c,url=trackID=2;seq=53714;rtptime=2824211487;ssrc=18f5c4fe"
    }
    2019-12-10T05:58:23.620Z [INFO]  [192.168.0.113:50322 <H1D-4h3pr>] RTSP ENDPOINT PLAYING MEDIA STREAM: Front Door (STREAM:010625b6-4e4d-4bf4-92b1-58395af45e63)
    2019-12-10T05:58:23.620Z [INFO]  [192.168.0.113:50322 <H1D-4h3pr>] RTSP CLIENT PLAYING MEDIA STREAM: Front Door (STREAM:010625b6-4e4d-4bf4-92b1-58395af45e63)
    2019-12-10T05:59:27.840Z [INFO]  [192.168.0.113:50322 <H1D-4h3pr>] RTSP CLIENT SOCKET CLOSED
    2019-12-10T05:59:27.842Z [INFO]  [192.168.0.113:50322 <H1D-4h3pr>] RTSP CLIENT DETACHED FROM STREAM: Front Door (STREAM:010625b6-4e4d-4bf4-92b1-58395af45e63)
    2019-12-10T05:59:27.844Z [INFO]  [192.168.0.113:50322 <H1D-4h3pr>] RTSP ENDPOINT SOCKET CLOSED [192.168.0.113:50322 <H1D-4h3pr>]
    


  • Just successfully setup RLC-410 5mp NVR and cameras today with my Echo Show 8. Using gateway with only tunnel tag.

    Settings (In my case using feed #4):

    URL: rtsp://192.168.2.55/h264Preview_04_sub
    MANUFACTURER: Reolink
    AUTH: Digest
    VIDEO RESULTION: 640*480
    TAGS: @tunnel



  • @congos hi what system are you using did u use a monocle.properties file as well as monocle.token. I’m
    Having issues with my token at present I think as it says invalid although I’ve copied it from the website portal.



  • @DavinD

    Based on the log everything appears to be working.

    • The Monocle Gateway is fully working. (token, network, listeners, etc)
    • The Alexa device is connecting to the gateway. (port 433, SSL, TCP connectoins)
    • The gateway is connecting to the IP camera. (digest auth, RTSP negotiation)
    • RTSP stream setup and playback is completed. (DESCRIBE, SETUP, PLAY)

    However, despite all this success the stream is timing out after just under 1 minute. (see log snippet below)

    --> IP CAMERA PLAYING STREAM ...
    2019-12-10T05:58:23.620Z [INFO]  [192.168.0.113:50322 <H1D-4h3pr>] RTSP ENDPOINT PLAYING MEDIA STREAM: Front Door (STREAM:010625b6-4e4d-4bf4-92b1-58395af45e63)
    
    --> IP CAMERA STREAM FORWARED TO ALEXA ...
    2019-12-10T05:58:23.620Z [INFO]  [192.168.0.113:50322 <H1D-4h3pr>] RTSP CLIENT PLAYING MEDIA STREAM: Front Door (STREAM:010625b6-4e4d-4bf4-92b1-58395af45e63)
    
    --> ALEXA TERMINATES CONNECTION TO GATEWAY ...
    2019-12-10T05:59:27.840Z [INFO]  [192.168.0.113:50322 <H1D-4h3pr>] RTSP CLIENT SOCKET CLOSED
    2019-12-10T05:59:27.842Z [INFO]  [192.168.0.113:50322 <H1D-4h3pr>] RTSP CLIENT DETACHED FROM STREAM: Front Door (STREAM:010625b6-4e4d-4bf4-92b1-58395af45e63)
    
    --> GATEWAY TERMINATES CONNECTION TO IP CAMERA ...
    2019-12-10T05:59:27.844Z [INFO]  [192.168.0.113:50322 <H1D-4h3pr>] RTSP ENDPOINT SOCKET CLOSED [192.168.0.113:50322 <H1D-4h3pr>]
    

    It’s the Alexa device that is terminating the connection. Presumably there is something about the stream that Alexa does not like.

    Can you make sure the camera is configured to use H.264 video codec and not H.265. Some of these camera’s use H.265 by default. Base on the log it already looks correct, but let check and make sure.

    You might trying the main stream instead of the sub stream. You may have to lower the stream resolution on the camera itself to 1080P or lower depending on which Alexa device you are using.

    You can try adding @noaudio to the tags so that you have both: @tunnel, @noaudio. This will strip the audio channel from the stream. Alexa is very picky about audio stream, so it may be worth a try without the audio just to see.

    Thanks, Robert


Log in to reply