diff options
author | Jan Schmidt <jan@centricular.com> | 2015-11-17 01:12:28 +1100 |
---|---|---|
committer | Jan Schmidt <jan@centricular.com> | 2015-11-17 01:12:28 +1100 |
commit | 52fb304ac9a2f690c897ea406bfea40fbeeee653 (patch) | |
tree | 5b71bf9476b0cc103c819ef8ca0529e1661b5b46 /examples | |
parent | eaf7b1488c0df47528e2933414967024297ec7d9 (diff) |
examples: Actually use the provided port in the record examples
Diffstat (limited to 'examples')
-rw-r--r-- | examples/test-record-auth.c | 1 | ||||
-rw-r--r-- | examples/test-record.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/examples/test-record-auth.c b/examples/test-record-auth.c index ba9bd47..8c65117 100644 --- a/examples/test-record-auth.c +++ b/examples/test-record-auth.c @@ -71,6 +71,7 @@ main (int argc, char *argv[]) /* create a server instance */ server = gst_rtsp_server_new (); + g_object_set (server, "service", port, NULL); /* get the mount points for this server, every server has a default object * that be used to map uri mount points to media factories */ diff --git a/examples/test-record.c b/examples/test-record.c index edd66ad..437eaf5 100644 --- a/examples/test-record.c +++ b/examples/test-record.c @@ -65,6 +65,8 @@ main (int argc, char *argv[]) /* create a server instance */ server = gst_rtsp_server_new (); + g_object_set (server, "service", port, NULL); + /* get the mount points for this server, every server has a default object * that be used to map uri mount points to media factories */ mounts = gst_rtsp_server_get_mount_points (server); |