I beg you help me!!!!! :)
Posted: 12 Nov 2010 22:45
Hi
First forgive me for my bad English
I am trying to make a simple program with libvlc to boardcast a Tv channel from different media sources (camera video).
Program desciption
When you open this program you can see two different videos (which are being played) one of them is being streaming out (I will call it A and the other one B) to rtp address ADR and when you click on B, you stop streaming out A and you start streaming out B to the same rtp address ADR. And then when you click on A you stop streaming B and you start streaming out B to rtp ADR(I think that you understand the idea).
Algo
To do this I start by stopping playing A and B, I make two new libvlc_media_t and I use libvlc_media_add_option to add stream command to the video that i want to stream out.
This works but it take long time.(when I watched it)
Is there a different way to do it?
And thinks a lot
First forgive me for my bad English
I am trying to make a simple program with libvlc to boardcast a Tv channel from different media sources (camera video).
Program desciption
When you open this program you can see two different videos (which are being played) one of them is being streaming out (I will call it A and the other one B) to rtp address ADR and when you click on B, you stop streaming out A and you start streaming out B to the same rtp address ADR. And then when you click on A you stop streaming B and you start streaming out B to rtp ADR(I think that you understand the idea).
Algo
To do this I start by stopping playing A and B, I make two new libvlc_media_t and I use libvlc_media_add_option to add stream command to the video that i want to stream out.
This works but it take long time.(when I watched it)
Is there a different way to do it?
And thinks a lot