Skip to main content
Version: Dev (main)

Runtime

Functions Index​

static QarResultqar_runtime_create (const QarRuntimeInit *init, QarRuntime **out_runtime)

Create a runtime instance that can host sessions and streams. More...

static voidqar_runtime_handle_destroy (QarRuntime *handle)

Destroy a runtime opaque handle without shutting down the runtime. More...

Functions​

qar_runtime_create()​

QarResult qar_runtime_create (const QarRuntimeInit * init, QarRuntime ** out_runtime)
inline static

Create a runtime instance that can host sessions and streams.

QarRuntimeInit::runtime_binaries_folder_path names the runtime bin folder, where the runtime finds qar-runtime-launcher, the process that answers qar_session_invite_target_app() and starts the device applications. Left empty, it defaults to the folder the loaded qar-streaming-c came from: the installed QAROS bin/ for every distributed application.

Chain QarRuntimeEphemeralStorageExt to keep every identity in memory only: nothing is written under storage_folder_path, onboarding returns the zero id, and qar_runtime_rejoin / qar_runtime_forget are refused.

Parameters
init

Runtime initialization parameters.

out_runtime

Out pointer receiving the created runtime handle.

Returns

QarResult Success or error code.

Definition at line 3327 of file qar_streaming.h.

qar_runtime_handle_destroy()​

void qar_runtime_handle_destroy (QarRuntime * handle)
inline static

Destroy a runtime opaque handle without shutting down the runtime.

Definition at line 3307 of file qar_streaming.h.


Generated via doxygen2docusaurus 2.2.1 by Doxygen 1.9.8.