• Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Yi Home (hacked V4) [SOLVED]

    Support
    2
    12
    1896
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      hulkyto last edited by Monocle

      Re: Help with Yi Home (hacked V4) camera's

      Hi everyone, I was trying to use Echo Show 5 with Yi Home Camera, I have two models, with two different yi-hacks in order to enable RSTP Server, so I’m using monocle gateway, the problem comes with yi-hack 4 in Yi Home International Camera, the gateway show RTSP Client Socket Closed, I was review the difference between Yi Home Responses, an this is that I see:

      this works (Yi-hack for chinese Yi Home Camera 12N):

      o=- 1564100331130240 1 IN IP4 192.168.1.128
      s=H.264 Program Stream, streamed by the LIVE555 Media Server
      a=DevVer:pusher2
      a=GroupName:IPCAM
      a=NickName:CIF
      a=CfgSection:PROG_CHN0
      a=tool:LIVE555 Streaming Media v2011.08.13
      a=x-qt-text-nam:H.264 Program Stream, streamed by the LIVE555 Media Server
      b=AS:4000
      +a=control:trackID=1
      a=framesize:96 1280-720
      a=cliprect:0,0,1280,720

      this does not works (Yi-hack4):

      o=- 1564099317024244 1 IN IP4 10.0.0.182
      s=Session streamed by “rtspv4”
      a=tool:LIVE555 Streaming Media v2018.12.14
      a=x-qt-text-nam:Session streamed by “rtspv4”
      b=AS:500
      a=control:track1

      after this, gateway shows:

      RTSP CLIENT SOCKET CLOSED
      RTSP CLIENT DETACHED FROM STREAM: YI Home Sala-Comedor (STREAM:b9b6c8e2-fd75-4e12-9a07-72673a55aea4)
      RTSP ENDPOINT SOCKET CLOSED [10.0.0.137:46378 <ry2Xo5_fr>]

      someone can help with this?

      Monocle 1 Reply Last reply Reply Quote 0
      • Monocle
        Monocle @hulkyto last edited by

        @hulkyto

        Its hard to say why, but it looks like Alexa is immediately closing the connection (RTSP CLIENT SOCKET CLOSED) after receiving the SDP (descriptor). This is very common when Alexa does not like something about the SDP. However, to my knowledge there is no way to get any details from Alexa as to why she fails or what part of the SDP she is having an issue with.

        In both example SDPs, they seem very sparse. Most cameras include much more details including video and audio codecs and other stuff.

        Monocle: https://monoclecam.com
        Getting Started | Troubleshooting Guide | FAQ | Contact Support

        1 Reply Last reply Reply Quote 0
        • H
          hulkyto last edited by

          Hi, thanks for the comments, only for clarify SDPs were cutted eliminating common lines in order to see only the difference between a one that works and one that does not works

          Monocle 1 Reply Last reply Reply Quote 0
          • Monocle
            Monocle @hulkyto last edited by

            @hulkyto

            Can you include the complete SDP for both? I’ll take a look and see if anything stands out as odd for Alexa.

            Thanks, Robert

            Monocle: https://monoclecam.com
            Getting Started | Troubleshooting Guide | FAQ | Contact Support

            1 Reply Last reply Reply Quote 0
            • H
              hulkyto last edited by

              2019-07-26T00:20:11.289Z [INFO] [10.0.0.137:42122 <rkXBvawGr>] RTSP ENDPOINT AUTHENTICATION SUCCESSFUL: NONE
              2019-07-26T00:20:11.292Z [DEBUG] [10.0.0.137:42122 <rkXBvawGr>] [CLIENT RESPONSE] <-- [200 (OK)] <cseq=1> (session=undefined)
              2019-07-26T00:20:11.306Z [TRACE] [10.0.0.137:42122 <rkXBvawGr>] [CLIENT RESPONSE] <-- [HEADERS] {
              “cseq”: “1”,
              “date”: “Fri, Jul 26 2019 00:20:08 GMT”,
              “content-base”: “rtsp://10.0.0.182/ch0_0.h264/”,
              “content-type”: “application/sdp”,
              “content-length”: “488”
              }
              2019-07-26T00:20:11.308Z [TRACE] [10.0.0.137:42122 <rkXBvawGr>] [CLIENT RESPONSE] <-- [BODY]
              v=0
              o=- 1564099317024244 1 IN IP4 10.0.0.182
              s=Session streamed by “rtspv4”
              i=ch0_0.h264
              t=0 0
              a=control:*
              a=tool:LIVE555 Streaming Media v2018.12.14
              a=type:broadcast
              a=range:npt=0-
              a=x-qt-text-nam:Session streamed by “rtspv4”
              a=x-qt-text-inf:ch0_0.h264
              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=64001F;sprop-parameter-sets=Z2QAH62EAQwgCGEAQwgCGEAQwgCEO1AoAt03AQEBAg==,aO48sA==
              a=control:track1

              2019-07-26T00:20:11.579Z [INFO] [10.0.0.137:42122 <rkXBvawGr>] RTSP CLIENT SOCKET CLOSED
              2019-07-26T00:20:11.586Z [INFO] [10.0.0.137:42122 <rkXBvawGr>] RTSP CLIENT DETACHED FROM STREAM: YI Home Sala-Comedor (STREAM:b9b6c8e2-fd75-4e12-9a07-72673a55aea4)
              2019-07-26T00:20:11.587Z [INFO] [10.0.0.137:42122 <rkXBvawGr>] RTSP ENDPOINT SOCKET CLOSED [10.0.0.137:42122 <rkXBvawGr>]

              Monocle 1 Reply Last reply Reply Quote 0
              • Monocle
                Monocle @hulkyto last edited by

                @hulkyto

                Try adding the tag @fake-fmtp along with your other tags. It’s a shot in the dark … but often times when Alexa disconnects immediately like this, it has to do with the a=fmtp:96 signature.

                Monocle: https://monoclecam.com
                Getting Started | Troubleshooting Guide | FAQ | Contact Support

                1 Reply Last reply Reply Quote 0
                • H
                  hulkyto last edited by

                  Thanks a lot, this finally works, proved on Yi Home 1080P Camera and Yi Doeme 1080P Camera both with Yi-hack-v4 0.2.0, thank you very much for your help, support and this great project!

                  Monocle 1 Reply Last reply Reply Quote 0
                  • Monocle
                    Monocle @hulkyto last edited by

                    @hulkyto

                    That is GREAT news! Glad to hear is up and running!

                    If you get a chance, it would help others if you are able to post details on how to get these cameras working with Monocle and Alexa along with screenshots of your Monocle camera configuration here on the forums under the:

                    Home > Equipment / Hardware > IP Cameras / NVR topic.

                    I have had several other users ask about Yi cameras in the past, but I was not able to help them.

                    Thanks, Robert

                    Monocle: https://monoclecam.com
                    Getting Started | Troubleshooting Guide | FAQ | Contact Support

                    1 Reply Last reply Reply Quote 0
                    • H
                      hulkyto last edited by

                      Sure, but I can’t see a Yi Category, how can I create it?

                      Monocle 1 Reply Last reply Reply Quote 0
                      • Monocle
                        Monocle @hulkyto last edited by Monocle

                        @hulkyto

                        Just post to the “Other” category for now. I’ll create a new category and move the thread later this week.

                        Thanks, Robert

                        Monocle: https://monoclecam.com
                        Getting Started | Troubleshooting Guide | FAQ | Contact Support

                        1 Reply Last reply Reply Quote 0
                        • H
                          hulkyto last edited by

                          I did it:

                          https://forum.monoclecam.com/topic/244/yi-home-1080p-dome-1080p-camera-with-yi-hack-v4-setup-details

                          let me know if you consider to do some changes.

                          Regrets

                          Monocle 1 Reply Last reply Reply Quote 0
                          • Monocle
                            Monocle @hulkyto last edited by

                            @hulkyto

                            I just moved it to a new “Yi” category.
                            https://forum.monoclecam.com/category/43/yi

                            Monocle: https://monoclecam.com
                            Getting Started | Troubleshooting Guide | FAQ | Contact Support

                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post
                            Privacy Policy  |  Terms & Conditions

                            © 2018 shadeBlue, LLC.