weixin_39620653 2020-11-22 02:49
浏览 0

More robust automatic handling of sub-items

YouTube have changed something...

vlc 2.1.0-git can still play videos from YouTube correctly.

However vlcj + libvlc 2.1.0-git no longer works properly.

Perhaps this is related to sub-item handling somehow.

该提问来源于开源项目:caprica/vlcj

  • 写回答

8条回答 默认 最新

  • weixin_39620653 2020-11-22 02:49
    关注

    The lua script used by vlc "plays" to create a sub-item list - this fails to find a usable MRL for playback, so the same lua script falls back to a 'secondary' API.

    This secondary API then does actually manage to find a usable MRL. The problem is that this is created as a sub-item of the initial sub-item, and vlcj by default is not set up to handle this 'extra' level of nested sub-items.

    It is still possible for this to work in a vlcj application, but right now the application itself would need to handle these nested sub-items - instead of relying on mediaPlayer.setPlaySubItems(true).

    The vlcj default media player implementation needs to be refactored to identify and play nested sub-items.

    Alternatively, the vlc lua script could be changed - but even so, vlcj should be able to handle nested sub-items.

    评论

报告相同问题?