Suggestions

close search

StringeeVideoView class

This widget is used to render the local and remote streams.


Summary


Constructors
StringeeVideoView(String callId, bool isLocal,
{Key key,
bool isOverlay,
bool isMirror,
Color color,
double height,
double width,
EdgeInsetsGeometry margin,
AlignmentGeometry alignment,
EdgeInsetsGeometry padding,
Widget child,
ScalingType scalingType
})
Properties

key → Key

callId → String

isLocal → bool

isOverlay → bool

isMirror → Color

height → double

width → double

margin → EdgeInsetsGeometry

alignment → AlignmentGeometry

padding → EdgeInsetsGeometry

child → Widget

scalingType → ScalingType

Constructors


StringeeVideoView(String callId, bool isLocal,
{Key key,
bool isOverlay,
bool isMirror,
Color color,
double height,
double width,
EdgeInsetsGeometry margin,
AlignmentGeometry alignment,
EdgeInsetsGeometry padding,
Widget child,
ScalingType scalingType
})
Create a new StringeeVideoView widget.

Properties


key → Key
Controls how one widget replaces another widget in the tree.
callId → String
It's the unique identification of the call on Stringee system.
isLocal → bool
Check whether the stream is local or remote:
- true - Local stream.
- false - Remote stream.
isOverlay → bool
Check whether widget in android overlaps the other:
- true - overlaps the other.
- false - not overlaps the other.
Defauit is false.
isMirror → bool
Check whether stream in android like a mirror:
- true - like a mirror.
- false - not like a mirror.
Defauit is false.
color → Color
The color to paint behind StringeeVideoView widget.
height → double
It's height of widget.
width → double
It's width of widget.
margin → EdgeInsetsGeometry
Empty space to surround StringeeVideoView widget.
alignment → AlignmentGeometry
Align StringeeVideoView widget in it's parent.
padding → EdgeInsetsGeometry
Empty space to surround StringeeVideoView'child.
child → Widget
The child widget in StringeeVideoView widget.
scalingType → ScalingType
Scaling type of stream, by default is fit.