examples: tell rtsp uri when ready

This commit is contained in:
Stefan Sauer 2011-07-19 16:10:39 +02:00
parent e5df7a89cc
commit 40c7bb6386
4 changed files with 4 additions and 0 deletions

View file

@ -64,6 +64,7 @@ main (int argc, char *argv[])
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;

View file

@ -60,6 +60,7 @@ main (int argc, char *argv[])
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;

View file

@ -82,6 +82,7 @@ main (int argc, char *argv[])
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;

View file

@ -99,6 +99,7 @@ main (int argc, char *argv[])
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;