mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-06 13:07:21 +00:00
res_hep: Capture actual transport type in use
Rather than hard-coding UDP, allow consumers of the HEP API to specify which protocol is in use. Update the PJSIP provider to pass in the current protocol type. ASTERISK-26850 #close Change-Id: I54bbb0a001cfe4c6a87ad4b6f2014af233349978
This commit is contained in:
@@ -72,6 +72,8 @@ struct hepv3_capture_info {
|
||||
size_t len;
|
||||
/*! If non-zero, the payload accompanying this capture info will be compressed */
|
||||
unsigned int zipped:1;
|
||||
/*! The IPPROTO_* protocol where we captured the packet */
|
||||
int protocol_id;
|
||||
};
|
||||
|
||||
/*!
|
||||
|
Reference in New Issue
Block a user