Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Adding Camera Duet2 Wifi RSTP problems & Chrome

    Scheduled Pinned Locked Moved
    Duet Web Control
    8
    30
    1.7k
    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.
    • dc42undefined
      dc42 administrators
      last edited by

      Sadly, browsers no longer support RTSP. To get an IP camera to show up in DWC, it needs to have a facility to serve a still image.

      Duet WiFi hardware designer and firmware engineer
      Please do not ask me for Duet support via PM or email, use the forum
      http://www.escher3d.com, https://miscsolutions.wordpress.com

      DIY-O-Sphereundefined 2 Replies Last reply Reply Quote 0
      • DIY-O-Sphereundefined
        DIY-O-Sphere @dc42
        last edited by DIY-O-Sphere

        @dc42
        The wyze cam with modified fw has a build in rtsp-server.....
        Mine is working with DWC.

        (UTC+1)

        1 Reply Last reply Reply Quote 0
        • DIY-O-Sphereundefined
          DIY-O-Sphere @dc42
          last edited by DIY-O-Sphere

          @dc42 said in Adding Camera Duet2 Wifi RSTP problems & Chrome:

          it needs to have a facility to serve a still image.

          You are right, as always. it's depending on browser.....Only working in firefox.
          Does this mean that a service like "motion" is required for chrome ?

          (UTC+1)

          1 Reply Last reply Reply Quote 0
          • Phaedruxundefined
            Phaedrux Moderator
            last edited by

            Probably, though there are alternatives to motion.

            You might also be able to find a plugin/extension for chrome to bring back RTSP, but haven't tried it myself.

            Z-Bot CoreXY Build | Thingiverse Profile

            1 Reply Last reply Reply Quote 0
            • uneumann36undefined
              uneumann36
              last edited by

              Thank you for all information.

              So i am not a computer expert.
              I play with this more then a week without function.

              Does anybody know how to adjust my mofified Wyze Cam or Chrome Browser or DWC that this work?

              May step by step?
              Or is there no possibility to get this working?

              Thank´s

              1 Reply Last reply Reply Quote 0
              • uneumann36undefined
                uneumann36
                last edited by

                It would be great if someone has an idea how to solve this.

                1 Reply Last reply Reply Quote 0
                • Phaedruxundefined
                  Phaedrux Moderator
                  last edited by

                  What version of DWC are you using? Someone else just reported some problems in the recent betas as well.

                  Z-Bot CoreXY Build | Thingiverse Profile

                  1 Reply Last reply Reply Quote 0
                  • uneumann36undefined
                    uneumann36
                    last edited by

                    Hi
                    i use Duet Web Control 2.0.7

                    1 Reply Last reply Reply Quote 0
                    • Phaedruxundefined
                      Phaedrux Moderator
                      last edited by

                      Unfortunately I'm not familiar with the Wyze cams or how they are functioning, but since you are using an older DWC I would think that the methods posted above would still work.

                      Have you tested in firefox to confirm if it's working there?

                      Z-Bot CoreXY Build | Thingiverse Profile

                      1 Reply Last reply Reply Quote 0
                      • uneumann36undefined
                        uneumann36
                        last edited by

                        Yeah Firefox is also not working.

                        1 Reply Last reply Reply Quote 0
                        • chrishammundefined
                          chrishamm administrators
                          last edited by chrishamm

                          RTSP isn't supported by modern browsers, so DWC doesn't support it either. You need to use mjpg or something else.

                          Duet software engineer

                          1 Reply Last reply Reply Quote 0
                          • uneumann36undefined
                            uneumann36
                            last edited by

                            Ok, sorry for the question,
                            But how to do?

                            1 Reply Last reply Reply Quote 0
                            • uneumann36undefined
                              uneumann36
                              last edited by

                              I hope someone has an idea

                              Phaedruxundefined 1 Reply Last reply Reply Quote 0
                              • Phaedruxundefined
                                Phaedrux Moderator @uneumann36
                                last edited by

                                @uneumann36 well @DIY-O-Sphere says he has it working still, so I think there's something you're missing from the modification to the wyze cam. I don't have one myself, so I'm not much help, but it does appear to work for some.

                                Z-Bot CoreXY Build | Thingiverse Profile

                                DIY-O-Sphereundefined 1 Reply Last reply Reply Quote 0
                                • Mac3D-FPVundefined
                                  Mac3D-FPV
                                  last edited by

                                  I was able to get the Wyzecam V2 with the Dafang firmware working to provide a video feed in DWC using the Safari browser. The video is choppy, but sufficient to monitor the progress of a print. In the Dafang firmware, I changed the Codec for RTSP Server to "MPJEG" (MPJEG is probably a typo in the Dafang firmware) and the video size to 1280x720 (larger and smaller sizes also worked). I then assigned a fixed IP address to the Wyzecam on my router. In DWC, under Setting, General, Webcam, I inserted the Webcam URL as "http://xxx.xxx.x.xx/cgi-bin/currentpic.cgi" (where xxx.xxx.x.xx is the fixed IP address I assigned), set the Webcam update interval to 500ms, repeated the above URL exactly under URL to open when Webcam image is clicked, and turned off both "Do not append extra HTTP qualifier when reloading images" and "Embed webcam image in iframe." Hope this helps.

                                  1 Reply Last reply Reply Quote 1
                                  • DIY-O-Sphereundefined
                                    DIY-O-Sphere @Phaedrux
                                    last edited by DIY-O-Sphere

                                    @uneumann36

                                    Now I also got it working in Chrome, but only on my PC. On my mobile the cam snap is displayed now , but will not be updated.
                                    It's a little tricky. Seach for "dafang hack disable https"

                                    (UTC+1)

                                    uneumann36undefined 1 Reply Last reply Reply Quote 0
                                    • uneumann36undefined
                                      uneumann36 @DIY-O-Sphere
                                      last edited by

                                      @DIY-O-Sphere
                                      Sounds good.
                                      Where to search?

                                      DIY-O-Sphereundefined 1 Reply Last reply Reply Quote 0
                                      • DIY-O-Sphereundefined
                                        DIY-O-Sphere @uneumann36
                                        last edited by

                                        @uneumann36

                                        Editing the lighttpd.conf file found in /system/sdcard/config/lightpd.conf and commenting out the following lines:

                                        Code

                                        #$HTTP["scheme"] == "http" {
                                        #    # capture vhost name with regex conditiona -> %0 in redirect pattern
                                        #    # must be the most inner block to the redirect rule
                                        #    $HTTP["host"] =~ ".*" {
                                        #        url.redirect = (".*" => "https://%0$0")
                                        #    }
                                        #}
                                        

                                        Then reboot the camera.
                                        Now in DWC change the link to http://xxx.xxx.x.xx/cgi-bin/currentpic.cgi

                                        (UTC+1)

                                        1 Reply Last reply Reply Quote 1
                                        • widjitundefined
                                          widjit
                                          last edited by

                                          I had a little trouble getting this up and running but now that I have read and re-read I caught a few things maybe possibly update the wiki camera section with making sure "Embed Webcam Stream" and " Do not append extra HTTP qualifier " are un-checked. Those were the two things holding me back. I did update the lighttpd.conf file so you do not have to use the "user:pass" portion of the address. Another note is using the cgi-bin/currentpic.cgi isn't using RTSP, it is using a static image that is updated at whatever frame rate you have set in the Dafang firmware and the duet grabs whichever frame happens to be the most current still image which is currentpic.cgi when it does its update at your specified interval.

                                          Nathan116undefined 1 Reply Last reply Reply Quote 1
                                          • Nathan116undefined
                                            Nathan116 @widjit
                                            last edited by

                                            @widjit where do you set the auto-update/refresh value? I can view a still image using the cgi-bin/currentpic.cgi address, but it does autorefresh or anything, I have to keep manually clicking the refresh button, which is incredibly annoying and useless. It sounds like, for you, it autoupdates with a choppy video, which is better than just 1 still image

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Unless otherwise noted, all forum content is licensed under CC-BY-SA