start static method

Future<void> start({
  1. String? hlsUrl,
})

Starts the HLS playback with the specified hlsUrl. parameters:

hlsUrl - hls stream m3u8 url to be played Refer Start HLS Player

Implementation

static Future<void> start({String? hlsUrl}) async {
  await PlatformService.invokeMethod(PlatformMethod.start,
      arguments: {"hls_url": hlsUrl});
}