setPlayUrl method

Future<void> setPlayUrl(
  1. String url
)

切换播放的URL

Implementation

Future<void> setPlayUrl(String url) async {
  exec(androidCall: () async {
    await _state?.flutterRtmpPlugin?.setPlayUrl(url);
  }, iosCall: () async {
    await _state?.flutterRtmpPlugin?.init(url);
  });
}