Home --> Documentations --> PJMEDIA Reference
Structure of configuration settings for stream keepalive.
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
The keepalive sending interval after the stream is created.
Default: PJMEDIA_STREAM_START_KA_INTERVAL_MSEC
The keepalive sending interval, after start_count number keepalive was sent.
Default: PJMEDIA_STREAM_KA_INTERVAL (seconds)