Code Monkey home page Code Monkey logo

victure-pc540-proxy's Introduction

Victure PC540 Proxy

There's a bug with the RTSP implementation on the Victure PC540 IP camera. The bug makes it so that you cannot consume the camera feed from some RTSP client implementations, including ffmpeg.

When using ffmpeg on the RTSP URL for the camera, you get an error message:

$ ffmpeg 'rtsp://<username>:<password>@192.168.50.60:554/realmonitor?channel=0&stream=0.sdp'
av.AVError: [Errno 1094995529] Invalid data found when processing input: 'rtsp://<username>:<password>@192.168.50.60:554/realmonitor?channel=0&stream=0.sdp'

The problem is that the Transport response header on SETUP responses is incorrectly formatted (according to section 12.39 of RFC 2326).

The camera produces something like this:

RTP/AVP;unicast;mode=PLAY;source=192.168.50.60;client_port=7380-7381;server_port=40000-40001,ssrc=FFFFCCCC

But that last , should be a ;:

RTP/AVP;unicast;mode=PLAY;source=192.168.50.60;client_port=7380-7381;server_port=40000-40001;ssrc=FFFFCCCC

This project provides a proxy server that rewrites the responses from the camera so that the messages conform to the specification.

Usage

TODO

victure-pc540-proxy's People

Contributors

cjlarose avatar dependabot[bot] avatar

Stargazers

Josef Biehler avatar  avatar  avatar Javier González Calleja avatar  avatar  avatar

Watchers

 avatar  avatar Javier González Calleja avatar  avatar

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.