MesiboCall class
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
changeVideoFormat(
int width, int height, int fps) → Future< bool> - camera capture format; the camera restarts with the closest one it supports
-
getStats(
) → Future< MesiboCallStatsFlutter?> - Statistics of the active call, null if there is none or it is not connected yet. Bitrates are averages since the previous call of getStats, so call it periodically (for example every second); the first call reports 0 for them.
-
isAnyCallInProgress(
) → Future< bool> -
setAudioMaxBitrate(
int kbps) → Future< bool> - max audio bitrate in kbps, 0 for no limit
-
setCallDefaults(
MesiboCallDefaults defaults) → Future< void> - what the calls started from now on (outgoing and incoming) start with
-
setListener(
MesiboCallIncomingListener listener) → void -
setVideoMaxBitrate(
int kbps) → Future< bool> - max video bitrate in kbps, 0 for no limit
-
setVideoMaxFps(
int fps) → Future< bool> - max video frame rate, 0 for no limit
-
setVideoQuality(
int quality) → Future< bool> - one of MESIBOCALL_VIDEOQUALITY_*: sets the max video bitrate and frame rate
-
setVideoScaleDown(
double scaleDown) → Future< bool> - sends the camera resolution divided by this: 1 is full, 2 is half width and height
-
showCallInProgress(
) → Future< bool> - brings the call screen of the call in progress back
Constants
- MESIBOCALL_VIDEOQUALITY_AUTO → const int
- MESIBOCALL_VIDEOQUALITY_HIGH → const int
- MESIBOCALL_VIDEOQUALITY_LOW → const int
- MESIBOCALL_VIDEOQUALITY_MEDIUM → const int