From cd272da7a8aa121113a7ca7e44d85eb88e721607 Mon Sep 17 00:00:00 2001 From: Richard Mudgett Date: Wed, 26 Apr 2017 16:22:38 -0500 Subject: 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 --- main/sdp_private.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'main/sdp_private.h') 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; -- cgit v1.2.3