-
Notifications
You must be signed in to change notification settings - Fork 1.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
Add multiple audio track support in HLS #2728
Comments
@dams92210 are you able to ingest multi track audio from srt at all? I'm asking because I cannot ingest multitrack audio so mediamtx doesn't doesn't convert to hls. This app would solve a big problem for me if it did. Suggestion: let srt multitrack config where I can configure the server to select one audio track and that way devs don't have to touch HLS code. Something like:
Right now, for me, multi track audio does not convert to hls, I get no errors - mediamtx just doesn't recognize audio in the stream, only video, so it doesn't convert. Having the optional audio track would at least let me get something working. |
@gargolito I use ingesting multiple audio tracks audio from SRT with success. But you cannot play it with HLS as only first audio track is recognised. My request is to be able to have a common HLS js player presenting all audio tracks, as that's not possible with this trick. I need to hock the player and switch from one HLS feed to another. |
This has been implemented and is in beta here: #3793 |
* muxer: support multiple audio tracks (bluenviron/mediamtx#2728) * fix support for audio-only multitracks * fix tests and rendition flags * update README
This issue is mentioned in release v1.9.2 🚀 |
Describe the feature
HLS is working great in mediamtx but it lacks support for multiple audio tracks when ingesting RTSP or SRT with multiple audio tracks.
As support for audiotracks increase in javascript HLS video players (videojs, flowplayer, radiant, theoplayer,...) would it be possible to add this feature?
The text was updated successfully, but these errors were encountered: