Skip to main content
Version: 0.9.0 (next)

QarVideoSenderInit Struct

Declaration​

struct QarVideoSenderInit { ... }

Included Headers​

Public Member Attributes Index​

boolenable_reconnects
QarGraphicsAPIgraphics_api
QarStructureHeaderheader
QarVideoFrameLayoutlayout
uint64_treconnect_timeout_ms

Description​

Configuration for a logical video sender whose StreamId is generated by the library. Exactly one extension is required for a GPU API:

  • QAR_GRAPHICS_API_D3D11 requires QarStreamParamsD3D11.
  • QAR_GRAPHICS_API_OPENGL requires exactly one of QarStreamParamsOpenGlEgl, QarStreamParamsOpenGlWgl or QarStreamParamsOpenGlGlx, whichever matches the context you own.
  • QAR_GRAPHICS_API_VULKAN requires QarStreamParamsVulkan. QAR_GRAPHICS_API_CPU supports no extension and requires header.next to be null. The selected extension's header.next must also be null. Retrieve the generated id with qar_video_sender_stream_id().

Definition at line 1996 of file qar_streaming.h.

Public Member Attributes​

enable_reconnects​

bool QarVideoSenderInit::enable_reconnects

Definition at line 2000 of file qar_streaming.h.

graphics_api​

QarGraphicsAPI QarVideoSenderInit::graphics_api

Definition at line 2002 of file qar_streaming.h.

header​

QarStructureHeader QarVideoSenderInit::header

Definition at line 1998 of file qar_streaming.h.

layout​

QarVideoFrameLayout QarVideoSenderInit::layout

Definition at line 1999 of file qar_streaming.h.

reconnect_timeout_ms​

uint64_t QarVideoSenderInit::reconnect_timeout_ms

Definition at line 2001 of file qar_streaming.h.


The documentation for this struct was generated from the following file:


Generated via doxygen2docusaurus 2.2.1 by Doxygen 1.9.8.