Skip to content

Conversation

@vikramdattu
Copy link
Contributor

@vikramdattu vikramdattu commented Oct 14, 2025

  • Fix network coprocessor for incorrect length of wifi_connected event
  • esp_hosted: fixes including wifi_started event miss
  • bugfix(media_stream): Fixed frame memory leak in video_capture
  • webrtc_split: Added deep-sleep and wake-up logic
  • data_channel: Added config in app_webrtc_config_t
  • Dependency cleanup from app_webrtc and examples
  • Remove requirement for ets_sys_define patch on esp-idf

mantriyogesh and others added 6 commits October 10, 2025 16:02
 - Check if netif is up while connected and up it if not
 - Fix wrong Wi-Fi state error: Do not err for connect request while already connecting
How to test:
 - Put ESP32-P4 into deep sleep
 - Start streaming request from the viewer
 - ESP32-P4 will wake-up and further webrtc peer_connection will continue

How it works:
 - ESP32-C6 checks the message type
 - It wakes-up the P4 if there is an offer and queues all the messages till P4 is ready
 - It then sends a WAKEUP query message to confirm is P4 is ready to receive messages
 - Once confirm, it starts flushing the buffered messages
 - The existing API can still be used to override/set per peer_client callbacks: app_webrtc_set_data_channel_callbacks
 - Removed not-used-anymore dependencies from app_webrtc component
 - When DTLS_SRTP not enabled, kept a macro in common.h to keep build system happy
   - The macro is used in `Crypto.h` and gets includes from Includes.h
 - signaling_only:
   - Disabled unused options and enabled mbedtls asymmetric buf option
   - tidy-up code and fix log formats
   - Make sure it builds for ESP32-P4 as well
@vikramdattu vikramdattu marked this pull request as draft October 14, 2025 13:44
 - Made app_webrtc_set_log_level effective and covered 0-8 level ranges
 - By default set this logging to info and can be modified with above API
 - Removed the layered APIs from WebRTCLogging.c

 - kvs_webrtc.h cleanup: Removed not-existant-anymore exposed APIs
 - Explicitly include ets_sys.h
 - Check for if enum is defined and undef before our own STATUS define to uint32_t
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants