Uri.setPort

bool setPort(uint port)

Set or unset the port number for the URI.

Parameters

portThe new port number to set or [gst.types.URI_NO_PORT] to unset.

Returns

true if the port number was set/unset successfully.