Libvlc module - user interaction
Posted: 22 Nov 2016 18:02
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.
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.