stop
Stops playing media resource.
public void pause() throws RteException;
- Since
- v4.5.0
After you successfully play the URL stream using play, call this method if you want to stop playing it. If you need to pause the playback, call pause.
If you fail to open the URL stream using openWithUrl, call this method first, and then call openWithUrl to reopen the URL.
Call timing
Call this method after openWithUrl.
Restrictions
None.
Exception
If the method call fails, the SDK throws RteException and returns an error message. You need to catch the exception and handle it.