flutter_playout
flutter_playout copied to clipboard
[Question] - how to setup the example
Hi there,
I would like to see your plugin in action, so I just cloned the repo and built the example project. It is not clear to me where I should set my stream url
, which will allow to watch the broadcasted video afterwards.
Any hints will be greatly appreciated, thanks!
Under example/lib/video.dart
inside the video player state there is a url
String which is null
. Follow that variable to see how to pass it to the Video
widget. Also setting this value in example app would play your video.
class _VideoPlayoutState extends State<VideoPlayout>
with PlayerObserver, MultiAudioSupport {
final String _url = null;
List<HLSManifestLanguage> _hlsLanguages = List<HLSManifestLanguage>();
@override
void initState() {
super.initState();
Future.delayed(Duration.zero, _getHLSManifestLanguages);
}