LiveKit C++ SDK
Real-time audio/video SDK for C++
Loading...
Searching...
No Matches
livekit::SipDtmfData Struct Reference

#include <room_event_types.h>

Public Attributes

std::uint32_t code = 0
 
std::optional< std::string > digit
 

Detailed Description

SIP (Session Initiation Protocol) DTMF payload carried via data packets.

SIP is a signalling protocol used in VoIP telephony. LiveKit supports SIP trunking, which bridges traditional phone calls into LiveKit rooms. DTMF (Dual-Tone Multi-Frequency) tones are the signals generated when phone keypad buttons are pressed (0-9, *, #). This struct surfaces those tones so that applications handling SIP-bridged calls can react to caller input (e.g. IVR menu selection).

Member Data Documentation

◆ code

std::uint32_t livekit::SipDtmfData::code = 0

Numeric DTMF code (0-15, mapping to 0-9, *, #, A-D).

◆ digit

std::optional<std::string> livekit::SipDtmfData::digit

Human-readable digit representation (e.g. "1", "#").


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