VideoPlayerController _videoPlayerController1;
ChewieController chewieController;
@override initState() {
super.initState();
played = true;
getSipCam(uu).then((presipcam) async {
setState(() {
_cam_data = jsonDecode(presipcam)[0];
_cam_url = _cam_data['cam_url'];
_videoPlayerController1 =
VideoPlayerController.network(_cam_url);
});
});
_initRenderers();
}