Skip to content

Commit 6c411b0

Browse files
committed
Merge branch 'feature/add_esp_peer_v1.3.4' into 'main'
esp_peer: Add v1.3.4 See merge request adf/esp-webrtc-solution!78
2 parents 2bce717 + 2204bc4 commit 6c411b0

File tree

10 files changed

+31
-13
lines changed

10 files changed

+31
-13
lines changed

.gitlab/ci/build_webrtc_solutions.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,4 +66,4 @@ variables:
6666
BASE_FRAMEWORK_PATH: "$CI_PROJECT_DIR/esp-idf"
6767
BASE_FRAMEWORK: "ssh://git@gitlab.espressif.cn:27227/espressif/esp-idf.git"
6868
IDF_VERSION_TAG: v5.4
69-
IDF_TAG_FLAG: false
69+
IDF_TAG_FLAG: false

components/esp_peer/CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# Changelog
22

3+
## v1.3.4
4+
5+
### Features
6+
7+
- Added `alive_binding_retries` to configuration binding maximum retries before disconnected
8+
- Binding retry is a keep alive mechanism to detect peer leave unexpected
9+
- Fixed connectivity check fail if remote candidate not acceptable (TCP etc)
10+
- Added video RTP RTX support
11+
12+
### Bug Fixes
13+
14+
- Fixed peer binding response discard if RTT over 400ms
15+
316
## v1.3.3
417

518
### Features

components/esp_peer/idf_component.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
description: Espressif PeerConnection Library
2-
version: "1.3.3"
2+
version: "1.3.4"
33
url: "https://github.com/espressif/esp-webrtc-solution/tree/main/components/esp_peer"
44
documentation: "https://github.com/espressif/esp-webrtc-solution/tree/main/components/esp_peer/README.md"
55
issues: "https://github.com/espressif/esp-webrtc-solution/issues"

components/esp_peer/include/esp_peer_default.h

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -58,17 +58,22 @@ typedef struct {
5858
* @brief Peer default configuration (optional)
5959
*/
6060
typedef struct {
61-
uint16_t agent_recv_timeout; /*!< ICE agent receive timeout setting (unit ms)
62-
default: 100ms if set to 0
63-
Some STUN/TURN server reply message slow increase this value */
64-
esp_peer_default_data_ch_cfg_t data_ch_cfg; /*!< Configuration of data channel */
65-
esp_peer_default_rtp_cfg_t rtp_cfg; /*!< Configuration of RTP buffer */
66-
bool keep_role; /*!< Do not reset role to controlling when disconnected */
67-
bool ipv6_support; /*!< Support IPv6 */
68-
uint8_t max_candidates; /*!< Maximum ICE candidates to gather
69-
Large setting will consume more heap memory
70-
Defaults is 10 if set to 0 */
71-
bool ice_use_lite_mode; /**< Enable ICE Lite mode (simplified ICE for always-on servers) */
61+
uint16_t agent_recv_timeout; /*!< ICE agent receive timeout setting (unit ms)
62+
default: 100ms if set to 0
63+
Some STUN/TURN server reply message slow increase this value */
64+
esp_peer_default_data_ch_cfg_t data_ch_cfg; /*!< Configuration of data channel */
65+
esp_peer_default_rtp_cfg_t rtp_cfg; /*!< Configuration of RTP buffer */
66+
bool keep_role; /*!< Do not reset role to controlling when disconnected */
67+
bool ipv6_support; /*!< Support IPv6 */
68+
uint8_t max_candidates; /*!< Maximum ICE candidates to gather
69+
Large setting will consume more heap memory
70+
Defaults is 16 if set to 0 */
71+
72+
uint8_t alive_binding_retries; /*!< Max retries for peer keepalive via STUN Binding requests.
73+
Sent every 6s; if no response after `alive_binding_retries` attempts,
74+
peer is marked disconnected.
75+
Default: 5 (0 = use default, 0xFF = disable check). */
76+
bool ice_use_lite_mode; /**< Enable ICE Lite mode (simplified ICE for always-on servers) */
7277
} esp_peer_default_cfg_t;
7378

7479
/**
9.54 KB
Binary file not shown.
14.1 KB
Binary file not shown.
14.1 KB
Binary file not shown.
14.1 KB
Binary file not shown.
9.45 KB
Binary file not shown.
9.46 KB
Binary file not shown.

0 commit comments

Comments
 (0)