reset abstract method

Future<void> reset()

Clear all the status in this media data publisher, so that it can be restarted next time.

Available since: 2.17.0 Description: When you need to re-publish stream and do not need to continue publishing from the previous publish queue, you can call this function to reset this media data publisher's state. Use cases: Often used in server-side publishing stream scenarios, such as AI classrooms. Caution: When the developer calls logoutRoom, the state is automatically reset.

Implementation

Future<void> reset();