Discovery automatically runs for 20s when opening the menu and is terminated afterwards. The state is no longer displayed as it is implicit.
Further, this removes the nib object singleton of the renderer menu controller as this way of initialization is discouraged in modern Cocoa.
Like SD, and in fact most VLC object types, RD is not meant for objects
shared by multiple threads (input, vout, aout...). Using a custom
release makes no sense here.
This adds two wrapper classes:
- VLCRendererDiscovery
Wraps libvlc’s vlc_renderer_discovery and allows a delegate
to receive add and delete notifications for renderer items.
- VLCRendererItem
Wraps libvlc’s vlc_renderer_item, is used by VLCRendererDiscovery
to conveniently wrap the vlc_renderer_item to use them easier in
Objective C.
Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>