Page 1 of 1

Restreaming RTSP with VLM Broadcast

Posted: 11 Feb 2014 21:41
by soua.hamza
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

Re: Restreaming RTSP with VLM Broadcast

Posted: 12 Feb 2014 21:19
by soua.hamza
i found this in the vlc log : live555 error: no data received in 10s, aborting
so what this mean ?

Re: Restreaming RTSP with VLM Broadcast

Posted: 13 Feb 2014 21:28
by Jean-Baptiste Kempf
Why do you need special code for that and not use the main VLC?