Skip to content

Have you tried texture? #30

Description

@lntls
        libvlc = new LibVLC(context, options);
        mediaPlayer = new MediaPlayer(libvlc);
        IVLCVout ivlcVout = mediaPlayer.getVLCVout();
        surface = new Surface(textureEntry.surfaceTexture());
        ivlcVout.setVideoSurface(surface, null);
        ivlcVout.attachViews();
        final Media media = new Media(libvlc, path);
        mediaPlayer.setMedia(media);
        media.release();

I tried but it doesn't show the video in android

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions