public class StringeeVideoView extends StatelessWidget
Widget for rendering local, remote, or video track streams.
| Properties | |
|---|---|
String? |
callIdCall id rendered by this view. |
String? |
trackIdVideo track id rendered by this view. |
bool |
isLocalWhether this view renders the local stream. |
bool? |
isMirrorWhether the video view is mirrored. |
EdgeInsetsGeometry? |
marginOuter margin for the view. |
AlignmentGeometry? |
alignmentAlignment for the view. |
EdgeInsetsGeometry? |
paddingPadding for the overlay child. |
ScalingType? |
scalingTypeScaling mode for the video content. |
double? |
heightView height. |
double? |
widthView width. |
Widget? |
childOptional overlay child widget. |
bool |
forCallWhether this view is for a call stream. |
BorderRadius? |
borderRadiusBorder radius for clipping the video view. |
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. |
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. |