lexo_ttplayer_decryption 1.0.2
lexo_ttplayer_decryption: ^1.0.2 copied to clipboard
This plugin is developed based on the Flutter plugin of Volcano VOD SDK, supports video decryption
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add lexo_ttplayer_decryptionWith Flutter:
$ flutter pub add lexo_ttplayer_decryptionThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
lexo_ttplayer_decryption: ^1.0.2Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:lexo_ttplayer_decryption/ttsdk_manager.dart';
import 'package:lexo_ttplayer_decryption/vod_player_flutter.dart';
import 'package:lexo_ttplayer_decryption/vod_player_hls.dart';
import 'package:lexo_ttplayer_decryption/vod_player_log.dart';
import 'package:lexo_ttplayer_decryption/vod_player_mediaSource.dart';
import 'package:lexo_ttplayer_decryption/vod_player_preload.dart';
import 'package:lexo_ttplayer_decryption/vod_player_strategy.dart';
import 'package:lexo_ttplayer_decryption/vod_player_subtitle.dart';
import 'package:lexo_ttplayer_decryption/vod_player_typedef.dart';
import 'package:lexo_ttplayer_decryption/vod_player_view.dart';