#include <stream_common.h>
Structure of configuration settings for stream keepalive.
◆ 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: