unloadSrc abstract method

Future<void> unloadSrc(
  1. String src
)

Unloads media resources that are preloaded.

This method cannot release the media resource being played.

  • src The URL of the media resource.

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> unloadSrc(String src);