Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
Loading...
Searching...
No Matches
roc::peer::ContextConfig Struct Reference

Peer context config. More...

#include <context.h>

Public Attributes

size_t max_packet_size
 Maximum size in bytes of a network packet.
 
size_t max_frame_size
 Maximum size in bytes of an audio frame.
 
bool poisoning
 Enable memory poisoning.
 

Detailed Description

Peer context config.

Definition at line 27 of file context.h.

Constructor & Destructor Documentation

◆ ContextConfig()

roc::peer::ContextConfig::ContextConfig ( )
inline

Definition at line 37 of file context.h.

Member Data Documentation

◆ max_frame_size

size_t roc::peer::ContextConfig::max_frame_size

Maximum size in bytes of an audio frame.

Definition at line 32 of file context.h.

◆ max_packet_size

size_t roc::peer::ContextConfig::max_packet_size

Maximum size in bytes of a network packet.

Definition at line 29 of file context.h.

◆ poisoning

bool roc::peer::ContextConfig::poisoning

Enable memory poisoning.

Definition at line 35 of file context.h.


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