video_player_rtmp_ext 0.0.2 video_player_rtmp_ext: ^0.0.2 copied to clipboard
A player supporting rtmp&rtmps live video
video_player_rtmp_ext #
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;