pjsua_enum_transports method

int pjsua_enum_transports(
  1. Pointer<pjsua_transport_id> id,
  2. Pointer<UnsignedInt> count
)

Enumerate all transports currently created in the system. This function will return all transport IDs, and application may then call #pjsua_transport_get_info() function to retrieve detailed information about the transport.

@param id Array to receive transport ids. @param count In input, specifies the maximum number of elements. On return, it contains the actual number of elements.

@return PJ_SUCCESS on success, or the appropriate error code.

Implementation

int pjsua_enum_transports(
  ffi.Pointer<pjsua_transport_id> id,
  ffi.Pointer<ffi.UnsignedInt> count,
) {
  return _pjsua_enum_transports(
    id,
    count,
  );
}