From ca823fdde7335a35edc2cfca802cf99bce2c3ef1 Mon Sep 17 00:00:00 2001 From: Sangchul Lee Date: Fri, 25 Mar 2022 15:23:34 +0900 Subject: [PATCH] webrtc_doc: Add callback operation description of the data channel module [Version] 0.3.76 [Issue Type] Documentation Change-Id: I8d82b12c99c5830fc214236dc646caa2be790a2a Signed-off-by: Sangchul Lee --- doc/webrtc_doc.h | 47 ++++++++++++++++++++++++++++++++ packaging/capi-media-webrtc.spec | 2 +- 2 files changed, 48 insertions(+), 1 deletion(-) diff --git a/doc/webrtc_doc.h b/doc/webrtc_doc.h index 16a8daf1..60f080b5 100644 --- a/doc/webrtc_doc.h +++ b/doc/webrtc_doc.h @@ -235,6 +235,53 @@ * - send/receive bytes or string data to/from the data channel * - get notified various states of the data channel * + * @subsection CAPI_MEDIA_WEBRTC_DATA_CHANNEL_CALLBACK_OPERATIONS Callback(Event) Operations + * The callback mechanism is used to notify the application about significant webrtc data channel events. + *
+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
REGISTERUNREGISTERCALLBACKDESCRIPTION
webrtc_set_data_channel_cb()webrtc_unset_data_channel_cb()webrtc_data_channel_cb()This callback is used to notify that a data channel is created to the connection by the remote peer
webrtc_data_channel_set_open_cb()webrtc_data_channel_unset_open_cb()webrtc_data_channel_open_cb()This callback is used to notify that the data channel is opened
webrtc_data_channel_set_message_cb()webrtc_data_channel_unset_message_cb()webrtc_data_channel_message_cb()This callback is used to notify that a message is received from the data channel
webrtc_data_channel_set_error_cb()webrtc_data_channel_unset_error_cb()webrtc_data_channel_error_cb()This callback is used to notify that an error occurs from the data channel
webrtc_data_channel_set_close_cb()webrtc_data_channel_unset_close_cb()webrtc_data_channel_close_cb()This callback is used to notify that the data channel is closed
webrtc_data_channel_set_buffered_amount_low_cb()webrtc_data_channel_unset_buffered_amount_low_cb()webrtc_data_channel_buffered_amount_low_cb()This callback is used to notify that the number of bytes of data currently queued to be sent over the data channel falls below the threshold
+ * */ /** diff --git a/packaging/capi-media-webrtc.spec b/packaging/capi-media-webrtc.spec index 1826b4da..f2726013 100644 --- a/packaging/capi-media-webrtc.spec +++ b/packaging/capi-media-webrtc.spec @@ -1,6 +1,6 @@ Name: capi-media-webrtc Summary: A WebRTC library in Tizen Native API -Version: 0.3.75 +Version: 0.3.76 Release: 0 Group: Multimedia/API License: Apache-2.0 -- 2.34.1