To try and automatically locate the libvlc native libraries with the default strategies, at the start of application code simply do:
new NativeDiscovery().discover();Custom discovery strategy implementations may of course be used instead of or in addition to the defaults.
An alternate approach is to configure a {@link LibVlcFactory} via{@link LibVlcFactory#discovery(NativeDiscovery)}.
Discovery should only be executed once, and this should be done at the start of the application - before referencing any other vlcj classes.
|
|
|
|