summaryrefslogtreecommitdiff
path: root/rtp.c
diff options
context:
space:
mode:
authorOlle Johansson <oej@edvina.net>2006-06-09 20:13:47 +0000
committerOlle Johansson <oej@edvina.net>2006-06-09 20:13:47 +0000
commit13a98f92fe905e9bd2ef752ea96d4fd89ebf2288 (patch)
treef15d2579fcc757a82e1922d3d7a5d10bfe5c45fa /rtp.c
parent8bee8de932d09acb366e013374d0916b49133a2b (diff)
Move payloadtype back home to rtp.c
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33349 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'rtp.c')
-rw-r--r--rtp.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/rtp.c b/rtp.c
index 642c8954e..d1c7a51be 100644
--- a/rtp.c
+++ b/rtp.c
@@ -90,6 +90,19 @@ static struct sockaddr_in rtcpdebugaddr; /*!< Debug RTCP packets to/from this ho
static int nochecksums = 0;
#endif
+/*!
+ * \brief Structure representing a RTP session.
+ *
+ * RTP session is defined on page 9 of RFC 3550: "An association among a set of participants communicating with RTP. A participant may be involved in multiple RTP sessions at the same time [...]"
+ *
+ */
+/*! \brief The value of each payload format mapping: */
+struct rtpPayloadType {
+ int isAstFormat; /*!< whether the following code is an AST_FORMAT */
+ int code;
+};
+
+
/*! \brief RTP session description */
struct ast_rtp {
int s;