video_player_rtmp_ext 0.0.2 copy "video_player_rtmp_ext: ^0.0.2" to clipboard
video_player_rtmp_ext: ^0.0.2 copied to clipboard

outdated

A player supporting rtmp&rtmps live video

video_player_rtmp_ext #

pub

A player supporting rtmp&rtmps live video

Getting Started #

video_player_rtmp_ext: ^last_version

1.Simple example #

  • Initialize controller
IJKPlayerController controller = IJKPlayerController.network("http://devimages.apple.com.edgekey.net/streaming/examples/bipbop_4x3/gear2/prog_index.m3u8");
  • Using widgets
VideoPlayerRtmpExtWidget(
   controller: controller,
   viewCreated: (IJKPlayerController _){
       controller.play();
   },
)

2. Controller API #

  • Start
controller.play();
  • Pause
controller.pause();
  • Stop
controller.stop();
  • Judge whether it is playing
final isPlaying = await controller.isPlaying;