customvideoprofile.html 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  1. <!doctype html>
  2. <html class="default no-js">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <title>CustomVideoProfile | @urtc/sdk-web</title>
  7. <meta name="description" content="Documentation for @urtc/sdk-web">
  8. <meta name="viewport" content="width=device-width, initial-scale=1">
  9. <link rel="stylesheet" href="../assets/css/main.css">
  10. </head>
  11. <body>
  12. <header>
  13. <div class="tsd-page-toolbar">
  14. <div class="container">
  15. <div class="table-wrap">
  16. <div class="table-cell" id="tsd-search" data-index="../assets/js/search.json" data-base="..">
  17. <div class="field">
  18. <label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
  19. <input id="tsd-search-field" type="text" />
  20. </div>
  21. <ul class="results">
  22. <li class="state loading">Preparing search index...</li>
  23. <li class="state failure">The search index is not available</li>
  24. </ul>
  25. <a href="../index.html" class="title">@urtc/sdk-web</a>
  26. </div>
  27. <div class="table-cell" id="tsd-widgets">
  28. <div id="tsd-filter">
  29. <a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
  30. <div class="tsd-filter-group">
  31. <div class="tsd-select" id="tsd-filter-visibility">
  32. <span class="tsd-select-label">All</span>
  33. <ul class="tsd-select-list">
  34. <li data-value="public">Public</li>
  35. <li data-value="protected">Public/Protected</li>
  36. <li data-value="private" class="selected">All</li>
  37. </ul>
  38. </div>
  39. <input type="checkbox" id="tsd-filter-inherited" checked />
  40. <label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
  41. <input type="checkbox" id="tsd-filter-externals" checked />
  42. <label class="tsd-widget" for="tsd-filter-externals">Externals</label>
  43. </div>
  44. </div>
  45. <a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
  46. </div>
  47. </div>
  48. </div>
  49. </div>
  50. <div class="tsd-page-title">
  51. <div class="container">
  52. <ul class="tsd-breadcrumb">
  53. <li>
  54. <a href="../index.html">Globals</a>
  55. </li>
  56. <li>
  57. <a href="customvideoprofile.html">CustomVideoProfile</a>
  58. </li>
  59. </ul>
  60. <h1>Interface CustomVideoProfile</h1>
  61. </div>
  62. </div>
  63. </header>
  64. <div class="container container-main">
  65. <div class="row">
  66. <div class="col-8 col-content">
  67. <section class="tsd-panel tsd-comment">
  68. <div class="tsd-comment tsd-typography">
  69. <div class="lead">
  70. <p>自定义视频 Profile,请根据实际使用场景及网络环境,合理的设置</p>
  71. </div>
  72. <dl class="tsd-comment-tags">
  73. <dt>example</dt>
  74. <dd><pre><code class="language-js">{ <span class="hljs-attr">width</span>: <span class="hljs-number">640</span>, <span class="hljs-attr">height</span>: <span class="hljs-number">480</span>, <span class="hljs-attr">framerate</span>: <span class="hljs-number">15</span>, <span class="hljs-attr">bitrate</span>: <span class="hljs-number">500</span> }</code></pre>
  75. </dd>
  76. </dl>
  77. </div>
  78. </section>
  79. <section class="tsd-panel tsd-hierarchy">
  80. <h3>Hierarchy</h3>
  81. <ul class="tsd-hierarchy">
  82. <li>
  83. <span class="target">CustomVideoProfile</span>
  84. </li>
  85. </ul>
  86. </section>
  87. <section class="tsd-panel-group tsd-index-group">
  88. <h2>Index</h2>
  89. <section class="tsd-panel tsd-index-panel">
  90. <div class="tsd-index-content">
  91. <section class="tsd-index-section tsd-is-external">
  92. <h3>Properties</h3>
  93. <ul class="tsd-index-list">
  94. <li class="tsd-kind-property tsd-parent-kind-interface tsd-is-external"><a href="customvideoprofile.html#bitrate" class="tsd-kind-icon">bitrate</a></li>
  95. <li class="tsd-kind-property tsd-parent-kind-interface tsd-is-external"><a href="customvideoprofile.html#framerate" class="tsd-kind-icon">framerate</a></li>
  96. <li class="tsd-kind-property tsd-parent-kind-interface tsd-is-external"><a href="customvideoprofile.html#height" class="tsd-kind-icon">height</a></li>
  97. <li class="tsd-kind-property tsd-parent-kind-interface tsd-is-external"><a href="customvideoprofile.html#width" class="tsd-kind-icon">width</a></li>
  98. </ul>
  99. </section>
  100. </div>
  101. </section>
  102. </section>
  103. <section class="tsd-panel-group tsd-member-group tsd-is-external">
  104. <h2>Properties</h2>
  105. <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-external">
  106. <a name="bitrate" class="tsd-anchor"></a>
  107. <h3>bitrate</h3>
  108. <div class="tsd-signature tsd-kind-icon">bitrate<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
  109. <aside class="tsd-sources">
  110. </aside>
  111. <div class="tsd-comment tsd-typography">
  112. <div class="lead">
  113. <p>码率 (kbps),如:500</p>
  114. </div>
  115. </div>
  116. </section>
  117. <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-external">
  118. <a name="framerate" class="tsd-anchor"></a>
  119. <h3>framerate</h3>
  120. <div class="tsd-signature tsd-kind-icon">framerate<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
  121. <aside class="tsd-sources">
  122. </aside>
  123. <div class="tsd-comment tsd-typography">
  124. <div class="lead">
  125. <p>帧率 (fps),如:15</p>
  126. </div>
  127. </div>
  128. </section>
  129. <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-external">
  130. <a name="height" class="tsd-anchor"></a>
  131. <h3>height</h3>
  132. <div class="tsd-signature tsd-kind-icon">height<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
  133. <aside class="tsd-sources">
  134. </aside>
  135. <div class="tsd-comment tsd-typography">
  136. <div class="lead">
  137. <p>视频高,如:480</p>
  138. </div>
  139. </div>
  140. </section>
  141. <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-external">
  142. <a name="width" class="tsd-anchor"></a>
  143. <h3>width</h3>
  144. <div class="tsd-signature tsd-kind-icon">width<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
  145. <aside class="tsd-sources">
  146. </aside>
  147. <div class="tsd-comment tsd-typography">
  148. <div class="lead">
  149. <p>视频宽,如:640</p>
  150. </div>
  151. </div>
  152. </section>
  153. </section>
  154. </div>
  155. <div class="col-4 col-menu menu-sticky-wrap menu-highlight">
  156. <nav class="tsd-navigation primary">
  157. <ul>
  158. <li class="globals ">
  159. <a href="../index.html"><em>Globals</em></a>
  160. </li>
  161. </ul>
  162. </nav>
  163. <nav class="tsd-navigation secondary menu-sticky">
  164. <ul class="before-current">
  165. </ul>
  166. <ul class="current">
  167. <li class="current tsd-kind-interface tsd-is-external">
  168. <a href="customvideoprofile.html" class="tsd-kind-icon">Custom<wbr>Video<wbr>Profile</a>
  169. <ul>
  170. <li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-external">
  171. <a href="customvideoprofile.html#bitrate" class="tsd-kind-icon">bitrate</a>
  172. </li>
  173. <li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-external">
  174. <a href="customvideoprofile.html#framerate" class="tsd-kind-icon">framerate</a>
  175. </li>
  176. <li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-external">
  177. <a href="customvideoprofile.html#height" class="tsd-kind-icon">height</a>
  178. </li>
  179. <li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-external">
  180. <a href="customvideoprofile.html#width" class="tsd-kind-icon">width</a>
  181. </li>
  182. </ul>
  183. </li>
  184. </ul>
  185. <ul class="after-current">
  186. </ul>
  187. </nav>
  188. </div>
  189. </div>
  190. </div>
  191. <footer class="with-border-bottom">
  192. <div class="container">
  193. <h2>Legend</h2>
  194. <div class="tsd-legend-group">
  195. </div>
  196. </div>
  197. </footer>
  198. <div class="container tsd-generator">
  199. <p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p>
  200. </div>
  201. <div class="overlay"></div>
  202. <script src="../assets/js/main.js"></script>
  203. </body>
  204. </html>