WARNING: The online documentation has moved to https://docs.pjsip.org.

Visit the new documentation at https://docs.pjsip.org:

BLOG | DOCUMENTATION | GITHUB

Home --> Documentations --> PJMEDIA Reference

pjmedia_stream_ka_config Struct Reference

#include <stream_common.h>

Data Fields

unsigned start_count
 
unsigned start_interval
 
unsigned ka_interval
 

Detailed Description

Structure of configuration settings for stream keepalive.

Field Documentation

◆ start_count

unsigned pjmedia_stream_ka_config::start_count

The number of keepalive to be sent after the stream is created. When this is set to 0, keepalive will be sent once for NAT hole punching if stream's use_ka is enabled.

Default: PJMEDIA_STREAM_START_KA_CNT

◆ start_interval

unsigned pjmedia_stream_ka_config::start_interval

The keepalive sending interval after the stream is created.

Default: PJMEDIA_STREAM_START_KA_INTERVAL_MSEC

◆ ka_interval

unsigned pjmedia_stream_ka_config::ka_interval

The keepalive sending interval, after start_count number keepalive was sent.

Default: PJMEDIA_STREAM_KA_INTERVAL (seconds)


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

 


PJMEDIA small footprint Open Source media stack
Copyright (C) 2006-2008 Teluu Inc.