Retrieve stream's "real" address

This forum is about all development around libVLC.
alex99
New Cone
New Cone
Posts: 2
Joined: 28 Jul 2009 11:24

Retrieve stream's "real" address

Postby alex99 » 21 Oct 2009 11:05

Hi all.
I have some problems in playing of some streams with libvlc.
F.e. http://deluxemusic.eviscobroadcast.com/ ... 14&ext=wvx can be viewed in VLC player normally. But when I put that url in libvlc_media_new as psz_mrl parameter

libvlc_media_new (libvlc_instance_t *p_instance, const char *psz_mrl, libvlc_exception_t *p_e)

then I am not be able to see video.
Tried with different wrappers (both for C# and Delphi). The same result.
But as I can see in VLC (Playlist/ Show playlist click Deluxe music and right click / Information) the "real" stream address is
mms://ha-lb01.cdn.eviscomedia.com/deluxemusictv_video
When I put that as psz_mrl parameter then I can see video properly.

So how one can get/retrieve that address from url? Or how to play those kind of streams?
Otherwise I had to put in VLC and look in information to see its address.

Underground78
Blank Cone
Blank Cone
Posts: 16
Joined: 14 Sep 2009 11:57
VLC version: 1.1.9
Operating System: Windows
Location: France
Contact:

Re: Retrieve stream's "real" address

Postby Underground78 » 21 Oct 2009 22:15

Hello,

I think you have a quite similar problem than mine. I think this topic may help you. In fact you should probably use the events libvlc_MediaSubItemAdd and libvlc_MediaPlayerEndReached and the fonction libvlc_media_subitems to get the mrl parsed from the playlist.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 63 guests