acquire_address


Description:

public Address? acquire_address (AddressFlags flags, int n_ports)

Take an address and ports from this.

flags can be used to control the allocation. n_ports consecutive ports will be allocated of which the first one can be found in port.

Parameters:

this

a AddressPool

flags

flags

n_ports

the amount of ports

Returns:

a Address that should be freed with gst_rtsp_address_free after use or null when no address could be acquired.