[gst-devel] source port of udp sink

Michael Trimarchi michael at panicking.kicks-ass.org
Mon Jan 24 12:52:26 CET 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 01/24/2011 12:40 PM, giorgino wrote:
> 
> Hi and thanks for the answer. I tried but there isn't anything. I don't need
> anything on udpsrc infact my problem is to know and then to set, the source
> port of the udpsink before the pipe starts. I think that usually gstreamer
> assigns the source port in a random way, but for my purposes I need to have
> the management of this thing in order to set manually the source port.
> 
> G.

g_object_set(G_OBJECT(udpsrc),
                 "sockfd", fd_sock,
                 "port", port,
                 NULL);

Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJNPWf6AAoJEJJLw+x5tkpwv84H/1sKXMiJOl6e7rol4GsYu9OF
z2SccHxqHkWDfqyYMuN85PIWsBZsf6PFU4OgRl9Cw7rUH8h0gg9XKHvn8+6LGs9k
t4uVp8NckwonPYaHqgmsU0vsSsd28BJOUKT4vkXBX8t6VZK2KYU9VoooKLds+B3m
5rmrrdtjfODMtaPA/mN83vvFuYBe1w23sgI2qoA4DqfAbc7znUg3PigORW9eOhRd
4J/6yf6Hx2sAUipzUEsg4Aj9ZbqU/COyRkPATmDtQYVeCy4L6FJ+7ux8aAN8STCw
wQUNDMzdlYFvHs8RvnI6TzoJ8/6fJHUJvZ0Nb9kjAIuSFK2yVbgBBa85kSFRHns=
=NgqR
-----END PGP SIGNATURE-----




More information about the gstreamer-devel mailing list