| 2 | |
| 3 | In PJSUA, this feature is by default enabled and configurable via call setting, i.e: {{{pjsua_call_setting.req_keyframe_method}}} with bitflag {{{PJSUA_VID_REQ_KEYFRAME_RTCP_PLI}}}. When enabled, it will be signaled in SDP offer/answer, which will look like this: |
| 4 | {{{ |
| 5 | a=rtcp-fb:* nack pli |
| 6 | }}} |
| 7 | |
| 8 | Application can also monitor incoming RTCP-FB PLI packet via PJSUA callback {{{on_call_media_event()}}} for event {{{PJMEDIA_EVENT_RX_RTCP_FB}}}. |
| 9 | |
| 10 | This ticket also introduces some macro settings: |
| 11 | - {{{PJMEDIA_RTCP_FB_INTERVAL}}}: Minimum interval between two consecutive outgoing RTCP-FB packets, such as Picture Loss Indicationc. |
| 12 | - {{{PJMEDIA_VID_STREAM_MIN_KEYFRAME_INTERVAL_MSEC}}}: Specify the minimum interval to send video keyframe. |