Koogeek/Smart Life Camera not working



  • Hi there,

    I have a Koogeek/Smart Life camera that I have setup in monocle. I have went through all the troubleshooting steps I can think of.

    VLC sees and plays my stream with a valid RTSP URL.
    Codec is supported.
    I can ping the FQDN successfully.
    Using Monocle Gateway I have tried, noaudio with both tunnel, and proxy.

    Here is the log from my most recent attempt using the @tunnel tag.

    -------------------------------------------------
    INITIALIZE RTSP STREAM:  Garden Camera Monocle
    -------------------------------------------------
     - NAME  : Garden Camera Monocle
     - LABEL : PRIMARY
     - URL   : rtsp://10.0.1.61:554/
     - UUID  : STREAM:68b1b8df-d001-44e2-a138-8a5f0d19790d
     - SESS  : 6421f6d0-f2cd-4601-a2ef-3c7e399875b7
     - MODIF : Sun Jan 05 2020 15:27:02 GMT+0000 (GMT)
     - TAGS  : @noaudio,@tunnel
    -------------------------------------------------
    
    2020-01-05T15:34:44.341Z [INFO]  [10.0.1.74:51762 <HynfGKke8>] RTSP CLIENT SOCKET CONNECTED
    2020-01-05T15:34:44.471Z [INFO]  [10.0.1.74:51762 <HynfGKke8>] RTSP CLIENT ATTACHED TO STREAM: Garden Camera Monocle (STREAM:68b1b8df-d001-44e2-a138-8a5f0d19790d)
    2020-01-05T15:34:46.017Z [INFO]  [10.0.1.74:51762 <HynfGKke8>] RTSP ENDPOINT SOCKET CONNECTED {10.0.1.61:554}
    2020-01-05T15:34:46.018Z [DEBUG] [10.0.1.74:51762 <HynfGKke8>] [CLIENT REQUEST]  --> [DESCRIBE] rtsp://c9b64ad4-b04b-4e4e-825a-ac94f51609a6.mproxy.io:443/STREAM:68b1b8df-d001-44e2-a138-8a5f0d19790d?session=6421f6d0-f2cd-4601-a2ef-3c7e399875b7
    2020-01-05T15:34:46.018Z [TRACE] [10.0.1.74:51762 <HynfGKke8>] [CLIENT REQUEST]  --> [HEADERS] {
      "accept": "application/sdp",
      "user-agent": "Fire OS/6.0 stagefright/1.2 (Linux;Android 7.1.2)",
      "cseq": "1"
    }
    2020-01-05T15:34:46.019Z [DEBUG] [10.0.1.74:51762 <HynfGKke8>] [ENDPOINT REQUEST]  --> [DESCRIBE] rtsp://10.0.1.61:554/
    2020-01-05T15:34:46.019Z [TRACE] [10.0.1.74:51762 <HynfGKke8>] [ENDPOINT REQUEST]  --> [HEADERS] {
      "accept": "application/sdp",
      "user-agent": "Fire OS/6.0 stagefright/1.2 (Linux;Android 7.1.2)",
      "cseq": "1"
    }
    2020-01-05T15:34:46.223Z [DEBUG] [10.0.1.74:51762 <HynfGKke8>] [ENDPOINT RESPONSE] <-- [551 (Invalid Method)] <cseq=0> (session=undefined)
    2020-01-05T15:34:46.223Z [TRACE] [10.0.1.74:51762 <HynfGKke8>] [ENDPOINT RESPONSE] <-- [HEADERS] {
      "cseq": "0",
      "server": "TAS-Tech Streaming Server V100R001"
    }
    2020-01-05T15:34:46.223Z [WARN]  [10.0.1.74:51762 <HynfGKke8>] RTSP ENDPOINT RESPONSE ERROR: [DESCRIBE] = 551 (Invalid Method)
    2020-01-05T15:34:46.224Z [DEBUG] [10.0.1.74:51762 <HynfGKke8>] [CLIENT RESPONSE] <-- [551 (Invalid Method)] <cseq=0> (session=undefined)
    2020-01-05T15:34:46.224Z [TRACE] [10.0.1.74:51762 <HynfGKke8>] [CLIENT RESPONSE] <-- [HEADERS] {
      "cseq": "0",
      "server": "TAS-Tech Streaming Server V100R001"
    }
    2020-01-05T15:34:46.228Z [INFO]  [10.0.1.74:51762 <HynfGKke8>] RTSP CLIENT SOCKET CLOSED
    2020-01-05T15:34:46.228Z [INFO]  [10.0.1.74:51762 <HynfGKke8>] RTSP CLIENT DETACHED FROM STREAM: Garden Camera Monocle (STREAM:68b1b8df-d001-44e2-a138-8a5f0d19790d)
    2020-01-05T15:34:46.228Z [INFO]  [10.0.1.74:51762 <HynfGKke8>] RTSP ENDPOINT SOCKET CLOSED [10.0.1.74:51762 <HynfGKke8>]
    

    And here is an attempt using the @proxy tag:

    
    -------------------------------------------------
    INITIALIZE RTSP STREAM:  Garden Camera Monocle
    -------------------------------------------------
     - NAME  : Garden Camera Monocle
     - LABEL : PRIMARY
     - URL   : rtsp://10.0.1.61:554/
     - UUID  : STREAM:68b1b8df-d001-44e2-a138-8a5f0d19790d
     - SESS  : da67833d-bec1-492a-ae24-7834399ced46
     - MODIF : Sun Jan 05 2020 15:36:41 GMT+0000 (GMT)
     - TAGS  : @noaudio,@proxy
    -------------------------------------------------
    
    
    -------------------------------------------------
    RTSP STREAM MODIFIED:  Garden Camera Monocle
      Any existing RTSP steams will be shut down     
      and a new stream instance will be registered.  
    -------------------------------------------------
    
    2020-01-05T15:37:07.561Z [DEBUG] <RTSP-PROXY> [REQUEST]  --> [DEREGISTER] rtsp://10.0.1.61:554/
    2020-01-05T15:37:07.561Z [TRACE] <RTSP-PROXY> [REQUEST]  --> [HEADERS] {
      "cseq": "1",
      "transport": "reuse_connection=0;preferred_delivery_protocol=udp;proxy_url_suffix=STREAM:68b1b8df-d001-44e2-a138-8a5f0d19790d"
    }
    2020-01-05T15:37:07.562Z [DEBUG] <RTSP-PROXY> [RESPONSE] <-- [451 (Invalid parameter)] <cseq=1> (session=undefined)
    2020-01-05T15:37:07.562Z [TRACE] <RTSP-PROXY> [RESPONSE] <-- [HEADERS] {
      "cseq": "1",
      "date": "Sun, Jan 05 2020 15:37:07 GMT"
    }
    2020-01-05T15:37:07.563Z [INFO]  [RTSP PROXY] REGISTERING STREAM [Garden Camera Monocle/PRIMARY]; (STREAM:68b1b8df-d001-44e2-a138-8a5f0d19790d)
    2020-01-05T15:37:07.565Z [DEBUG] <RTSP-PROXY> [REQUEST]  --> [REGISTER] rtsp://10.0.1.61:554/
    2020-01-05T15:37:07.566Z [TRACE] <RTSP-PROXY> [REQUEST]  --> [HEADERS] {
      "cseq": "1",
      "transport": "reuse_connection=0;preferred_delivery_protocol=udp;proxy_url_suffix=STREAM:68b1b8df-d001-44e2-a138-8a5f0d19790d"
    }
    2020-01-05T15:37:07.566Z [DEBUG] <RTSP-PROXY> [RESPONSE] <-- [200 (OK)] <cseq=1> (session=undefined)
    2020-01-05T15:37:07.567Z [TRACE] <RTSP-PROXY> [RESPONSE] <-- [HEADERS] {
      "cseq": "1",
      "date": "Sun, Jan 05 2020 15:37:07 GMT"
    }
    2020-01-05T15:37:12.851Z [INFO]  [10.0.1.74:51932 <r1ZnfK1eL>] RTSP CLIENT SOCKET CONNECTED
    2020-01-05T15:37:12.978Z [INFO]  [10.0.1.74:51932 <r1ZnfK1eL>] RTSP CLIENT ATTACHED TO STREAM: Garden Camera Monocle (STREAM:68b1b8df-d001-44e2-a138-8a5f0d19790d)
    2020-01-05T15:37:12.979Z [INFO]  [10.0.1.74:51932 <r1ZnfK1eL>] RTSP ENDPOINT SOCKET CONNECTED {127.0.0.1:8554}
    2020-01-05T15:37:12.980Z [DEBUG] [10.0.1.74:51932 <r1ZnfK1eL>] [CLIENT REQUEST]  --> [DESCRIBE] rtsp://c9b64ad4-b04b-4e4e-825a-ac94f51609a6.mproxy.io:443/STREAM:68b1b8df-d001-44e2-a138-8a5f0d19790d?session=da67833d-bec1-492a-ae24-7834399ced46
    2020-01-05T15:37:12.980Z [TRACE] [10.0.1.74:51932 <r1ZnfK1eL>] [CLIENT REQUEST]  --> [HEADERS] {
      "accept": "application/sdp",
      "user-agent": "Fire OS/6.0 stagefright/1.2 (Linux;Android 7.1.2)",
      "cseq": "1"
    }
    2020-01-05T15:37:12.981Z [DEBUG] [10.0.1.74:51932 <r1ZnfK1eL>] [ENDPOINT REQUEST]  --> [DESCRIBE] rtsp://c9b64ad4-b04b-4e4e-825a-ac94f51609a6.mproxy.io:443/STREAM:68b1b8df-d001-44e2-a138-8a5f0d19790d
    2020-01-05T15:37:12.981Z [TRACE] [10.0.1.74:51932 <r1ZnfK1eL>] [ENDPOINT REQUEST]  --> [HEADERS] {
      "accept": "application/sdp",
      "user-agent": "Fire OS/6.0 stagefright/1.2 (Linux;Android 7.1.2)",
      "cseq": "1"
    }
    2020-01-05T15:37:12.982Z [DEBUG] [10.0.1.74:51932 <r1ZnfK1eL>] [ENDPOINT RESPONSE] <-- [200 (OK)] <cseq=1> (session=undefined)
    2020-01-05T15:37:12.982Z [TRACE] [10.0.1.74:51932 <r1ZnfK1eL>] [ENDPOINT RESPONSE] <-- [HEADERS] {
      "cseq": "1",
      "date": "Sun, Jan 05 2020 15:37:12 GMT",
      "content-base": "rtsp://127.0.0.1:8554/STREAM:68b1b8df-d001-44e2-a138-8a5f0d19790d/",
      "content-type": "application/sdp",
      "content-length": "418"
    }
    2020-01-05T15:37:12.982Z [TRACE] [10.0.1.74:51932 <r1ZnfK1eL>] [ENDPOINT RESPONSE] <-- [BODY]
     v=0
    o=- 1578238627565732 1 IN IP4 10.0.1.9
    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:50
    a=rtpmap:96 H264/90000
    a=control:track1
    
    2020-01-05T15:37:12.982Z [INFO]  [10.0.1.74:51932 <r1ZnfK1eL>] RTSP ENDPOINT AUTHENTICATION SUCCESSFUL: NONE
    2020-01-05T15:37:12.984Z [DEBUG] [10.0.1.74:51932 <r1ZnfK1eL>] [CLIENT RESPONSE] <-- [200 (OK)] <cseq=1> (session=undefined)
    2020-01-05T15:37:12.984Z [TRACE] [10.0.1.74:51932 <r1ZnfK1eL>] [CLIENT RESPONSE] <-- [HEADERS] {
      "cseq": "1",
      "date": "Sun, Jan 05 2020 15:37:12 GMT",
      "content-base": "rtsp://127.0.0.1:8554/STREAM:68b1b8df-d001-44e2-a138-8a5f0d19790d/",
      "content-type": "application/sdp",
      "content-length": "418"
    }
    2020-01-05T15:37:12.984Z [TRACE] [10.0.1.74:51932 <r1ZnfK1eL>] [CLIENT RESPONSE] <-- [BODY]
     v=0
    o=- 1578238627565732 1 IN IP4 10.0.1.9
    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:50
    a=rtpmap:96 H264/90000
    a=control:track1
    
    2020-01-05T15:37:13.007Z [INFO]  [10.0.1.74:51932 <r1ZnfK1eL>] RTSP CLIENT SOCKET CLOSED
    2020-01-05T15:37:13.007Z [INFO]  [10.0.1.74:51932 <r1ZnfK1eL>] RTSP CLIENT DETACHED FROM STREAM: Garden Camera Monocle (STREAM:68b1b8df-d001-44e2-a138-8a5f0d19790d)
    2020-01-05T15:37:13.008Z [INFO]  [10.0.1.74:51932 <r1ZnfK1eL>] RTSP ENDPOINT SOCKET CLOSED [10.0.1.74:51932 <r1ZnfK1eL>]
    

    Any help would be much appreciated.



  • From looking at this post it seems that using the @proxy tag Alexa sees the camera and returns the descriptor of the stream but Alexa doen’t like it.

    My next steps, as described in the linked post, are to try either @ntpnow and or @fakefmtp to trick Alexa into liking the stream format. Will report back when I try this later tonight when I am home.



  • So none of these options worked for me. Any other things I can try? @Monocle ?



  • @snorkrat

    You are correct in your assessment comments.

    1.) @tunnel - not working due to some odd 551 error. Camera does not like (and refuses) our RTSP DESCRIBE request from the Monocle Gateway.

    2.) @proxy - implements a different RTSP stack and this time the DESCRIBE request is accepted and the SDP is returned from the camera. Nothing looks odd to be about the SDP (descriptor). However, in the log, we can see that the Alexa device immediately terminates the connection after getting this SDP data. So there must be something in the SDP that Alexa does not like?

    3.) . @ntpnow and or @fakefmtp - excellent attempts, these are what I would have suggested trying as well.

    You have tried everything we would have suggested from your end. If you would like and are able to temporarily expose your camera RTSP feed to us, we can try testing it here with some additional tools to se if we can get any further. You can PM me the access info and I should be able to look into it this week.

    Thanks, Robert


Log in to reply