Page 1 of 1

Libvlc module - user interaction

Posted: 22 Nov 2016 18:02
by indio
Hi all,
I'm using libvlc 2.2.4-3-g2fc51dd for macosx to develop a media player prototype which should able to play encrypted streams.

At the moment i'm trying to access a clean stream provided by an axis camera. Vlc is able to reproduce the stream, when it get WWW-Authenticate it trigger the a GUI asking for RTSP user and pass.

How can i obtain the same using libVLC? i triyed many modules but probably i'm missing something "--demux=h264,live555", "--access=http,none", etc ...

if i use:
libvlc_media_add_option(_media->core(),":rtsp-user=pippo");
libvlc_media_add_option(_media->core(),":rtsp-pwd=pluto");
I can access the stream but i'd like to trigger the GUI and understand how the process continue.

Re: Libvlc module - user interaction

Posted: 22 Nov 2016 23:16
by Rémi Denis-Courmont
Dialog callbacks are available in LibVLC 3.0 onward.

Re: Libvlc module - user interaction

Posted: 23 Nov 2016 10:22
by indio
Thank you,
but as long as i got the sdk from VLC osx app (Version 2.2.4 Weatherwax (Intel 64bit)), and VLC trigger a gui when an RTSP Authentication is required, what parameter do i have to pass to my libvlc based app in order to trigger the same GUI?
Indio

Re: Libvlc module - user interaction

Posted: 23 Nov 2016 18:20
by Rémi Denis-Courmont
There are no parameters for that purpose.