Code Monkey home page Code Monkey logo

Comments (2)

xqq avatar xqq commented on July 3, 2024

@yanhua1012

This repository could not be maintained by me anymore. You'd better migrate to mpegts.js.

You can append custom headers through config.headers by providing an object of Key-Value pairs of custom headers. It will be appended when requesting HTTP streaming.

If you want to pass cookies, enable the withCredentials field inside the MediaDataSource.

Both of them will be limited by the browser's CORS policy.

For further discussions, please post new issues in the mpegts.js repository.

from flv.js.

yanhua1012 avatar yanhua1012 commented on July 3, 2024

謝謝您的專業回覆,很具參考加值。我會改至 mpegts.js 討論。
另外能否請教,如果以 webSocket 的方式進行連線,
上述的 header 與 withCredential 仍有作用嗎?

from flv.js.

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.