FreeCalypso > hg > themwi-rtp-mgr
view include/rtp_alloc_simple.h @ 7:b97024a897c3
add top Makefile
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 27 May 2024 21:12:15 +0000 |
parents | 191d58f5c24f |
children |
line wrap: on
line source
/* * This header file defines the library interface for "simple" * RTP endpoint allocation. */ #pragma once #include <sys/socket.h> struct rtp_alloc_simple { struct sockaddr_storage gsm_addr; int gsm_rtp_fd; int gsm_rtcp_fd; struct sockaddr_storage pstn_addr; /* also used for 2nd GSM */ int pstn_rtp_fd; int pstn_rtcp_fd; }; int rtp_alloc_simple(int ep_type, struct rtp_alloc_simple *out);