Cannot get thumbnails from HLS stream with getThumbnail()

Hello,

We have an AndroidTV app with Bitmovin player v3.24.1, which works fine.
Now we are trying to get thumbnails with the new API getThumbnail, but we cannot make it to work. The return value is allways NULL. We tried various public test streams, like:

https://devstreaming-cdn.apple.com/videos/streaming/examples/bipbop_16x9/bipbop_16x9_variant.m3u8

https://bitmovin-a.akamaihd.net/content/MI201109210084_1/m3u8s/f08e80da-bf1d-4e3d-8899-f0f6155f6efa.m3u8

Please advise.

Here is a code snippet:

    private final EventListener<PlayerEvent.Seeked> onSeekedListener = seekedEvent -> {
        Log.d(TAG, "Bitmovin Event onSeeked: " + seekedEvent);
        double at = seekedEvent.getTimestamp();
        Thumbnail thumbnail = null;
        if (mPlayer != null) {
            Source source = mPlayer.getSource();
            if (source != null) {
                thumbnail = source.getThumbnail(at);
            }
        }
        if (thumbnail == null) {
            Log.d(TAG, "getThumbnail: NONE");
        } else {
            Log.d(TAG, "getThumbnailt: " + thumbnail.toString());
        }
    };

Hi @mgeorgiev , thanks for your question. Please find Bitmovin player’s thumbnail support matrix at Bitmovin Docs - Player | Player - Thumbnail Preview Support. The provided HLS sample contents do not contain any of the supported thumbnail formats for Android player SDK.

Please use content with one of the supported thumbnail formats listed in support matrix to get thumbnails.

This topic was automatically closed 60 minutes after the last reply. New replies are no longer allowed.