webrtc: Add missing error codes to the description 07/254907/2
authorSangchul Lee <sc11.lee@samsung.com>
Wed, 10 Mar 2021 09:49:42 +0000 (18:49 +0900)
committerSangchul Lee <sc11.lee@samsung.com>
Thu, 11 Mar 2021 02:59:36 +0000 (11:59 +0900)
Missing error codes are added to the description of callback prototypes below.
 : webrtc_error_cb()
 : webrtc_data_channel_error_cb()

[Version] 0.1.124
[Issue Type] Doxygen

Change-Id: I0ca78260580a14ad1ed84e1ab477bdf8b92eeff3
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
include/webrtc.h
packaging/capi-media-webrtc.spec

index 167c79dbb90855ca2a535a4d121c3966eeddbc42..f1435efe837734ee0954140ea20f26994b5a6d48 100644 (file)
@@ -156,8 +156,10 @@ typedef enum
  * @brief Called when an error occurs.
  * @details The following error codes can be received:\n
  *          #WEBRTC_ERROR_INVALID_OPERATION\n
+ *          #WEBRTC_ERROR_CONNECTION_FAILED\n
  *          #WEBRTC_ERROR_STREAM_FAILED\n
  *          #WEBRTC_ERROR_RESOURCE_FAILED\n
+ *          #WEBRTC_ERROR_RESOURCE_CONFLICT
  * @since_tizen 6.5
  * @remarks The @a webrtc is the same object for which the callback was set.\nThe @a webrtc should not be released.
  * @param[in] webrtc     WebRTC handle
@@ -303,6 +305,10 @@ typedef void (*webrtc_data_channel_message_cb)(webrtc_data_channel_h channel, we
 
 /**
  * @brief Called when an error occurs on the data channel.
+ * @details The following error codes can be received:\n
+ *          #WEBRTC_ERROR_INVALID_OPERATION\n
+ *          #WEBRTC_ERROR_STREAM_FAILED\n
+ *          #WEBRTC_ERROR_RESOURCE_FAILED
  * @since_tizen 6.5
  * @remarks The @a channel is the same object for which the callback was set.\nThe @a channel should not be released.
  * @param[in] channel    WebRTC data channel handle
index 007f7ad846b14631f1d1f9e59251c444725ba4d3..8647d3a40df354311c2a796fe44552285f8de916 100644 (file)
@@ -1,6 +1,6 @@
 Name:       capi-media-webrtc
 Summary:    A WebRTC library in Tizen Native API
-Version:    0.1.123
+Version:    0.1.124
 Release:    0
 Group:      Multimedia/API
 License:    Apache-2.0