view include/pstn_defs.h @ 18:ec50018cc4ea

put struct rtp_basic_hdr into a header file
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 07 Jul 2024 00:15:00 +0000
parents e05dde97739d
children
line wrap: on
line source

/* misc PSTN definitions */

#pragma once

#define	PSTN_CODEC_PCMU		0
#define	PSTN_CODEC_PCMA		8

#define	FRAME_20MS	160	/* samples per RTP packet */