Comments (3)
比如播放当前视频可以设置停止其他所有播放
fijkplayer 中目前没有这个功能,谢谢关注
from fijkplayer.
develop 分支已经增加全部播放器支持。
用法参考单元测试
test("allInstance", () async {
FijkPlayer player1 = FijkPlayer();
FijkPlayer player2 = FijkPlayer();
expect(FijkPlayer.all.length, 0);
expect(player1, isNotNull);
expect(player2, isNotNull);
int id1 = await player1.id;
expect(id1, player1.idSync);
int id2 = await player2.id;
expect(id2, player2.idSync);
expect(id1 != id2, true);
expect(FijkPlayer.all.length, 2);
await player1.release();
expect(FijkPlayer.all.length, 1);
await player2.release();
expect(FijkPlayer.all.length, 0);
});
FijkPlayer.all.where((p) => p.idSync != id1).forEach((p) async{
// do what you want.
// for example, pause all player expect player1
});
from fijkplayer.
此更新发布在 0.1.3 版本中
from fijkplayer.
Related Issues (20)
- [BUG] Permission denied HOT 1
- 缓存功能怎么配置?
- 是否支持ws协议的播放链接
- 最新版本的 Flutter, 通过纹理方式性能上优于 PlatformView 的接入方式吗?
- 是否支持网络摄像头的视频流显示? HOT 1
- .
- [BUG]iOS端混编Flutter无法编译成功
- We should be able to hide media controls HOT 1
- ios可以设置为生成的是动态库吗
- Prevent other audios from pausing HOT 3
- rtmps 支持吗? HOT 1
- [BUG]player.onBufferPosUpdate
- aar导入本地项目后找不到
- Installing BIJKPlayer (0.7.16) 一直卡着。不动
- 您好!我功能调试完了,我怎么关闭日志打印呢!player好像没找到打印日志的开关,我release包中仍然打印了url HOT 1
- h265
- [BUG] release 模式下,video 白屏,audio 正常,已关闭混淆 HOT 1
- [BUG]使用PageView组件滑动时视频会出现闪动 HOT 2
- [HLS] stream a youtube livestream video by hls HOT 1
- RTSP enable network caching to reduce live camera latency
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 fijkplayer.