Suggestions

close search

StringeeVideoView

public class StringeeVideoView extends StatelessWidget



Widget for rendering local, remote, or video track streams.



Summary


Constructors
Constructor StringeeVideoView(String? callId, bool isLocal, {Key? key, bool? isMirror, double? height, double? width, EdgeInsetsGeometry? margin, AlignmentGeometry? alignment, EdgeInsetsGeometry? padding, Widget? child, ScalingType? scalingType, BorderRadius? borderRadius})

Creates a video view for a call stream.

Constructor StringeeVideoView.forTrack(String? trackId, {Key? key, bool? isMirror, double? height, double? width, EdgeInsetsGeometry? margin, AlignmentGeometry? alignment, EdgeInsetsGeometry? padding, Widget? child, ScalingType? scalingType, BorderRadius? borderRadius})

Creates a video view for a video track.

Properties
String? callId

Call id rendered by this view.

String? trackId

Video track id rendered by this view.

bool isLocal

Whether this view renders the local stream.

bool? isMirror

Whether the video view is mirrored.

EdgeInsetsGeometry? margin

Outer margin for the view.

AlignmentGeometry? alignment

Alignment for the view.

EdgeInsetsGeometry? padding

Padding for the overlay child.

ScalingType? scalingType

Scaling mode for the video content.

double? height

View height.

double? width

View width.

Widget? child

Optional overlay child widget.

bool forCall

Whether this view is for a call stream.

BorderRadius? borderRadius

Border radius for clipping the video view.

Constructors


StringeeVideoView(String? callId, bool isLocal, {Key? key, bool? isMirror, double? height, double? width, EdgeInsetsGeometry? margin, AlignmentGeometry? alignment, EdgeInsetsGeometry? padding, Widget? child, ScalingType? scalingType, BorderRadius? borderRadius})
Creates a video view for a call stream.
StringeeVideoView.forTrack(String? trackId, {Key? key, bool? isMirror, double? height, double? width, EdgeInsetsGeometry? margin, AlignmentGeometry? alignment, EdgeInsetsGeometry? padding, Widget? child, ScalingType? scalingType, BorderRadius? borderRadius})
Creates a video view for a video track.

Properties


callId
Call id rendered by this view.
trackId
Video track id rendered by this view.
isLocal
Whether this view renders the local stream.
isMirror
Whether the video view is mirrored.
margin
Outer margin for the view.
alignment
Alignment for the view.
padding
Padding for the overlay child.
scalingType
Scaling mode for the video content.
height
View height.
width
View width.
child
Optional overlay child widget.
forCall
Whether this view is for a call stream.
borderRadius
Border radius for clipping the video view.