Obtain Source IP and Port that is set in a UDPSINK

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Obtain Source IP and Port that is set in a UDPSINK

debruyn
Gooday,

I have a simple pipe that consists of a rtspsrc and udpsink. Udpsink creates its own socket for when the pipe is created and that socket automatically decides the src port and IP based on the interface sending data out. What i wat to know is if there is a way to obtain that source port and IP that the socket sets?

I can did setup my own socket, and passed that to UDPSINK but i thought that if gstreamer already allocates a socket i can just use that.

Any help will be appreciated
De Bruyn