MethodChannelIvsBroadcaster class

A platform-specific implementation of the IvsBroadcasterPlatform using method channels. This class communicates with the native platform (iOS/Android) to manage broadcasting functionalities like camera control, permissions, and streaming setup.

Inheritance

Properties

eventChannel EventChannel
The event channel used to receive real-time broadcasting data from the native platform.
final
eventStream StreamSubscription?
A subscription to the event stream, listening for real-time data and errors during broadcasting.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
methodChannel MethodChannel
The method channel used to communicate with the native platform.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

captureVideo(int seconds) Future<void>
override
changeCamera(CameraType cameraType) Future<void>
Switches the camera to the specified CameraType.
override
getAvailableCameraLens() Future<List<IOSCameraLens>>
override
getZoomFactor() Future<ZoomFactor>
override
isMuted() Future<bool>
To Check if currently Muted or not
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
requestPermissions() Future<bool>
Requests camera and microphone permissions necessary for broadcasting.
override
setFocusMode(FocusMode focusMode) Future<bool?>
override
setFocusPoint(double x, double y) Future<bool?>
override
startBroadcast() Future<void>
Starts the broadcast.
override
startPreview({required String imgset, required String streamKey, IvsQuality quality = IvsQuality.q720, CameraType cameraType = CameraType.BACK, void onData(dynamic)?, void onError(dynamic)?}) Future<void>
Starts the camera preview for the broadcast with the specified settings.
override
stopBroadcast() Future<void>
Stops the ongoing broadcast.
override
stopVideoCapture() Future<void>
override
toggleMute() Future<void>
Toggle Mute and Unmute the microphone
override
toString() String
A string representation of this object.
inherited
updateCameraLens(IOSCameraLens cameraLens) Future<String?>
To Update CameraLens to the specified IOSCameraLens
override
zoomCamera(double zoomValue) Future
Zooms the camera to the specified zoom level.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited