AW: change rtsp server port

Thornton, Keith keith.thornton at
Tue Feb 18 11:16:03 UTC 2020

on linux port 554 is reserved for processes running with root rights, try the same with port 8554

-----Ursprüngliche Nachricht-----
Von: gstreamer-devel <gstreamer-devel-bounces at> Im Auftrag von Stephenwei
Gesendet: Dienstag, 18. Februar 2020 10:43
An: gstreamer-devel at
Betreff: change rtsp server port

I try to change sample code gst-rtsp-server-1.14.4/example/test-video.c

1. gchar *port = (gchar *) argv[2]; 
    g_object_set (server, "service", port, NULL);
    got error  "gst_rtsp_server_set_service: assertion 'service != NULL'

2. g_object_set (server, "service", "554", NULL);
    got error "failed to attach the server"

3. gst_rtsp_server_set_service (server,"554");
    got error "failed to attach the server"

Change DEFAULT_SERVICE  and rebuild again is a solution, but have another way to slove it?

Thank you.

GStreamer is a convenient multimedia platform, I like it. 
Develop the NVR system on ARM/x86(c/python) Use python to generate NVR is crazy, of course works fine.

Sent from:
gstreamer-devel mailing list
gstreamer-devel at

More information about the gstreamer-devel mailing list