comparison libsip/sdp.h @ 0:35c0d9f03c0a

beginning with sipout-test-voice, a copy of sip-manual-out from themwi-system-sw
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 03 Mar 2024 23:20:19 -0800
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:35c0d9f03c0a
1 /*
2 * This header file defines structures to be used for SDP
3 * parsing and generation.
4 */
5
6 struct sdp_parse {
7 struct in_addr ip_addr;
8 unsigned audio_port;
9 unsigned codec_mask;
10 };
11
12 struct sdp_gen {
13 unsigned session_id;
14 unsigned version;
15 struct in_addr owner_ip;
16 struct in_addr conn_ip;
17 unsigned conn_port;
18 unsigned codec_mask;
19 };
20
21 #define SDP_CODEC_MASK_PCMU 1
22 #define SDP_CODEC_MASK_PCMA 2
23 #define SDP_CODEC_MASK_BOTH 3
24 #define SDP_CODEC_MASK_PCMA_PREF 4