We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ebb6da commit a5c28ecCopy full SHA for a5c28ec
esp_port/components/kvs_webrtc/include/app_webrtc.h
@@ -504,6 +504,17 @@ int webrtcAppSignalingMessageReceived(signaling_msg_t *signalingMessage);
504
*/
505
int webrtcAppRegisterSendMessageCallback(app_webrtc_send_msg_cb_t callback);
506
507
+/**
508
+ * @brief Create and send an offer as the initiator
509
+ *
510
+ * This function creates a WebRTC offer and sends it via the registered signaling callback.
511
+ * It's used when the local peer is the initiator in the session.
512
513
+ * @param pPeerId Peer ID to send the offer to
514
+ * @return STATUS code of the execution
515
+ */
516
+int webrtcAppCreateAndSendOffer(char *pPeerId);
517
+
518
#ifdef __cplusplus
519
}
520
#endif
0 commit comments