Uri.getPort

uint getPort()

Get the port number from the URI or gst.types.URI_NO_PORT if it doesn't exist. If uri is null then returns gst.types.URI_NO_PORT.

Returns

The port number from the #GstUri object or gst.types.URI_NO_PORT.