#include <zrtp_iface.h>
Data Fields | |
| int(* | on_send_packet )(const zrtp_stream_t *stream, char *packet, unsigned int length) |
| RTP packet sending function. | |
| int(* on_send_packet)(const zrtp_stream_t *stream, char *packet, unsigned int length) |
RTP packet sending function.
This function pushes an outgoing ZRTP packet to the network. Correct building of IP and UPD headers is the developer's responsibility.
| stream | - ZRTP stream context; | |
| packet | - buffer storing the ZRTP packet to send; | |
| length | - size of the ZRTP packet. |