parseStreamURL method

Future<String> parseStreamURL(
  1. String sourceUrl, {
  2. String? videoId,
  3. Duration bufferedDurationGenerator()?,
})

Get parsed local stream url by passing the original stream url(m3u8) to CBP2pEngine instance.

Implementation

Future<String> parseStreamURL(
    String sourceUrl, {
      String? videoId,
      Duration Function()? bufferedDurationGenerator,
    }) =>
    _instance.parseStreamURL(
      sourceUrl,
      videoId: videoId,
      bufferedDurationGenerator: bufferedDurationGenerator,
    );