Giter VIP home page Giter VIP logo

clappr-p2phls-plugin's People

Contributors

flavioribeiro avatar shankardevy avatar waffle-iron 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  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  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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

clappr-p2phls-plugin's Issues

Poster suddenly appears

I could notice that sometimes when a peer receives a chunk, it seems that the transmission is closed and the poster appears. Need to turn on logging to check what's going on with the events that are being dispatched.

Implement basic partnership algorithm

We can start by forcing the partners to be randomly chosen from peers swarm. Since BitTorrent uses 4 peers to be partners, I think this is a good number to choose initially.

Remove timeupdate events

I don't think we need to report time update events if we're not planning to support DVR on live streams. I'm trying to find the route cause of #15 and could detect some overhead on this function call:

img

Going to remove this call from both as3 and js sides to avoid this overhead.

Improve startupTime

There's a race condition when player state is not PLAYING BUFFERING anymore but the playback hasn't initiated yet.

If any chunk was received from p2p, the player should incentive the initial buffer to be entirely filled by peers, improving overall startupTime.

Enhanced support for adaptive bitrate

I think I can start by favoring peers on the same bitrate to be partners. Then I can take a look where peers with low bandwidth to CDN have a great connection to a peer and try to provide HD video to this poor guy.

Buffer length keeps decreasing

When one peer is trying to get chunks from the overlay, the buffer length keeps decreasing. Need to check choke efficiency and look at how much time it costs to send/receive one chunk. This would help Settings.timeout (#12)

TypeError: Error #1009: when hitting play button on

while hitting play button on http://bem.tv/ using flash debug player the following exception occurs:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at org.mangui.hls.stream::FragmentLoader/_loadfirstfragment()
at org.mangui.hls.stream::FragmentLoader/_checkLoading()
at flash.utils::Timer/_timerDispatch()
at flash.utils::Timer/tick()

after discarding it the playback starts successfully.

Add choke instruction

Better than wait for a timeout is to receive a choke message when the peer doesn't have desired chunk.

Add signaling step after peer match

One ping?pong! exchange is necessary to exchange some QoE data between peers. This will support the initial score on partnership algorithm.

refs #4

Implement a slots queue for starving peers

I need to define how many peers one can serve. I'll define a fix number of slots on the first implementation where peers persist the time when it sent a segment and expires then as the time goes.

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.