All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.byteplus.model.live.v20200801.GeneratePlayURLBody Maven / Gradle / Ivy

There is a newer version: 1.1.23
Show newest version
package com.byteplus.model.live.v20200801;


import com.alibaba.fastjson.JSON;

/**
 * GeneratePlayURLBody
 */
@lombok.Data
public final class GeneratePlayURLBody  {

    /**
     * 

域名空间名称

*/ @com.alibaba.fastjson.annotation.JSONField(name = "Vhost") private String vhost; /** *

拉流域名

*/ @com.alibaba.fastjson.annotation.JSONField(name = "Domain") private String domain; /** *

应用名称,默认为所有应用名称,由 1 到 30 位数字、字母、下划线及"-"和"."组成。

*/ @com.alibaba.fastjson.annotation.JSONField(name = "App") private String app; /** *

流名称

*/ @com.alibaba.fastjson.annotation.JSONField(name = "Stream") private String stream; /** *

转码流后缀,不传默认为空,可通过调用 [ListVhostTransCodePreset](https://www.volcengine.com/docs/6469/108549) 接口查询。

*/ @com.alibaba.fastjson.annotation.JSONField(name = "Suffix") private String suffix; /** *

CDN 类型,默认值为 fcdn,支持如下取值。

* *

- fcdn:火山引擎流媒体直播 CDN;

* *

- 3rd:第三方 CDN。

*/ @com.alibaba.fastjson.annotation.JSONField(name = "Type") private String type; /** *

有效时长,拉流地址的有效时间,过期后需要重新生成。单位为秒,取值 ﹥0,缺省情况下表示 7 天。

* *

:::tip

* *

如果同时设置 `ValidDuration` 和 `ExpiredTime`,以 `ExpiredTime` 的时间为准。

* *

:::

*/ @com.alibaba.fastjson.annotation.JSONField(name = "ValidDuration") private Integer validDuration; /** *

过期时间,拉流地址的有效时间,过期后需要重新生成。RFC3339 格式的 UTC 时间,精度为秒,缺省情况下表示 7 天。

* *

:::tip

* *

如果同时设置 `ValidDuration` 和 `ExpiredTime`,以 `ExpiredTime` 的时间为准。

* *

:::

*/ @com.alibaba.fastjson.annotation.JSONField(name = "ExpiredTime") private String expiredTime; @Override public String toString() { return JSON.toJSONString(this); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy