startPreviewWithoutSourceType abstract method

Future<void> startPreviewWithoutSourceType()

Enables the local video preview.

You can call this method to enable local video preview. Call this method after the following: Call setupLocalVideo to initialize the local preview. Call enableVideo to enable the video module. The local preview enables the mirror mode by default. After the local video preview is enabled, if you call leaveChannel to exit the channel, the local preview remains until you call stopPreview to disable it.

Returns When the method call succeeds, there is no return value; when fails, the AgoraRtcException exception is thrown. You need to catch the exception and handle it accordingly.

Implementation

Future<void> startPreviewWithoutSourceType();