mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-30 02:26:23 +00:00
sdp: Add support for T.38
This change adds a T.38 format which can be used in a stream topology to specify that a UDPTL stream needs to be created. The SDP API has been changed to understand T.38 and create the UDPTL session, add the attributes, and parse the attributes. This change does not change the boundary of the T.38 state machine. It is still up to the channel driver to implement and act on it (such as queueing control frames or reacting to them). ASTERISK-26949 Change-Id: If28956762ccb8ead562ac6c03d162d3d6014f2c7
This commit is contained in:
committed by
Richard Mudgett
parent
32b3e36c68
commit
19a79ae12c
@@ -35,7 +35,9 @@ struct ast_sdp_options {
|
||||
);
|
||||
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;
|
||||
@@ -47,10 +49,12 @@ struct ast_sdp_options {
|
||||
unsigned int cos_audio;
|
||||
unsigned int tos_video;
|
||||
unsigned int cos_video;
|
||||
unsigned int udptl_far_max_datagram;
|
||||
};
|
||||
enum ast_sdp_options_ice ice;
|
||||
enum ast_sdp_options_impl impl;
|
||||
enum ast_sdp_options_encryption encryption;
|
||||
enum ast_t38_ec_modes udptl_error_correction;
|
||||
};
|
||||
|
||||
#endif /* _MAIN_SDP_PRIVATE_H */
|
||||
|
Reference in New Issue
Block a user