getDuration method

dynamic getDuration()

获取总的时长

Implementation

getDuration() async {
  return await _mMethodChannelRtmpPlayer?.getDuration();
}