Jellyfin Forum
API HSL stream without remuxed audio - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+---- Forum: Networking & Access (https://forum.jellyfin.org/f-networking-access)
+---- Thread: API HSL stream without remuxed audio (/t-api-hsl-stream-without-remuxed-audio)



API HSL stream without remuxed audio - Rhiss - 2025-09-12

I'm getting an hls stream with these parameters

Code:
    
    var url = service.host + '/Videos/' + id + '/master.m3u8';

    var params = paramsToString({
        api_key: service.access_token,
        VideoCodec: 'h264',
        VideoCodec: 'av1,h264,vp9',
        // AudioCodec: 'aac,opus,flac',
        AudioCodec: 'mp3',
        MediaSourceId: id,
        RequireAvc: false,
        EnableAudioVbrEncoding: true,
        TranscodingMaxAudioChannels: 2,
        AudioStreamIndex: 1,
        SegmentContainer: 'mp4',
        MinSegments:1,
        BreakOnNonKeyFrames: true,
        'hevc-level': 120,
        'hevc-videobitdepth': 8
    })

But I'm getting this error from my client app when fetching the stream

Code:
09:44:52.153: fMP4-MAP-V [I]  Video: h264 (avc1 / 0x31637661), none, 1920x1080
09:44:52.153: fMP4-MAP-V [E]  Stream contains muxed audio (not supported)

Am I missing something? Shouldn't the AudioStreamIndex=1 be returning the non-remuxed version of the audio already?