changing audio output

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
mc007
New Cone
New Cone
Posts: 3
Joined: 13 Sep 2016 09:27

changing audio output

Postby mc007 » 13 Sep 2016 09:32

Hi,

is it possible to change the audio device on the fly via web-interface ? I tried many things but it doesn't seem to work. I checked the LUA source and I see adev is commented out : https://github.com/videolan/vlc/blob/24 ... i.lua#L585

I actually want to play different sources on different outputs simultan, if that is possible at all. Whilst at it, is there a sort of protocol reference? Looking at the docs I feel somehow lost and still don't know what I have to send....

thanks a lot,
g

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: changing audio output

Postby Jean-Baptiste Kempf » 28 Sep 2016 23:26

No, it is not possible, for security reasons.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

mc007
New Cone
New Cone
Posts: 3
Joined: 13 Sep 2016 09:27

Re: changing audio output

Postby mc007 » 04 Oct 2016 23:00

ah, alright. Thanks, got it done via libvlc after all, exposing the whole api via node-js (see npm vlc-ffi)

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: changing audio output

Postby Jean-Baptiste Kempf » 27 Dec 2016 11:57

ah, alright. Thanks, got it done via libvlc after all, exposing the whole api via node-js (see npm vlc-ffi)
What is the context? How did you use VLC with node?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 26 guests