Socket error when trying to add a stream to the server

Topics: Question
Jul 7, 2015 at 10:11 AM
Not sure if anyone else has had this issue? When I add the stream to the server I constantly receive a socket error "An existing connection was forcibly closed by the remote host". If I open the same url using the TestRtspClient test, the stream connects and it correctly streamed.

Works;
TestRtspClient(@"rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov");
Causes a socket error
 server.TryAddMedia(new RtspSource("test", @"rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov"));
           
RtpClient.cs ReceiveData
received = socket.ReceiveFrom(buffer.Array, offset, buffer.Count, SocketFlags.None, ref remote);

Throws se.ErrorCode = ConnectionReset
se "An existing connection was forcibly closed by the remote host"

Many thanks Paul
Coordinator
Jul 8, 2015 at 12:41 PM
You have a networking issues. Thankx and bye.
Marked as answer by juliusfriedman on 7/8/2015 at 4:41 AM