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

Select Subtitle/Audio Track #4

Open
be6ana opened this issue Jan 4, 2022 · 1 comment
Open

Select Subtitle/Audio Track #4

be6ana opened this issue Jan 4, 2022 · 1 comment

Comments

@be6ana
Copy link

be6ana commented Jan 4, 2022

Hi,
great fork. I just need to get work select audio/subtitle stream track. But if i use

mMediaPlayer.getSpuTracks() is null or mMediaPlayer.getAudioTracksCount() is "-1" i got every time "null". Do you know why its null ?

Can you help me with this ?

@masterwok
Copy link
Owner

Thank you! Sorry for the slow response. Unfortunately, it's been a really long time since I've worked with libVLC and I'm no longer familiar with the API.

However, I do have this repository here. Within it is a sample project that leverages this library. Maybe you could try pulling that down and running the sample project and debugging from there? Using that as a development harness might give you some insight into what could be going on.

Another thing that might help is checking out the VLC documentation or their repositories. You might be able to search through their issue tracker as well for developers experiencing similar issues.

Also, if you're going to use this library I would recommend updating libVLC and building the project as outlined in the README as this is somewhat outdated.

Best of luck, I hope that was somewhat helpful :)

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

2 participants