flutter - 使用颤振在视频播放器中显示 kinesis 流视频
问题描述
我想在播放时播放 kinesis 流视频我使用这个依赖video_player
_controller = VideoPlayerController.network(
'_controller = VideoPlayerController.network(
'arn:aws:kinesisvideo:us-east-1:xxxxx:channel/xxxxxx/1632736797abc')
..initialize().then((_) {
// Ensure the first frame is shown after the video is initialized, even before the play button has been pressed.
setState(() {
_controller.play();
});
});')
..initialize().then((_) {
// Ensure the first frame is shown after the video is initialized, even before the play button has been pressed.
setState(() {
_controller.play();
});
});
解决方案
推荐阅读
- mysql - Mysql 5.1 在加入选择结果时不使用索引
- c# - 如何验证 C#/.NET COM 对象实际上是 COM 对象?
- android - 关于使用 recv 系统调用的 ARM 程序集
- c# - 我不能多次使用 LiveCharts 库数据类型属性
- java - 涉及排序参数时,Spring数据JPA实体图无法按预期工作
- python-3.x - 使用 --onefile 选项添加文本文件
- python - Obtain text from a form/field of another application
- python - 熊猫:删除重复的日期但保留最后一个
- node.js - How do you access the directory that your module is in?
- laravel - Laravel route view name declaration not showing up