Change RTSP Server source IP address

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

Change RTSP Server source IP address

David Jaggard
Hello

Using the example in the test-readme.c file of the RTSP server, how can I change the source IP address of the RTP packets to specific address on a multi-homed PC?

At present it is choosing the first address.



_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

AW: Change RTSP Server source IP address

Thornton, Keith

Hi,

After calling gst_rtsp_server_new you can set the address with gst_rtsp_server_set_address otherwise it will use 127.0.0.1

 

Von: gstreamer-devel <[hidden email]> Im Auftrag von David Jaggard
Gesendet: Mittwoch, 22. Mai 2019 15:09
An: Discussion of the development of and with GStreamer <[hidden email]>
Betreff: Change RTSP Server source IP address

 

Hello

 

Using the example in the test-readme.c file of the RTSP server, how can I change the source IP address of the RTP packets to specific address on a multi-homed PC?

 

At present it is choosing the first address.

 

 


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Change RTSP Server source IP address

David Jaggard
Hi Keith,

Thanks for your reply. That sets the listen address of the RTSP server but doesn't change the src address of the RTP packets.

On Wed, 22 May 2019 at 14:23, Thornton, Keith <[hidden email]> wrote:

Hi,

After calling gst_rtsp_server_new you can set the address with gst_rtsp_server_set_address otherwise it will use 127.0.0.1

 

Von: gstreamer-devel <[hidden email]> Im Auftrag von David Jaggard
Gesendet: Mittwoch, 22. Mai 2019 15:09
An: Discussion of the development of and with GStreamer <[hidden email]>
Betreff: Change RTSP Server source IP address

 

Hello

 

Using the example in the test-readme.c file of the RTSP server, how can I change the source IP address of the RTP packets to specific address on a multi-homed PC?

 

At present it is choosing the first address.

 

 

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Change RTSP Server source IP address

David Jaggard
Unless there's something I've overlooked it appears that I need to be able to set the "bind-address" of multiudpsink in create_and_configure_udpsink.

Is there a built-in way to supply a custom multiudpsink to the RTSP server without modifying the code?

On Wed, 22 May 2019 at 14:27, David Jaggard <[hidden email]> wrote:
Hi Keith,

Thanks for your reply. That sets the listen address of the RTSP server but doesn't change the src address of the RTP packets.

On Wed, 22 May 2019 at 14:23, Thornton, Keith <[hidden email]> wrote:

Hi,

After calling gst_rtsp_server_new you can set the address with gst_rtsp_server_set_address otherwise it will use 127.0.0.1

 

Von: gstreamer-devel <[hidden email]> Im Auftrag von David Jaggard
Gesendet: Mittwoch, 22. Mai 2019 15:09
An: Discussion of the development of and with GStreamer <[hidden email]>
Betreff: Change RTSP Server source IP address

 

Hello

 

Using the example in the test-readme.c file of the RTSP server, how can I change the source IP address of the RTP packets to specific address on a multi-homed PC?

 

At present it is choosing the first address.

 

 

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel