summaryrefslogtreecommitdiff
path: root/main/sdp_private.h
diff options
context:
space:
mode:
authorRichard Mudgett <rmudgett@digium.com>2017-04-26 16:22:38 -0500
committerRichard Mudgett <rmudgett@digium.com>2017-05-02 10:59:53 -0500
commitcd272da7a8aa121113a7ca7e44d85eb88e721607 (patch)
tree67a315dbdadd0b7c8d010dccf4acaba4b9ceac4e /main/sdp_private.h
parentdc948163cace1e71a8cbb069549a74ebf15b793c (diff)
SDP: Replace SDP telephone_event option with dtmf option
The telephone_event option was used as a flag and a bit mapped value in different places when it is a boolean. It is also inadequate to configure the DTMF operation of the RTP instance created for the stream. Change-Id: Ib1addeaf0ce86f07039f2f979cab29405dc5239b
Diffstat (limited to 'main/sdp_private.h')
-rw-r--r--main/sdp_private.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/main/sdp_private.h b/main/sdp_private.h
index f80cefb5f..c90a57485 100644
--- a/main/sdp_private.h
+++ b/main/sdp_private.h
@@ -34,16 +34,15 @@ struct ast_sdp_options {
AST_STRING_FIELD(rtp_engine);
);
struct {
- unsigned int bind_rtp_to_media_address : 1;
- unsigned int bind_udptl_to_media_address : 1;
- unsigned int rtp_symmetric : 1;
- unsigned int udptl_symmetric : 1;
- unsigned int telephone_event : 1;
- unsigned int rtp_ipv6 : 1;
- unsigned int g726_non_standard : 1;
- unsigned int locally_held : 1;
- unsigned int rtcp_mux: 1;
- unsigned int ssrc: 1;
+ unsigned int bind_rtp_to_media_address:1;
+ unsigned int bind_udptl_to_media_address:1;
+ unsigned int rtp_symmetric:1;
+ unsigned int udptl_symmetric:1;
+ unsigned int rtp_ipv6:1;
+ unsigned int g726_non_standard:1;
+ unsigned int locally_held:1;
+ unsigned int rtcp_mux:1;
+ unsigned int ssrc:1;
};
struct {
unsigned int tos_audio;
@@ -52,6 +51,7 @@ struct ast_sdp_options {
unsigned int cos_video;
unsigned int udptl_far_max_datagram;
};
+ enum ast_sdp_options_dtmf dtmf;
enum ast_sdp_options_ice ice;
enum ast_sdp_options_impl impl;
enum ast_sdp_options_encryption encryption;