Skip to content

VLCMediaPlayer: add initWithLibrary

There is already initWithLibVLCInstance but it's using an existing player instance, and initWithDrawable:options: which initialize a new libvlc instance.

Initializing from an existing VLCLibrary allows sharing the VLCLibrary among multiple VLCMediaPLayer and setting up logger callback on an instance basis before allocating the VLCMediaPlayer.

Merge request reports