Comments (1)
问题解决:
原因:我这边是有两个video标签,一个是源video标签,一个是展示video标签,源video标签用于创建flv,展示的video标签数据取源video标签的captureStream。
然后我是实时的视频,这个视频有时候在刚开始的10s没有数据,所有我起了一个定时器去重启,然后通过监听了onMediaData事件,当发生重启并且完成后,获取到数据的时候,会重新绑定了一下展示video标签,但是绑定的时候绑定错了,将源video标签通过captureStream创建的MediaSource绑定到它自己的srcObject上面去了,所以视频播放不了。
但是还有一个疑惑就是,关闭了这次播放再重新播放一次,后面的就不在拉流了,并且在flv的souceopen回调函数中一直不触发。
from flv.js.
Related Issues (20)
- flv调用了start但是没有get请求发送,导致视频不能播放 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报错
- flv. js本身有支援身份認證的功能 HOT 2
- 播放器在替换第二个视频的时候报错Uncaught (in promise) DOMException: Failed to read the ‘buffered’ property from ‘SourceBuffer
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.