ApiVideoMobileLiveStreamPlatform class
Controller of the live streaming
- Inheritance
-
- Object
- PlatformInterface
- ApiVideoMobileLiveStreamPlatform
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
-
buildPreview(
int textureId) → Widget - Builds the preview widget.
-
dispose(
) → Future< void> - Disposes the live stream instance
-
getCameraPosition(
) → Future< CameraPosition> -
getIsMuted(
) → Future< bool> -
getIsStreaming(
) → Future< bool> -
getVideoSize(
) → Future< Size?> -
initialize(
) → Future< int?> - Creates a new live stream instance
-
liveStreamingEventsFor(
int textureId) → Stream< LiveStreamingEvent> -
Returns a Stream of
LiveStreamingEvent
s. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setAudioConfig(
AudioConfig audioConfig) → Future< void> -
setCameraPosition(
CameraPosition cameraPosition) → Future< void> -
setIsMuted(
bool isMuted) → Future< void> -
setVideoConfig(
VideoConfig videoConfig) → Future< void> -
startPreview(
) → Future< void> -
startStreaming(
{required String streamKey, required String url}) → Future< void> -
stopPreview(
) → Future< void> -
stopStreaming(
) → Future< void> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
registerWith(
) → void -
Registers this class as the default instance of
PathProviderPlatform
.