[WebRTC] Add new MediaFileSource APIs (#3917)
authorHaesu Gwon <haesu.gwon@samsung.com>
Mon, 7 Feb 2022 01:48:46 +0000 (10:48 +0900)
committerGitHub <noreply@github.com>
Mon, 7 Feb 2022 01:48:46 +0000 (10:48 +0900)
src/Tizen.Multimedia.Remoting/WebRTC/MediaFileSource.cs

index 10933f9..9698754 100755 (executable)
  */
 
 using System;
-using System.ComponentModel;
 using System.Diagnostics;
 using NativeWebRTC = Interop.NativeWebRTC;
 
 namespace Tizen.Multimedia.Remoting
 {
     /// <summary>
-    /// Represents a file source.
+    /// Represents a media source with contents read from a file.
     /// </summary>
     /// <remarks>
-    /// The media storage privilege(http://tizen.org/privilege/mediastorage) is required.<br/>
-    /// The external storage privilege(http://tizen.org/privilege/externalstorage) is required.
+    /// Depending on where the source file is located either the media storage privilege (http://tizen.org/privilege/mediastorage) is required or<br/>
+    /// the external storage privilege(http://tizen.org/privilege/externalstorage) is required.
     /// </remarks>
     /// <seealso cref="WebRTC.AddSource"/>
     /// <seealso cref="WebRTC.AddSources"/>
-    /// <since_tizen> 9 </since_tizen>
-    [EditorBrowsable(EditorBrowsableState.Never)]
+    /// <since_tizen> 10 </since_tizen>
     public sealed class MediaFileSource : MediaSource
     {
         private string _path;
@@ -42,8 +40,7 @@ namespace Tizen.Multimedia.Remoting
         /// <param name="type">The <see cref="MediaType"/> of file source.</param>
         /// <param name="path">The file path.</param>
         /// <exception cref="ArgumentNullException"><paramref name="path"/> is null.</exception>
-        /// <since_tizen> 9 </since_tizen>
-        [EditorBrowsable(EditorBrowsableState.Never)]
+        /// <since_tizen> 10 </since_tizen>
         public MediaFileSource(MediaType type, string path) : base(type)
         {
             _path = path ?? throw new ArgumentNullException(nameof(path), "path is null");