Philipp Maier | 993ea6b | 2020-08-04 18:26:50 +0200 | [diff] [blame] | 1 | #pragma once |
| 2 | |
| 3 | /* Internal structure while parsing a request */ |
| 4 | struct mgcp_parse_data { |
| 5 | struct mgcp_config *cfg; |
| 6 | struct mgcp_endpoint *endp; |
| 7 | char *trans; |
| 8 | char *save; |
| 9 | }; |
| 10 | |
| 11 | /* Local connection options */ |
| 12 | struct mgcp_lco { |
| 13 | char *string; |
| 14 | char *codec; |
| 15 | int pkt_period_min; /* time in ms */ |
| 16 | int pkt_period_max; /* time in ms */ |
| 17 | }; |
| 18 | |
| 19 | char *get_lco_identifier(const char *options); |
| 20 | int check_local_cx_options(void *ctx, const char *options); |
| 21 | |
| 22 | struct mgcp_rtp_end; |
| 23 | void mgcp_rtp_end_config(struct mgcp_endpoint *endp, int expect_ssrc_change, |
| 24 | struct mgcp_rtp_end *rtp); |
| 25 | |
| 26 | uint32_t mgcp_rtp_packet_duration(struct mgcp_endpoint *endp, |
| 27 | struct mgcp_rtp_end *rtp); |