destroy abstract method

Future<void> destroy()

Destroys the engine instance created by RTCVideo.createRTCVideo and release all related resources.

Notes:

  • Call this API after all business scenarios related to the RTCVideo instance that need to be destroyed have been completed.
  • Calling this API will destroy all memory associated with this RTCVideo instance and stops any interaction with the media server.

Implementation

Future<void> destroy();