mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
examples: Actually use the provided port in the record examples
This commit is contained in:
parent
eaf7b1488c
commit
52fb304ac9
2 changed files with 3 additions and 0 deletions
|
@ -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 */
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue