ftl_player 2.0.0 copy "ftl_player: ^2.0.0" to clipboard
ftl_player: ^2.0.0 copied to clipboard

flutter tx live player.

ftl_player #

基于TXLiteAVSDK_Player 腾讯播放器封装flutter sdk 目前支持直播,sdk只提供核心功能,具体功能需要自定义,example里有一套附带的ui。

左iOS 右安卓

pub地址 https://pub.dev/packages/ftl_player

Image text

Image text

简单使用


 @override
  void initState() {
    super.initState();
    FTLPlayer.init().then((value){
      this.livePlayerController = value;
      this.setState(() {});
    });
  }

Container(height: 200, child: FTLPlayerWidget(this.livePlayerController)),

详细使用 https://github.com/tion126/flutter_live

可以自定义修改UI,也可以播放其他平台的直播不一定要腾讯的。

目前已知问题

1.安卓需要设置hls格式才可正常播放

2
likes
130
points
20
downloads

Publisher

unverified uploader

Weekly Downloads

flutter tx live player.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on ftl_player