enableInstantMediaRendering abstract method

Future<void> enableInstantMediaRendering()

Enables audio and video frame instant rendering.

After successfully calling this method, the SDK enables the instant frame rendering mode, which can speed up the first frame rendering after the user joins the channel.

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> enableInstantMediaRendering();