change rtsp server port

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

change rtsp server port

Stephenwei
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: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
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.
Reply | Threaded
Open this post in threaded view
|

AW: change rtsp server port

Thornton, Keith
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 <[hidden email]> Im Auftrag von Stephenwei
Gesendet: Dienstag, 18. Februar 2020 10:43
An: [hidden email]
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&amp;data=02%7C01%7C%7Cf285ec7a64fd4f0f139f08d7b45fb328%7C28042244bb514cd680347776fa3703e8%7C1%7C0%7C637176195426375267&amp;sdata=N73WYA9e6QsoKD7zNfeZGkMBpdqMz6U7vpENGf2JWAM%3D&amp;reserved=0
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.freedesktop.org%2Fmailman%2Flistinfo%2Fgstreamer-devel&amp;data=02%7C01%7C%7Cf285ec7a64fd4f0f139f08d7b45fb328%7C28042244bb514cd680347776fa3703e8%7C1%7C0%7C637176195426375267&amp;sdata=4MioXEWwESzCVRbmdGAVM3rwaAAgr640JAxSNgLqrh0%3D&amp;reserved=0
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: AW: change rtsp server port

Stephenwei
I've got it.
Thanks in advance



-----
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: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
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.