Skip to content

[VLCKit/Swiftfin Player] Audio track index incorrect during transcode #926

@holow29

Description

@holow29

Describe the bug

During transcoding/DirectStreaming using VLCKit/Swiftfin player, selected audio track index will be incorrect, causing no audio to play by default. To get audio to play, it appears that the next track in the index needs to be selected. The server is only sending the one track to begin with.

For example, say a file has two audio tracks: x, y.
The track selection will list: none, x, y.
Currently, 'none' will be selected by default graphically while selected track index sent to the server will indicate 'x'. Server will transcode 'x' and send that back to client. Client appears to have something other than 'x' selected, though, causing no audio to play. To get audio, 'y' needs to be selected graphically and this will actually play the transcoded 'x'.

A workaround for now is here: sy6sy2@029af18 VideoPlayerViewModel.swift changes seem to allow audio to play by default, but I am not sure the implications for DirectPlay.

Might be related to #771

Application version

main eb17300

Where did you install the app from?

None

Device information

Multiple simulators and devices

OS version

iOS 16/17, tvOS 16/17

Jellyfin server version

380c367

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingplaybackThis item is related to content playback

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions