diff options
author | Wim Taymans <wim.taymans@collabora.co.uk> | 2011-01-07 11:27:57 +0100 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2011-01-07 11:27:57 +0100 |
commit | 5227832132747abae0c89b06ad989d3af3389e5c (patch) | |
tree | 31778d31829ca53ae69215f93a244012ff4f8f8c /examples/test-uri.c | |
parent | 186089ff1e67b025717b5bd82b3b4fca686aed5e (diff) |
examples: add some more options and comments
Diffstat (limited to 'examples/test-uri.c')
-rw-r--r-- | examples/test-uri.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/test-uri.c b/examples/test-uri.c index bde0355..61af721 100644 --- a/examples/test-uri.c +++ b/examples/test-uri.c @@ -60,7 +60,13 @@ main (int argc, char *argv[]) /* make a URI media factory for a test stream. */ factory = gst_rtsp_media_factory_uri_new (); + /* when using GStreamer as a client, one can use the gst payloader, which is + * more efficient when there is no payloader for the compressed format */ + /* g_object_set (factory, "use-gstpay", TRUE, NULL); */ gst_rtsp_media_factory_uri_set_uri (factory, argv[1]); + /* if you want multiple clients to see the same video, set the shared property + * to TRUE */ + /* gst_rtsp_media_factory_set_shared ( GST_RTSP_MEDIA_FACTORY (factory), TRUE); */ /* attach the test factory to the /test url */ gst_rtsp_media_mapping_add_factory (mapping, "/test", |