NmLiveKitCallPort class
An NmCallPort whose video tiles render the tracks of room.
- Implemented types
Constructors
-
NmLiveKitCallPort({required Room room, required NmCallInfo activeCall, required Future<
void> onAccept(), required Future<void> onHangUp(), VideoViewFit localFit = VideoViewFit.cover, VideoViewFit remoteFit = VideoViewFit.cover}) -
Creates the port;
onAccept/onHangUpare the app's (connect, publish, disconnect, signalling).
Properties
- activeCall → NmCallInfo
-
Who calls whom.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- localFit → VideoViewFit
-
Fit of the local video tile (1.1.0; default cover).
final
-
onAccept
→ Future<
void> Function() -
Accepts the call.
final
-
onHangUp
→ Future<
void> Function() -
Ends the call.
final
- remoteFit → VideoViewFit
-
Fit of the remote video tile (1.1.0; default cover). DealApp passes
containon wide windows.final - room → Room
-
The connected (or connecting) room.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
accept(
) → Future< void> -
Accepts the incoming call.
override
-
hangUp(
) → Future< void> -
Declines, cancels or ends the call.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
videoTile(
BuildContext context, NmCallTile tile) → Widget -
Video tile builder: the engine's renderer of
tile(a texture, a LiveKit track, or a placeholder).override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited