I am working on modyfying our communication serwer to work with vlc rtsp streaming. I am using vlc 2.1.3 on client and server side.
I can't properly setup comunication. Server is struggling to open stream from client.
sample code from server
VlcControl tempVlc2 = new VlcControl();
LocationMedia tempmedia2 = new LocationMedia("rtsp://:49154/" + _avAccepted.SenderId.ToString() + ".sdp");
tempmedia2.AddOption(("#rtp{sdp=rtsp://:49154/" + _avAccepted.SenderId.ToString() + ".sdp"));
tempVlc2.Media = tempmedia2;
tempVlc2.Play();
i make new VlcControl, read the stream and send it to client. There was problem with port binding so we changed port to 49154.
Am i missing something?
Lastly i got connection timeout error.
I think the vlc is trying to make new stream before it start receiving stream from client. How to change it?
Do i need to change ports for every stream on server?