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).
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).
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 B.
This works but it take long time.(when I watched )
Is there a different way to do it?
And thinks a lot