Comments (6)
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.
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:
- install Wireshark
- open Wireshark and start capturing packets on the Network interface you use to communicate with your camera
- open the RTSP stream with VLC
- stop the Wireshark capture and save it in .pcap format
- repeat the process, but this time use rtsp-simple-proxy
Attach both files.
Thanks
from rtsp-simple-proxy.
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)
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.
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.
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.
It's.....WORKING!
from rtsp-simple-proxy.
Related Issues (10)
- can't read dahua streams? HOT 6
- Stream set credentials is not feasible HOT 1
- Feature Request: Pre/Post Script HOT 1
- Unable to connect to v4l2rtspserver-0.2.0 ERR: expected 'RTSP/1.0', got HOT 6
- Read messages while receiving UDP streams, do not just write keepalives HOT 1
- integration with media-stream-library-js HOT 3
- "invalid SDP" while connecting to IP-camera HOT 2
- unable to parse key-value HOT 2
- High CPU usage HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rtsp-simple-proxy.