gst_rtsp_server_attach (server, NULL);
/* start serving */
+ g_print ("stream ready at rtsp://127.0.0.1:8554/test\n");
g_main_loop_run (loop);
return 0;
gst_rtsp_server_attach (server, NULL);
/* start serving */
+ g_print ("stream ready at rtsp://127.0.0.1:8554/test\n");
g_main_loop_run (loop);
return 0;
g_timeout_add_seconds (2, (GSourceFunc) timeout, server);
/* start serving */
+ g_print ("stream ready at rtsp://127.0.0.1:8554/test\n");
g_main_loop_run (loop);
return 0;
g_timeout_add_seconds (2, (GSourceFunc) timeout, server);
/* start serving, this never stops */
+ g_print ("stream ready at rtsp://127.0.0.1:8554/test\n");
g_main_loop_run (loop);
return 0;