Giter Club home page Giter Club logo

zeromux's People

Contributors

muxzeronet avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

zeromux's Issues

All ZeroMux sites not work when UiPassword plugin enabled

screen

When I enabled UiPassword plugin, all ZeroMux is not work.
For example:
http://127.0.0.1:43110/zeromux.bit
http://127.0.0.1:43110/1CiDoBP8RiWziqiBGEd8tQMy66A6fmnw2V/big/sample-loader/
http://127.0.0.1:43110/1MjzGw2HQRpJuiuX2U1Gr2PpNPz3rKXCJ/?type=video/mp4&json=files/nuchijizhe.mp4/file.json&poster=files/nuchijizhe.mp4/poster.jpg

It seems XMLHttpRequest without a session? But I read some document said it contain session.
So it caused by a zerobug???

But the same problem happened when I use nginx reverse proxy to zeronet and enabled http basic authentication. And the XMLHttpRequest of ZeroMux is not contain the login information.

Make code cleaner

The MP4 multiplexer knows where each sample is, and how to write, but it stores sample information in a complicated way. Further work is needed to improve its modularity.

  • Don't make a second level in sampleInfo object. Implement data selectors for items in sampleInfo when necessary. Don't go across abstraction barriers.
  • Reduce the number of parameters. Take a more object oriented approach to write new code.
  • Use more concise and descriptive variable names and function names. Include comments when necessary.
  • Organize samples in a way that it should know which samples to write when I seek the video.
  • Stick to W3C definition. Correctly distinguish between INIT_SEGMENT and MEDIA_SEGMENT.

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.