James Kuszmaul | 4a42b18 | 2021-01-17 11:32:46 -0800 | [diff] [blame^] | 1 | #pragma once |
| 2 | #include <rawrtc/ice_gather_options.h> |
| 3 | #include <rawrtc/ice_server.h> |
| 4 | #include <rawrtcc/code.h> |
| 5 | #include <rawrtcdc/sctp_transport.h> |
| 6 | #include <re.h> |
| 7 | |
| 8 | struct rawrtc_peer_connection_configuration { |
| 9 | enum rawrtc_ice_gather_policy gather_policy; |
| 10 | struct list ice_servers; |
| 11 | struct list certificates; |
| 12 | bool sctp_sdp_05; |
| 13 | struct { |
| 14 | uint32_t send_buffer_length; |
| 15 | uint32_t receive_buffer_length; |
| 16 | enum rawrtc_sctp_transport_congestion_ctrl congestion_ctrl_algorithm; |
| 17 | uint32_t mtu; |
| 18 | bool mtu_discovery; |
| 19 | } sctp; |
| 20 | }; |
| 21 | |
| 22 | enum rawrtc_code rawrtc_peer_connection_configuration_add_ice_server_internal( |
| 23 | struct rawrtc_peer_connection_configuration* const configuration, |
| 24 | struct rawrtc_ice_server* const server); |