AW: change rtsp server port

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


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

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

Hi,
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'
failed"

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: https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgstreamer-devel.966125.n4.nabble.com%2F&data=02%7C01%7C%7Cf285ec7a64fd4f0f139f08d7b45fb328%7C28042244bb514cd680347776fa3703e8%7C1%7C0%7C637176195426375267&sdata=N73WYA9e6QsoKD7zNfeZGkMBpdqMz6U7vpENGf2JWAM%3D&reserved=0
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.freedesktop.org%2Fmailman%2Flistinfo%2Fgstreamer-devel&data=02%7C01%7C%7Cf285ec7a64fd4f0f139f08d7b45fb328%7C28042244bb514cd680347776fa3703e8%7C1%7C0%7C637176195426375267&sdata=4MioXEWwESzCVRbmdGAVM3rwaAAgr640JAxSNgLqrh0%3D&reserved=0


More information about the gstreamer-devel mailing list