Hi,
I am fairly new to writting code so appologies if i am missing something silly.
I am trying to create an application using the AxVLCPlugin2 using Visual Studio C# 2010. I have managed to get one video stream (rtsp) working nicely, however i need to have multiple streams at once. I have added multiple "AxVLCPlugin2" from the toolbox however when i try to play more than one i lose another, for example if i set "Video 1" to play it works ok, if i then set "Video 2" to play i lose "Video 1" but "Video 2" is ok.
Heres the code i am using to start 3 streams when a button is clicked:
VideoIcon1.playlist.items.clear();
string Options1 = ":rtsp-caching=250"; //Cache in mS
int StreamNo1 = VideoIcon1.playlist.add("rtsp://192.168.1.153/stream1.sdp", "VideoIcon1", Options1);
VideoIcon1.playlist.playItem(StreamNo1);
VideoIcon2.playlist.items.clear();
string Options2 = ":rtsp-caching=250"; //Cache in mS
int StreamNo2 = VideoIcon2.playlist.add("rtsp://192.168.1.157/stream1.sdp", "VideoIcon2", Options2);
VideoIcon2.playlist.playItem(StreamNo2);
VideoIcon3.playlist.items.clear();
string Options3 = ":rtsp-caching=250"; //Cache in mS
int StreamNo3 = VideoIcon3.playlist.add("rtsp://192.168.1.158/stream1.sdp", "VideoIcon3", Options3);
VideoIcon3.playlist.playItem(StreamNo3);
Does anyone have any ideas where i could be going wrong? Any help would be much appreciated.
Thanks,
Mark