AgoraVideoView
The AgoraVideoView Class for rendering local and remote video.
class AgoraVideoView extends StatefulWidget { const AgoraVideoView({ Key? key, required this.controller, }) : super(key: key); @internal final VideoViewControllerBase controller; @override State<AgoraVideoView> createState() => AgoraVideoViewState(); }
Attributes
- key
- The identifier of the
Widget
. See the description of the key object in the official Flutter documentation. - controller
- Controls the type of video to render:
- If you want to render video of the RtcEngine, see VideoViewController.
- If you want to render video of the media player, see MediaPlayerController.