getDataSource function

BetterPlayerDataSource getDataSource(
  1. Asset asset
)

Implementation

BetterPlayerDataSource getDataSource(Asset asset) {
  return BetterPlayerDataSource(
      BetterPlayerDataSourceType.network, asset.video.getPlaybackURL(),
      drmConfiguration: getDRMConfiguration(asset));
}