[WebRTC] Fix documentation bugs (#4606)
authorHaesu Gwon <haesu.gwon@samsung.com>
Wed, 28 Sep 2022 00:06:08 +0000 (09:06 +0900)
committerGitHub <noreply@github.com>
Wed, 28 Sep 2022 00:06:08 +0000 (09:06 +0900)
* [WebRTC] Fix documentation bugs

src/Tizen.Multimedia.Remoting/WebRTC/MediaFileSource.cs
src/Tizen.Multimedia.Remoting/WebRTC/MediaNullSource.cs
src/Tizen.Multimedia.Remoting/WebRTC/MediaSource.cs

index 24c52ff..4592109 100755 (executable)
@@ -84,6 +84,7 @@ namespace Tizen.Multimedia.Remoting
         /// <summary>
         /// Gets the transceiver direction for receiving media stream.
         /// </summary>
+        /// <remarks>The default value is <see cref="TransceiverDirection.SendRecv"/></remarks>
         /// <param name="type">The media type.</param>
         /// <returns>The transceiver direction.</returns>
         /// <exception cref="InvalidOperationException">MediaSource is not attached yet.</exception>
@@ -133,6 +134,7 @@ namespace Tizen.Multimedia.Remoting
         /// <summary>
         /// Gets the pause status of media file source.
         /// </summary>
+        /// <remarks>The default value is false.</remarks>
         /// <param name="type">The media type.</param>
         /// <returns>The pause status.</returns>
         /// <exception cref="InvalidOperationException">MediaSource is not attached yet.</exception>
index 9100998..c685439 100755 (executable)
@@ -95,7 +95,6 @@ namespace Tizen.Multimedia.Remoting
         /// </summary>
         /// <param name="type">The media type.</param>
         /// <returns>The supported transceiver codecs.</returns>
-        /// <exception cref="InvalidOperationException">This MediaSource is not supported type of MediaSource.</exception>
         /// <exception cref="ObjectDisposedException">The WebRTC has already been disposed.</exception>
         /// <since_tizen> 10 </since_tizen>
         public ReadOnlyCollection<TransceiverCodec> GetSupportedTransceiverCodecs(MediaType type)
index 15042c1..a4a2306 100755 (executable)
@@ -82,9 +82,10 @@ namespace Tizen.Multimedia.Remoting
         /// Gets or sets the transceiver direction of current media source.
         /// </summary>
         /// <remarks>
+        /// The default value is <see cref="TransceiverDirection.SendRecv"/> except <see cref="MediaNullSource"/>.<br/>
         /// If user want to set each audio, video direction in <see cref="MediaFileSource"/>,
         /// please use <see cref="MediaFileSource.SetTransceiverDirection"/>. (Since API level 10)<br/>
-        /// In <see cref="MediaNullSource"/>, only <see cref="TransceiverDirection.SendRecv"/> can be set.(Since API level 10)
+        /// In <see cref="MediaNullSource"/>, only <see cref="TransceiverDirection.RecvOnly"/> can be set.(Since API level 10)
         /// </remarks>
         /// <value>A <see cref="TransceiverDirection"/> that specifies the transceiver direction.</value>
         /// <exception cref="InvalidOperationException">