GithubHelp home page GithubHelp logo

secure urls about bemtv HOT 6 CLOSED

streamroot avatar streamroot commented on June 26, 2024
secure urls

from bemtv.

Comments (6)

flavioribeiro avatar flavioribeiro commented on June 26, 2024

For now, bemtv associates full URL's with their contents. It doesn't have support for swarm isolation based on the transmission. I'll think about it and get back to you

from bemtv.

flavioribeiro avatar flavioribeiro commented on June 26, 2024

hi @ankurss, I don't think this security method is described on the specs. Why are you doing this? It is your segmenter that generates url's like this?

from bemtv.

ankurss avatar ankurss commented on June 26, 2024

We need secure url which work only for specific ip range & also needs to expire after few hours.

Segmenter doesn't generate such urls, we are doing internal nginx redirects to achieve such urls.

from bemtv.

flavioribeiro avatar flavioribeiro commented on June 26, 2024

I see. You change the master playlist URL also? The swarms are created based on this as you can see in streamroot/clappr-p2phls-plugin#8.

One thing I can do is match segments with their names only instead of full URI. I'm afraid of a adaptive streaming scenario were I can't guarantee that chunks from different levels have different names.

from bemtv.

ankurss avatar ankurss commented on June 26, 2024

different levels is indeed a issue, maybe if we added filename+level in url ? and the swarm can use filename-level to find correct chunks

level1: http://domain.com/hls/some-secure-code-12345-/filename-240p/chunk1.ts
level2: http://domain.com/hls/some-secure-code-67890-/filename-360p/chunk1.ts

from bemtv.

flavioribeiro avatar flavioribeiro commented on June 26, 2024

Yes, this definitely solves the issue. Can you open a feature request on https://github.com/bemtv/clappr-p2phls-plugin? I'll use this plugin as the base for others.

from bemtv.

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.