stop
Stops media resource playback.
public void stop() throws RteException
- Since
- Available since v4.4.0.
If opening the URL stream with openWithUrl fails, you need to call this method first, then call openWithUrl again to reopen the URL.
Timing
You must call this method after calling openWithUrl.
Exceptions
When the method call fails, the SDK throws an exception and returns the corresponding error information. You need to catch and handle the exception.