Giter Club home page Giter Club logo

Comments (6)

aler9 avatar aler9 commented on June 19, 2024 1

Hi, this should be fixed in a4bd1df and v0.2.12: the problem was that the proxy didn't supported session headers with timeouts, like the one your camera was sending in the SETUP reply:

Session: C540B07E;timeout=65

so the proxy was sending this wrong header in all subsequent requests:

Session: C540B07E;timeout=65

while it now sends the correct one:

Session: C540B07E

Thank you, that's quite an extensive bit of hacking to churn out in such a short time, wow!

well, this is my job so i try to do it the best i can :)

let me know if it finally works.

from rtsp-simple-proxy.

aler9 avatar aler9 commented on June 19, 2024

Hi, the RTSP protocol is not implemented in the same way in all the cameras, servers, etc, but it differs slightly, mainly in cameras, since cameras have very low computational power and must use lightweight implementations. Your camera probably uses a RTSP format that this library can't deal with yet, while VLC uses the LIVE555 library to open RTSP streams, that is more versatile and probably is able to communicate with your camera.

To solve this problem, it would be helpful to have a network dump, that you can generate in this way:

  1. install Wireshark
  2. open Wireshark and start capturing packets on the Network interface you use to communicate with your camera
  3. open the RTSP stream with VLC
  4. stop the Wireshark capture and save it in .pcap format
  5. repeat the process, but this time use rtsp-simple-proxy

Attach both files.

Thanks

from rtsp-simple-proxy.

walthowd avatar walthowd commented on June 19, 2024

Thank you, attached are the PCAP captures. One with VLC and two with rtsp-simple-proxy (one in UDP mode and one in TCP mode)

wyze-rtsp-streams.zip

Peeking in them a bit, it does look like Wyze is using LIVE555 library on the cameras to provide the stream -- and for some reason it really is 404'ing when trying to get the URI.

from rtsp-simple-proxy.

aler9 avatar aler9 commented on June 19, 2024

Hi, this should be fixed in fa01182 and v0.2.11: the proxy was ignoring the control attribute, sent by the camera, that dictates how to build the SETUP request, that was obviously failing.
Let me know if it worked. Thanks.

from rtsp-simple-proxy.

walthowd avatar walthowd commented on June 19, 2024

Thank you, that's quite an extensive bit of hacking to churn out in such a short time, wow!

It does get a bit farther but still fails with a RTSP code of 454.

A PCAP is attached.

wyze-rtsp-stream-from-rtsp-simple-proxy-release-0-2-11.zip

from rtsp-simple-proxy.

walthowd avatar walthowd commented on June 19, 2024

It's.....WORKING!

from rtsp-simple-proxy.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.