parse static method
Parse playlist based on type of stream.
Implementation
static Future<BetterPlayerAsmsDataHolder> parse(
String data, String masterPlaylistUrl) async {
return isDataSourceDash(masterPlaylistUrl)
? BetterPlayerDashUtils.parse(data, masterPlaylistUrl)
: BetterPlayerHlsUtils.parse(data, masterPlaylistUrl);
}