Git Product home page Git Product logo

Comments (4)

PeterJohnson avatar PeterJohnson commented on June 11, 2024

The compression setting can be different for every client. Are you saying we should provide a way to set the default compression setting if the client doesn't specify it in HTTP parameters?

from cscore.

prensing avatar prensing commented on June 11, 2024

Yes. Right now, the Server sets it to 80, but there is no way to change that in the program. The client has to send an HTTP GET with the compression. If you just fetch the stream (ie just browse to "http://localhost:1181" for example), you will get the default compression, and could easily swamp your network pipe.

Also, setting the compression using the HTTP parameter is pretty obscure. I only found it by reading the C code. Is it documented? I am just getting into cscore, but maybe I missed it, but I did not find it through Google.

from cscore.

PeterJohnson avatar PeterJohnson commented on June 11, 2024

All of the dashboards do it, and it's the approach used for the Axis camera as well. But, no, it's not documented anywhere.

I agree it's a good feature, but I'll need to think about how to expose it. Currently properties exist only on sources, not on sinks, so it means adding a whole infrastructure for sink properties. Of course this may be useful in other ways though too.

from cscore.

PeterJohnson avatar PeterJohnson commented on June 11, 2024

Fixed in wpilibsuite/allwpilib#1229.

from cscore.

Related Issues (20)

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.