-
Notifications
You must be signed in to change notification settings - Fork 6k
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
not able to override audio tracks for each media inside concatenating media source!! #4698
Comments
Please can you provide reproduction steps, including sample media and details of exactly which of the tracks you're trying to select. The above information isn't sufficient to allow us to recreate what you're doing, or fully understand your problem. |
@ojw28 Hi...since the sample media is available only locally i ll try to explain.
From the Demo App
and, From Documentation
In DemoApplication , audioTrackGroups shows 4 tracks ##Edit: From the sample media source EventLogger
|
I don't think the demo app contains this code. Furthermore, this line looks wrong. You should be passing a renderer index, not a track type:
Please take a more careful look at exactly what the demo app is doing. As an extra hint, I think the extra complexity in your case is that you're also using the Ffmpeg extension. If you look at the logging at the bottom of your post above, you can see there are two audio renderers (renderer 2 and renderer 3), and some of the audio tracks have been mapped to each of them. Hence to ensure the correct audio track gets selected using selection overrides, you'll probably have to set an override for both of them. When using constraints (e.g. |
@ojw28 .. Hi..thanks for the hint....Now instead of using
the subtitleRender Index is returning a wrong index of 1 RendererLog:
|
I don't really understand the question. Why would you expect that it might? As for the following:
This is not correct code, so it's unsurprising that it doesn't work. |
Hi , i am trying to set different audio tracks for each media source inside concatenating media source .
Media source contain four audio tracks.
I have tried this on 2 cases:
As per the docs ->
As per the demo ->
the
trackInfo.getTrackGroups(C.TRACK_TYPE_AUDIO)
is not getting all the audio track group..Both the cases are not working for switching the audio tracks..Kindly help!
The text was updated successfully, but these errors were encountered: