Libvlc module - user interaction

This forum is about all development around libVLC.
indio
New Cone
New Cone
Posts: 5
Joined: 11 Nov 2016 15:52

Libvlc module - user interaction

Postby indio » 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.

Rémi Denis-Courmont
Developer
Developer
Posts: 15268
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Libvlc module - user interaction

Postby Rémi Denis-Courmont » 22 Nov 2016 23:16

Dialog callbacks are available in LibVLC 3.0 onward.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

indio
New Cone
New Cone
Posts: 5
Joined: 11 Nov 2016 15:52

Re: Libvlc module - user interaction

Postby indio » 23 Nov 2016 10:22

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

Rémi Denis-Courmont
Developer
Developer
Posts: 15268
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Libvlc module - user interaction

Postby Rémi Denis-Courmont » 23 Nov 2016 18:20

There are no parameters for that purpose.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 10 guests