pjsua_transport_lis_start method

int pjsua_transport_lis_start(
  1. int id,
  2. Pointer<pjsua_transport_config> cfg
)

Start the listener of the transport. This is useful when listener is not automatically started when creating the transport.

@param id Transport ID. @param cfg The new transport config used by the listener. Only port, public_addr and bound_addr are used at the moment.

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

Implementation

int pjsua_transport_lis_start(
  int id,
  ffi.Pointer<pjsua_transport_config> cfg,
) {
  return _pjsua_transport_lis_start(
    id,
    cfg,
  );
}