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

    UDM Pro with Unifi Protect - disconnecting

    Ubiquiti / UniFi
    4
    5
    715
    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.
    • N
      nicholasng last edited by

      Hi all - I seem to be having problems setting up a G3 Flex camera with Monocle. It’s connected to Unifi Protect on a UDM Pro.

      I’ve successfully set up the Monocle Gateway, tested the RTSP URL via VLC and set resolution to the lowest possible. I’ve also tried the @proxy and @noaudio tags with no success.

      According to the gateway log, the camera seems to be connecting but disconnects effectively as soon as the stream starts - extract below.

      Anyone come across similar issues?

      Jul 18 01:57:03 officehelper monocle-gateway[1353]: 2022-07-18T01:57:03.326Z [DEBUG] [192.168.1.178:48486 <S1vg04f2q>] [CLIENT RESPONSE] <-- [200 (OK)] <cseq=1> (session=undefined)
      Jul 18 01:57:03 officehelper monocle-gateway[1353]: 2022-07-18T01:57:03.326Z [TRACE] [192.168.1.178:48486 <S1vg04f2q>] [CLIENT RESPONSE] <-- [HEADERS] {
      Jul 18 01:57:03 officehelper monocle-gateway[1353]:   "cseq": "1",
      Jul 18 01:57:03 officehelper monocle-gateway[1353]:   "cache-control": "no-store",
      Jul 18 01:57:03 officehelper monocle-gateway[1353]:   "content-base": "rtsp://192.168.1.1:7447/[redacted]/",
      Jul 18 01:57:03 officehelper monocle-gateway[1353]:   "content-length": "659",
      Jul 18 01:57:03 officehelper monocle-gateway[1353]:   "content-type": "application/sdp",
      Jul 18 01:57:03 officehelper monocle-gateway[1353]:   "date": "Mon, 18 Jul 2022 01:57:03 UTC",
      Jul 18 01:57:03 officehelper monocle-gateway[1353]:   "expires": "Mon, 18 Jul 2022 01:57:03 UTC",
      Jul 18 01:57:03 officehelper monocle-gateway[1353]:   "pragma": "no-cache",
      Jul 18 01:57:03 officehelper monocle-gateway[1353]:   "server": "EvoStream Media Server (www.evostream.com)"
      Jul 18 01:57:03 officehelper monocle-gateway[1353]: }
      Jul 18 01:57:03 officehelper monocle-gateway[1353]: 2022-07-18T01:57:03.326Z [TRACE] [192.168.1.178:48486 <S1vg04f2q>] [CLIENT RESPONSE] <-- [BODY]
      Jul 18 01:57:03 officehelper monocle-gateway[1353]:  v=0
      Jul 18 01:57:03 officehelper monocle-gateway[1353]: o=- 238 0 IN IP4 192.168.1.1
      Jul 18 01:57:03 officehelper monocle-gateway[1353]: s=18E8290804E3_2
      Jul 18 01:57:03 officehelper monocle-gateway[1353]: u=www.evostream.com
      Jul 18 01:57:03 officehelper monocle-gateway[1353]: c=IN IP4 192.168.1.1
      Jul 18 01:57:03 officehelper monocle-gateway[1353]: t=0 0
      Jul 18 01:57:03 officehelper monocle-gateway[1353]: a=control:*
      Jul 18 01:57:03 officehelper monocle-gateway[1353]: a=recvonly
      Jul 18 01:57:03 officehelper monocle-gateway[1353]: a=range:npt=now-
      Jul 18 01:57:03 officehelper monocle-gateway[1353]: m=audio 0 RTP/AVP 96
      Jul 18 01:57:03 officehelper monocle-gateway[1353]: a=rtpmap:96 mpeg4-generic/48000/1
      Jul 18 01:57:03 officehelper monocle-gateway[1353]: a=fmtp:96 streamtype=5; profile-level-id=15; mode=AAC-hbr; config=1188; SizeLength=13; IndexLength=3; IndexDeltaLength=3;
      Jul 18 01:57:03 officehelper monocle-gateway[1353]: a=control:trackID=0
      Jul 18 01:57:03 officehelper monocle-gateway[1353]: a=recvonly
      Jul 18 01:57:03 officehelper monocle-gateway[1353]: m=audio 0 RTP/AVP 96
      Jul 18 01:57:03 officehelper monocle-gateway[1353]: a=rtpmap:96 opus/48000/2
      Jul 18 01:57:03 officehelper monocle-gateway[1353]: a=control:trackID=1
      Jul 18 01:57:03 officehelper monocle-gateway[1353]: a=recvonly
      Jul 18 01:57:03 officehelper monocle-gateway[1353]: a=fmtp:96
      Jul 18 01:57:03 officehelper monocle-gateway[1353]: m=video 0 RTP/AVP 97
      Jul 18 01:57:03 officehelper monocle-gateway
      [1353]: a=rtpmap:97 H264/90000
      Jul 18 01:57:03 officehelper monocle-gateway[1353]: a=fmtp:97 profile-level-id=4d401e; packetization-mode=1; sprop-parameter-sets=Z01AHppkBQF/y4C3AQEBQAAA+gAAHUwnaCIRqA==,aO48gA==
      Jul 18 01:57:03 officehelper monocle-gateway[1353]: a=control:trackID=2
      Jul 18 01:57:03 officehelper monocle-gateway[1353]: a=recvonly
      Jul 18 01:57:03 officehelper monocle-gateway[1353]: 2022-07-18T01:57:03.347Z [INFO]  [192.168.1.178:48486 <S1vg04f2q>] RTSP CLIENT SOCKET CLOSED
      Jul 18 01:57:03 officehelper monocle-gateway[1353]: 2022-07-18T01:57:03.347Z [INFO]  [192.168.1.178:48486 <S1vg04f2q>] RTSP CLIENT DETACHED FROM STREAM: Francis Room (STREAM:533c53b5-0392-4e9b-af17-416d64a5841e)
      Jul 18 01:57:03 officehelper monocle-gateway[1353]: 2022-07-18T01:57:03.347Z [INFO]  [192.168.1.178:48486 <S1vg04f2q>] RTSP ENDPOINT SOCKET CLOSED [192.168.1.178:48486 <S1vg04f2q>]
      

      Many thanks
      Nick

      M 1 Reply Last reply Reply Quote 0
      • M
        monome @nicholasng last edited by

        @nicholasng said in UDM Pro with Unifi Protect - disconnecting:

        a=rtpmap:96 opus/48000/2

        You are running the latest 2.x.x version of protect app, which introduced a second audio stream, which is not filtered even when using @noaudio tag. This second stream breaks Alexa integration, and until Monocole is updated to properly filter it out, your integration would not work.

        Scrypted seems to be a working workaround for now. Though it doesn’t support @proxy, and thereby multiple streams (running more than one from a single source starts to stutter).

        Hope that a new gateway version would be released soon were by multiple audio streams can be stripped using a @noaudio flag.

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

          I just received my new Unifi cameras and will be setting them up and try to resolve this issue within the next week. Removing a second audio channel should be fairly simply … I think.

          Please stay tuned …

          Thanks, Robert

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

          D 1 Reply Last reply Reply Quote 2
          • Monocle
            Monocle last edited by

            Unifi Camera Update …
            Please see : https://forum.monoclecam.com/topic/1242/unifi-camera-update

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

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

              @Monocle Thank YOU Robert - we really appreciate it.

              D

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

              © 2018 shadeBlue, LLC.