isLiveStream method
Flag which determines whenever player is playing live data source.
Implementation
bool isLiveStream() {
if (_pipFlutterPlayerDataSource == null) {
PipFlutterPlayerUtils.log("The data source has not been initialized");
throw StateError("The data source has not been initialized");
}
return _pipFlutterPlayerDataSource!.liveStream == true;
}