Restreaming RTSP with VLM Broadcast

Discussion about configuration and usage of VLM (a stream scheduler) within VLC.
soua.hamza
New Cone
New Cone
Posts: 5
Joined: 11 Feb 2014 20:56

Restreaming RTSP with VLM Broadcast

Postby soua.hamza » 11 Feb 2014 21:41

Hi,

pls i want to restraem an rtsp channel live with vlm Broadcast but the rtsp link output not working in all vlc client when i tested it . it's working in vlc 2.1.1 on windows but when i play it with vlc 2.0.8-0ubuntu0.12.04.1 in ubuntu and other VLC in MACOSX Lion the vlc show me 00:00 with black screan then stay 4 to 5 second like that then stoped (this is happening in external network when i installed my app into an external server). (but when i tested it localy it worked).

i have libvlc-dev 2.0.8-0ubuntu0.12.04.1 installed.

This is my basic code :

libvlc_instance_t *vlcInstance;

vlcInstance = libvlc_new (0, NULL);

char * vlcOptions[] = {
"--realrtsp-caching=100",
"--sout-all",
"--sout-keep",
"--sout-mux-caching=100",
"--network-caching",
"--live-caching=100"};

libvlc_vlm_add_broadcast (vlcInstance,
"test",
"rtsp input",
"#rtp{sdp=rtsp://@:1111/test}",
sizeof(vlcOptions)/ sizeof(vlcOptions[0]),
vlcOptions,
1,
0);

libvlc_vlm_play_media (vlcInstance,"test");

can you help me pls , i think there is bug in VLM

soua.hamza
New Cone
New Cone
Posts: 5
Joined: 11 Feb 2014 20:56

Re: Restreaming RTSP with VLM Broadcast

Postby soua.hamza » 12 Feb 2014 21:19

i found this in the vlc log : live555 error: no data received in 10s, aborting
so what this mean ?

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: Restreaming RTSP with VLM Broadcast

Postby Jean-Baptiste Kempf » 13 Feb 2014 21:28

Why do you need special code for that and not use the main VLC?
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 “VLM”

Who is online

Users browsing this forum: No registered users and 26 guests