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

How MediaExtractor switch trackIndex from video to audio? #94

Open
andev009 opened this issue Feb 8, 2021 · 0 comments
Open

How MediaExtractor switch trackIndex from video to audio? #94

andev009 opened this issue Feb 8, 2021 · 0 comments

Comments

@andev009
Copy link

andev009 commented Feb 8, 2021

Before runPipelines, called selectTrack for video and audio, but for VideoComposer and AudioComposer 's stepPipeline ,
use mediaExtractor.getSampleTrackIndex to get current TrackIndex, the value will from 1 to 0, or from 0 to 1, But I can't find
where to switch the TrackIndex, where to switch TrackIndex?

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

1 participant