Coder Social home page Coder Social logo

s5projects / csgo-broadcast Goto Github PK

View Code? Open in Web Editor NEW

This project forked from theikkila/csgo-broadcast

7.0 7.0 0.0 81 KB

DEPRECATED. Use https://github.com/FlowingSPDG/gotv-plus-go insted.

Home Page: https://flowing.tokyo

HTML 35.28% TypeScript 48.22% JavaScript 7.88% CSS 8.62%
counter-strike-global-offensive csgo gotv-plus tv-broadcast

csgo-broadcast's People

Contributors

flowingspdg avatar theikkila avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

csgo-broadcast's Issues

Use proper /sync format

rcvage,rtdelay thing(which is stable with value "2")
According to https://developer.valvesoftware.com/wiki/Counter-Strike:_Global_Offensive_Broadcast ,it says :
rtdelay - the number of seconds since the select FULL fragment has been received
rcvage - the number of seconds since the server received the latest FULL fragment

rtdelay は"選択された"fragmentが受信されてからの秒数(選択とは...??)
rcvage は最後のFULL fragmentを受信してからの秒数(恐らく重要じゃない)

rtdelayの方が重要そうだが、「選択された」の意味がわからない

Frag jumping

Frag jumping for replay and demo-purposes
maybe hidden option or use fake-frag?
e.g. e.g. use "100" frag when client requested "51" fragment after "50" frag
so client jumps 50f to 100f

同期ズレを修正する

rtdelay: 1, rcvage: 1, を解決する

rtdelayは選択されたFullフラグの受信からの秒数
rcvageは最後のfullフラグからの秒数

Support hidden args (afx-csgo-broadcast)

c, b, f, a

f = req.query.fragment
playcast http://URLURL.example.com/match/s1n1 f1000
will make request against http://URLURL.example.com/match/s1n1/sync?fragment=1000

Buffering with CDN

When client connects GOTV+ server directly,its fine
but If connect with cdn,it starts buffering. probably /sync issue

cache controlを行う

// res.header('Cache-Control', 'max-age=0');
// res.header('Cache-Control', 'no-cache');

引数を処理できるようにする

/{token}/{fragment_number}/start
/{token}/{fragment_number}/full?tick=1882
/{token}/{fragment_number}/delta?endtick=2144

?以降の文字列を処理できるようにする

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.