Beginner's Error, I think

Topics: Question
Jul 27, 2016 at 9:46 PM
Edited Jul 27, 2016 at 9:48 PM
Hi!

I'm running VLC player on Windows against the RTSP server example below:
            Media.Rtsp.RtspServer server = new Media.Rtsp.RtspServer();

            Media.Rtsp.Server.MediaTypes.RtspSource source = new
                Media.Rtsp.Server.MediaTypes.RtspSource("AggregateTest",
                "rtsp://admin:AVT7100@XXX.XXX.XXX.XXX/trackID=2&vehicleID=Vehicle7");

            source.ForceTCP = false;
            server.TryAddMedia(source);
            server.Start();

            while (true)
            {
                Thread.Sleep(1 * 5 * 1000);
                Console.WriteLine($"State: { server.MediaStreams.FirstOrDefault().State }\n"+
                    $"Received: { server.TotalRtspBytesRecieved}\n"+
                    $"Streamed: { server.TotalStreamedBytes} \n");
                    }
            }   
I've validated that source is up and running by connecting to it directly with VLC. The media server connects to the source, but VLC times out when trying to connect to the media server using "rtsp://xxx.xxx.xxx.xxx/live/AggregateTest".

There's clearly activity between the VLC and the media server- at the very least, OPTIONS messages are being sent and replied to. I'm new to RTSP and I'm sure this is something obvious, but I don't see it. I've uploaded the Wireshark logs to [https://drive.google.com/open?id=0B9k33yTlXLuTVmNDV2NEYTF2MU0](Google Drive)- can anyone take a look and tell me what I'm missing?

Thanks!
Coordinator
Jul 28, 2016 at 12:30 PM
I'll take a look in a few hours, is camera accessible from the open Internet? If not can you make it so?
Marked as answer by juliusfriedman on 7/28/2016 at 4:30 AM
Jul 28, 2016 at 6:18 PM
I've sent you the IP and login info for the camera. Thanks!
Coordinator
Jul 28, 2016 at 6:36 PM
Yes, I have replied.

Let me know how I can help further :)
Marked as answer by juliusfriedman on 7/28/2016 at 11:32 AM