[vlc-devel] [PATCH 0/2] Initial AirPlay target support

Rémi Denis-Courmont remi at remlab.net
Wed Feb 29 18:05:35 CET 2012


Le mardi 28 février 2012 18:20:19 Brendon Justin, vous avez écrit :
> Hi,
> 
> > Hello,
> > 
> > In general, I do not like to expose very specific functionality through
> > Lua.
> > 
> > This is counter productive as the Lua code will be tightly coupled with
> > the native back-end in any case. So we end up having to maintain an extra
> > layer of abstraction with almost zero benefit.
> 
> I'm not sure what you mean.  Are you talking about the Bonjour lib I
> made for the LUA code?

Yes. This has nothing to do with VLC. You could write the same Lua functions 
as a Lua module outside VLC. So this does not belong in the VLC Lua plugin.

> > Also, we probably do not want to provide backward compatibility for such
> > specific stuff. And so it should not be exposed to Lua scripts, otherwise
> > people might use it.
> 
> Would a generic Zeroconf interface for LUA address your concern?

Having MacOS-specific Lua functions looks highly suboptimal, but I can live 
with it.

-- 
Rémi Denis-Courmont
http://www.remlab.net/
http://fi.linkedin.com/in/remidenis



More information about the vlc-devel mailing list