Comments (2)
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.
謝謝您的專業回覆,很具參考加值。我會改至 mpegts.js 討論。
另外能否請教,如果以 webSocket 的方式進行連線,
上述的 header 與 withCredential 仍有作用嗎?
from flv.js.
Related Issues (20)
- 循环点播问题 loop HOT 1
- flv调用了start但是没有get请求发送,导致视频不能播放 HOT 1
- 使用flv获取摄像头的直播流的时候,内部有时候不调用fetch方法,有时候调用了后会触发_internalAbort的内部中止请求 HOT 1
- react项目中使用FLV播放实时直播流,一直没有触发sourceOpen方法,导致没有调用fetch方法 HOT 1
- flv播放,有时候不能展示视频,有时候能展示。然后我把video标签写死后就每次都能了 HOT 1
- React 中使用 load()方法报错unhandled error .
- Auto Unhide Controls HOT 1
- Watermark/Logo
- flv.js配置https后播放实时码流,打开需要一分钟 HOT 1
- 20231102号音画不同步问题
- firefox不能正常播放 HOT 1
- flv.js播放页面卡住且无法恢复
- Non-FLV, Unsupported media type! HOT 1
- ws的node服务部署到阿里云生产环境,可以查看外网摄像头,看不了内网摄像头
- Ubuntu linux系统,rk3568主板,遇到non-flv问题,一直出现,是什么原因呢
- 使用flv官方demo地址http://bilibili.github.io/flv.js/demo/ 播放flv视频也会报Failed to execute 'appendBuffer' on 'SourceBuffer': The HTMLMediaElement.error attribute is not null. HOT 1
- 多客户端如何复用流数据呢 HOT 1
- 第一帧和第二帧间隔太长无法正常播放 HOT 1
- 运行时突然EventEmitter报错
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flv.js.