Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way to spawn multiple VLC players? #14

Closed
moeiscool opened this issue Oct 22, 2019 · 12 comments
Closed

Is there a way to spawn multiple VLC players? #14

moeiscool opened this issue Oct 22, 2019 · 12 comments

Comments

@moeiscool
Copy link

moeiscool commented Oct 22, 2019

I am making a client for my CCTV app and am trying to display multiple streams at the same time. Whenever I do though, only the second (or last) one actually loads. The first one just continues to show the placeholder (in this case a loading spinner).

any help would be greatly appreciated, thank you!

faa36933-3f5a-4c35-861f-f509ae0d3dfa

this is the function i use to create my widget

vlcWidget() {
  final _videoViewController = VlcPlayerController();
  return VlcPlayer(
    url: loginEndpoint + _activeStreamUrl,
    controller: _videoViewController,
    placeholder: Center(child: CircularProgressIndicator()),
  );
}
@solid-software
Copy link
Collaborator

It's not working at the moment, so feel free to submit PR if you can get it done.

@moeiscool
Copy link
Author

moeiscool commented Oct 22, 2019 via email

@KsAmJ
Copy link

KsAmJ commented Nov 5, 2019

any updates?? it is really would be nice if done

@pallebone
Copy link

Wow what a great idea, multiple streams on a single view? Yes please. Can we request this as a feature?

@KsAmJ
Copy link

KsAmJ commented Feb 8, 2020 via email

@pallebone
Copy link

Big Oof :(

@moeiscool
Copy link
Author

dear god, does anyone know what can be done to allow multiple streams? I will do the work... I just don't know what to change

@mitchross
Copy link
Contributor

I have multiple streams working. Need to find a clean way to post a PR...TBD

@moeiscool
Copy link
Author

moeiscool commented Feb 8, 2020

I have multiple streams working. Need to find a clean way to post a PR...TBD

omg. does your fork have it now? please say it does. ill take it dirty

@mitchross
Copy link
Contributor

Not yet. i am probably going to make my fork have the ability to dynamically add streams with a button in the UI. Right now its hard coded, which is bad.

Here's how I got it working. https://gist.github.com/mitchross/ad952529a9b906e7d4a150971a739fd0

@pallebone
Copy link

@mitchross Thanks!

@mitchross
Copy link
Contributor

Resolved by #26

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants