open abstract method
Opens the media resource.
This method is called asynchronously.
urlThe path of the media file. Both local path and online path are supported.startPosThe starting position (ms) for playback. Default value is 0.
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> open({required String url, required int startPos});