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