예제 #1
0
        static void Main(string[] args)
        {
            //String url = "rtsp://192.168.1.128/ch1.h264";    // IPS
            //String url = "rtsp://192.168.1.125/onvif-media/media.amp?profile=quality_h264"; // Axis
            //String url = " rtsp://192.168.1.124/rtsp_tunnel?h26x=4&line=1&inst=1"; // Bosch

            String url = "rtsp://192.168.1.121:8554/h264";  // Raspberry Pi RPOS using Live555
            //String url = "rtsp://127.0.0.1:8554/h264ESVideoTest"; // Live555 Cygwin

            RTSPClient c = new RTSPClient(url);

            // Hack - never ends
            while (true)
            {
                Thread.Sleep(1000);
            }
        }
예제 #2
0
        static void Main(string[] args)
        {
            //String url = "rtsp://192.168.1.128/ch1.h264";    // IPS
            //String url = "rtsp://192.168.1.125/onvif-media/media.amp?profile=quality_h264"; // Axis
            //String url = " rtsp://192.168.1.124/rtsp_tunnel?h26x=4&line=1&inst=1"; // Bosch

            String url = "rtsp://192.168.1.121:8554/h264";  // Raspberry Pi RPOS using Live555
            //String url = "rtsp://127.0.0.1:8554/h264ESVideoTest"; // Live555 Cygwin

            RTSPClient c = new RTSPClient(url);

            // Hack - never ends
            while (true)
            {
                Thread.Sleep(1000);
            }
        }