Skip to content

Commit f92710e

Browse files
committed
【doc】优化API
1 parent 55bf793 commit f92710e

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/common/iServer/VideoFeature.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ import { Util } from '../commontypes/Util';
66
/**
77
* @class VideoFeature
88
* @category iServer Data
9-
* @classdesc 视频要素类
9+
* @classdesc 视频要素类,用于表示视频流及其空间范围等相关属性的要素。
1010
* @version 11.2.0
1111
* @param {Object} options - 参数。
1212
* @param {ModulePolygonAndBounds} options.geometry - 视频参数对应的视频视角空间范围,只支持矩形。
13-
* @param {string|number} [options.id] - 要素 ID
13+
* @param {string|number} [options.id] - 要素ID
1414
* @param {string} [options.name] - 视频名称。
15-
* @param {string} [options.address] - 视频流地址。
16-
* @param {string} [options.attributes] - 描述要素的任意的可序列化属性
15+
* @param {string} [options.address] - 视频流地址。目前支持m3u8格式视频流。
16+
* @param {string} [options.attributes] - 要素属性信息
1717
* @usage
1818
*/
1919
export class VideoFeature {
@@ -44,7 +44,7 @@ export class VideoFeature {
4444

4545
/**
4646
* @member {Object} VideoFeature.prototype.attributes
47-
* @description 描述要素的任意的可序列化属性。
47+
* @description 要素属性信息
4848
*/
4949
this.attributes = {};
5050
// ToDo

0 commit comments

Comments
 (0)